Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 c5 61 40 00 ?? push 0x004061c5
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 28 ?? sub esp, 0x28<40>
   57 ?? push edi
   51 ?? push ecx
   8d 7d cc ?? lea edi, ss:[ebp + 0xcc<204,-52>]
   b9 0a 00 00 00 ?? mov ecx, 10
   b8 cc cc cc cc ?? mov eax, 0xcccccccc
   f3 ab ?? rep_stosd
   59 ?? pop ecx
   a1 04 a0 40 00 ?? mov eax, dword ds:[0x0040a004]
   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
   0f b6 45 cf ?? movzx eax, byte ss:[ebp + 0xcf<207,-49>]
   50 ?? push eax
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 b9 0c 00 00 ?? call function 0x00402560
  
  L2: c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 fa 03 00 00 ?? call function 0x00401cb0
  
  L3: 50 ?? push eax
   8d 4d e7 ?? lea ecx, ss:[ebp + 0xe7<231,-25>]
   e8 91 0c 00 00 ?? call function 0x00402550
  
  L4: 8d 4d e7 ?? lea ecx, ss:[ebp + 0xe7<231,-25>]
   89 4d ec ?? mov dword ss:[ebp + 0xec<236,-20>], ecx
   8b 55 f0 ?? mov edx, dword ss:[ebp + 0xf0<240,-16>]
   52 ?? push edx
   8b 45 ec ?? mov eax, dword ss:[ebp + 0xec<236,-20>]
   50 ?? push eax
   8d 4d d4 ?? lea ecx, ss:[ebp + 0xd4<212,-44>]
   e8 3b 01 00 00 ?? call function 0x00401a10
  
  L5: c6 45 fc 01 ?? mov byte ss:[ebp + 0xfc<252,-4>], 1
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 df 04 00 00 ?? call function 0x00401dc0
  
  L6: 8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   51 ?? push ecx
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   e8 63 05 00 00 ?? call function 0x00401e50
  
  L7: 8d 4d d4 ?? lea ecx, ss:[ebp + 0xd4<212,-44>]
   e8 4b fd ff ff ?? call function 0x00401640
  
  L8: c6 45 fc 00 ?? mov byte ss:[ebp + 0xfc<252,-4>], 0
   8d 4d d4 ?? lea ecx, ss:[ebp + 0xd4<212,-44>]
   e8 cf 00 00 00 ?? call function 0x004019d0
  
  L9: c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   8b 45 f0 ?? mov eax, dword ss:[ebp + 0xf0<240,-16>]
   52 ?? push edx
   8b cd ?? mov ecx, ebp
   50 ?? push eax
   8d 15 38 19 40 00 ?? lea edx, ds:[0x00401938]
   e8 b6 37 00 00 ?? call function 0x004050d0
  
  L10: 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
   5f ?? pop edi
   83 c4 34 ?? add esp, 0x34<52>
   3b ec ?? cmp ebp, esp
   e8 fe 37 00 00 ?? call function 0x00405130
  
  L11: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  