Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 9b 1a 40 00 ?? push 0x00401a9b
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 24 ?? sub esp, 0x24<36>
   56 ?? push esi
   a1 00 30 40 00 ?? mov eax, dword ds:[0x00403000]
   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 2f 01 00 00 ?? call function 0x0040115c
  
  L2: 83 c4 04 ?? add esp, 4
   89 45 d8 ?? mov dword ss:[ebp + 0xd8<216,-40>], eax
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   83 7d d8 00 ?? cmp dword ss:[ebp + 0xd8<216,-40>], 0
   74 0d ?? je basic block L5
  
  L3: 8b 4d d8 ?? mov ecx, dword ss:[ebp + 0xd8<216,-40>]
   e8 a8 00 00 00 ?? call function 0x004010f0
  
  L4: 89 45 d0 ?? mov dword ss:[ebp + 0xd0<208,-48>], eax
   eb 07 ?? jmp basic block L6
  
  L5: c7 45 d0 00 00 00 00 ?? mov dword ss:[ebp + 0xd0<208,-48>], 0
  
  L6: 8b 45 d0 ?? mov eax, dword ss:[ebp + 0xd0<208,-48>]
   89 45 dc ?? mov dword ss:[ebp + 0xdc<220,-36>], eax
   c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   8b 4d dc ?? mov ecx, dword ss:[ebp + 0xdc<220,-36>]
   89 4d f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], ecx
   8b 55 f0 ?? mov edx, dword ss:[ebp + 0xf0<240,-16>]
   c7 42 0c 04 00 00 00 ?? mov dword ds:[edx + 12], 4
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 a7 00 00 00 ?? call function 0x00401120
  
  L7: 8b f0 ?? mov esi, eax
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 bd 00 00 00 ?? call function 0x00401140
  
  L8: 03 f0 ?? add esi, eax
   8b 45 f0 ?? mov eax, dword ss:[ebp + 0xf0<240,-16>]
   03 70 0c ?? add esi, dword ds:[eax + 12]
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   89 71 0c ?? mov dword ds:[ecx + 12], esi
   8b 55 f0 ?? mov edx, dword ss:[ebp + 0xf0<240,-16>]
   89 55 d4 ?? mov dword ss:[ebp + 0xd4<212,-44>], edx
   8b 45 d4 ?? mov eax, dword ss:[ebp + 0xd4<212,-44>]
   50 ?? push eax
   e8 b6 00 00 00 ?? call function 0x00401156
  
  L9: 83 c4 04 ?? add esp, 4
   c7 45 f0 00 00 00 00 ?? mov dword ss:[ebp + 0xf0<240,-16>], 0
   8d 4d e0 ?? lea ecx, ss:[ebp + 0xe0<224,-32>]
   e8 3e 00 00 00 ?? call function 0x004010f0
  
  L10: c7 45 ec 0a 00 00 00 ?? mov dword ss:[ebp + 0xec<236,-20>], 10
   8d 4d e0 ?? lea ecx, ss:[ebp + 0xe0<224,-32>]
   e8 5f 00 00 00 ?? call function 0x00401120
  
  L11: 8b f0 ?? mov esi, eax
   8d 4d e0 ?? lea ecx, ss:[ebp + 0xe0<224,-32>]
   e8 75 00 00 00 ?? call function 0x00401140
  
  L12: 2b f0 ?? sub esi, eax
   8b 4d ec ?? mov ecx, dword ss:[ebp + 0xec<236,-20>]
   2b ce ?? sub ecx, esi
   89 4d ec ?? mov dword ss:[ebp + 0xec<236,-20>], ecx
   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
  
  