Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 12 3f 40 00 ?? push 0x00403f12
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 10 ?? sub esp, 0x10<16>
   56 ?? push esi
   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 18 70 40 00 ?? mov eax, dword ds:[0x00407018]
   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
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   8b 45 f0 ?? mov eax, dword ss:[ebp + 0xf0<240,-16>]
   83 c0 1c ?? add eax, 0x1c<28>
   50 ?? push eax
   8d 4d eb ?? lea ecx, ss:[ebp + 0xeb<235,-21>]
   e8 30 02 00 00 ?? call function 0x004017e0
  
  L2: 8b f4 ?? mov esi, esp
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   ff 15 7c 50 40 00 ?? call dword ds:[function 0x0040507c]
  
  L3: 3b f4 ?? cmp esi, esp
   e8 5e 1a 00 00 ?? call function 0x00403020
  
  L4: 8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   8b 11 ?? mov edx, dword ds:[ecx]
   52 ?? push edx
   8d 45 eb ?? lea eax, ss:[ebp + 0xeb<235,-21>]
   50 ?? push eax
   e8 5f 02 00 00 ?? call function 0x00401830
  
  L5: 83 c4 08 ?? add esp, 8
   6a 01 ?? push 1
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   8b 11 ?? mov edx, dword ds:[ecx]
   52 ?? push edx
   8d 4d eb ?? lea ecx, ss:[ebp + 0xeb<235,-21>]
   e8 8c 01 00 00 ?? call function 0x00401770
  
  L6: 8b 45 f0 ?? mov eax, dword ss:[ebp + 0xf0<240,-16>]
   c7 00 00 00 00 00 ?? mov dword ds:[eax], 0
   c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   8b f4 ?? mov esi, esp
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   ff 15 74 50 40 00 ?? call dword ds:[function 0x00405074]
  
  L7: 3b f4 ?? cmp esi, esp
   e8 1a 1a 00 00 ?? call function 0x00403020
  
  L8: 52 ?? push edx
   8b cd ?? mov ecx, ebp
   50 ?? push eax
   8d 15 34 16 40 00 ?? lea edx, ds:[0x00401634]
   e8 3b 1a 00 00 ?? call function 0x00403050
  
  L9: 58 ?? pop eax
   5a ?? pop edx
   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
   83 c4 1c ?? add esp, 0x1c<28>
   3b ec ?? cmp ebp, esp
   e8 f3 19 00 00 ?? call function 0x00403020
  
  L10: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  