Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a fe ?? push 0xfe<254,-2>
   68 50 75 40 00 ?? push 0x00407550
   68 59 2b 40 00 ?? push function 0x00402b59
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 08 ?? sub esp, 8
   53 ?? push ebx
   56 ?? push esi
   57 ?? push edi
   a1 60 80 40 00 ?? mov eax, dword ds:[0x00408060]
   31 45 f8 ?? xor dword ss:[ebp + 0xf8<248,-8>], eax
   33 c5 ?? xor eax, ebp
   50 ?? push eax
   8d 45 f0 ?? lea eax, ss:[ebp + 0xf0<240,-16>]
   64 a3 00 00 00 00 ?? mov dword fs:[0], eax
   89 65 e8 ?? mov dword ss:[ebp + 0xe8<232,-24>], esp
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   68 00 00 40 00 ?? push 0x00400000
   e8 2a ff ff ff ?? call function 0x004029a0
  
  L2: 83 c4 04 ?? add esp, 4
   85 c0 ?? test eax, eax
   74 54 ?? je basic block L8
  
  L3: 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   2d 00 00 40 00 ?? sub eax, 0x00400000
   50 ?? push eax
   68 00 00 40 00 ?? push 0x00400000
   e8 50 ff ff ff ?? call function 0x004029e0
  
  L4: 83 c4 08 ?? add esp, 8
   85 c0 ?? test eax, eax
   74 3a ?? je basic block L8
  
  L5: 8b 40 24 ?? mov eax, dword ds:[eax + 0x24<36>]
   c1 e8 1f ?? shr eax, 0x1f<31>
   f7 d0 ?? not eax
   83 e0 01 ?? and eax, 1
   c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  L6: 8b 45 ec ?? mov eax, dword ss:[ebp + 0xec<236,-20>]
   8b 08 ?? mov ecx, dword ds:[eax]
   33 d2 ?? xor edx, edx
   81 39 05 00 00 c0 ?? cmp dword ds:[ecx], 0xc0000005
   0f 94 c2 ?? sete dl
   8b c2 ?? mov eax, edx
   c3 ?? ret
  
  L7: 8b 65 e8 ?? mov esp, dword ss:[ebp + 0xe8<232,-24>]
  
  L8: c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
   33 c0 ?? xor eax, eax
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  