Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 7b 2d 40 00 ?? push 0x00402d7b
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   51 ?? push ecx
   56 ?? push esi
   a1 00 60 40 00 ?? mov eax, dword ds:[0x00406000]
   33 c5 ?? xor eax, ebp
   50 ?? push eax
   8d 45 f4 ?? lea eax, ss:[ebp + 0xf4<244,-12>]
   64 a3 00 00 00 00 ?? mov dword fs:[0], eax
   6a 10 ?? push 0x10<16>
   e8 73 00 00 00 ?? call function 0x0040122e
  
  L2: 83 c4 04 ?? add esp, 4
   89 45 f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], eax
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   85 c0 ?? test eax, eax
   74 0b ?? je basic block L5
  
  L3: 8b c8 ?? mov ecx, eax
   e8 50 fe ff ff ?? call function 0x00401023
  
  L4: 8b f0 ?? mov esi, eax
   eb 02 ?? jmp basic block L6
  
  L5: 33 f6 ?? xor esi, esi
  
  L6: c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   85 f6 ?? test esi, esi
   74 19 ?? je basic block L12
  
  L7: 8b 46 0c ?? mov eax, dword ds:[esi + 12]
   85 c0 ?? test eax, eax
   74 09 ?? je basic block L10
  
  L8: 50 ?? push eax
   e8 49 00 00 00 ?? call function 0x0040123a
  
  L9: 83 c4 04 ?? add esp, 4
  
  L10: 56 ?? push esi
   e8 40 00 00 00 ?? call function 0x0040123a
  
  L11: 83 c4 04 ?? add esp, 4
  
  L12: 33 c0 ?? xor eax, eax
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   5e ?? pop esi
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  