Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   51 ?? push ecx
   53 ?? push ebx
   fc ?? cld
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   8b 48 08 ?? mov ecx, dword ds:[eax + 8]
   33 4d 0c ?? xor ecx, dword ss:[ebp + 12]
   e8 03 02 00 00 ?? call function 0x00409b4c
  
  L2: 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   8b 40 04 ?? mov eax, dword ds:[eax + 4]
   83 e0 66 ?? and eax, 0x66<102>
   74 11 ?? je basic block L5
  
  L3: 8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   c7 40 24 01 00 00 00 ?? mov dword ds:[eax + 0x24<36>], 1
   33 c0 ?? xor eax, eax
   40 ?? inc eax
   eb 6c ?? jmp basic block L11
  
  L4: eb 6a ?? jmp basic block L11
  
  L5: 6a 01 ?? push 1
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   ff 70 18 ?? push dword ds:[eax + 0x18<24>]
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   ff 70 14 ?? push dword ds:[eax + 0x14<20>]
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   ff 70 0c ?? push dword ds:[eax + 12]
   6a 00 ?? push 0
   ff 75 10 ?? push dword ss:[ebp + 0x10<16>]
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   ff 70 10 ?? push dword ds:[eax + 0x10<16>]
   ff 75 08 ?? push dword ss:[ebp + 8]
   e8 de 31 00 00 ?? call function 0x0040cb6a
  
  L6: 83 c4 20 ?? add esp, 0x20<32>
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   83 78 24 00 ?? cmp dword ds:[eax + 0x24<36>], 0
   75 0b ?? jne basic block L8
  
  L7: ff 75 08 ?? push dword ss:[ebp + 8]
   ff 75 0c ?? push dword ss:[ebp + 12]
   e8 71 fd ff ff ?? call function 0x00409714
  
  L8: 6a 00 ?? push 0
   6a 00 ?? push 0
   6a 00 ?? push 0
   6a 00 ?? push 0
   6a 00 ?? push 0
   8d 45 fc ?? lea eax, ss:[ebp + 0xfc<252,-4>]
   50 ?? push eax
   68 23 01 00 00 ?? push 0x00000123<291>
   e8 a1 fe ff ff ?? call function 0x0040985c
  
  L9: 83 c4 1c ?? add esp, 0x1c<28>
   8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   8b 5d 0c ?? mov ebx, dword ss:[ebp + 12]
   8b 63 1c ?? mov esp, dword ds:[ebx + 0x1c<28>]
   8b 6b 20 ?? mov ebp, dword ds:[ebx + 0x20<32>]
   ff e0 ?? jmp eax
  
  L10: 33 c0 ?? xor eax, eax
   40 ?? inc eax
  
  L11: 5b ?? pop ebx
   c9 ?? leave
   c3 ?? ret
  
  