Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 c1 8e 40 00 ?? push 0x00408ec1
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 10 ?? sub esp, 0x10<16>
   b8 cc cc cc cc ?? mov eax, 0xcccccccc
   89 45 e4 ?? mov dword ss:[ebp + 0xe4<228,-28>], eax
   89 45 e8 ?? mov dword ss:[ebp + 0xe8<232,-24>], eax
   89 45 ec ?? mov dword ss:[ebp + 0xec<236,-20>], eax
   89 45 f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], eax
   a1 00 f0 40 00 ?? mov eax, dword ds:[0x0040f000]
   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
   89 4d f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], ecx
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   50 ?? push eax
   6a 04 ?? push 4
   e8 7a e3 ff ff ?? call function 0x0040101e
  
  L2: 83 c4 08 ?? add esp, 8
   89 45 e8 ?? mov dword ss:[ebp + 0xe8<232,-24>], eax
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   83 7d e8 00 ?? cmp dword ss:[ebp + 0xe8<232,-24>], 0
   74 1b ?? je basic block L5
  
  L3: 8b 4d 0c ?? mov ecx, dword ss:[ebp + 12]
   51 ?? push ecx
   e8 21 e4 ff ff ?? call function 0x004010e1
  
  L4: 83 c4 04 ?? add esp, 4
   8b 55 e8 ?? mov edx, dword ss:[ebp + 0xe8<232,-24>]
   8b 00 ?? mov eax, dword ds:[eax]
   89 02 ?? mov dword ds:[edx], eax
   8b 4d e8 ?? mov ecx, dword ss:[ebp + 0xe8<232,-24>]
   89 4d e4 ?? mov dword ss:[ebp + 0xe4<228,-28>], ecx
   eb 07 ?? jmp basic block L6
  
  L5: c7 45 e4 00 00 00 00 ?? mov dword ss:[ebp + 0xe4<228,-28>], 0
  
  L6: 8b 55 e4 ?? mov edx, dword ss:[ebp + 0xe4<228,-28>]
   89 55 ec ?? mov dword ss:[ebp + 0xec<236,-20>], edx
   c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   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
   83 c4 1c ?? add esp, 0x1c<28>
   3b ec ?? cmp ebp, esp
   e8 a5 28 00 00 ?? call function 0x004055a0
  
  L7: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 08 00 ?? ret 8
  
  