Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a fe ?? push 0xfe<254,-2>
   68 00 70 40 00 ?? push 0x00407000
   68 50 29 40 00 ?? push function 0x00402950
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 c4 e4 ?? add esp, 0xe4<228,-28>
   53 ?? push ebx
   56 ?? push esi
   57 ?? push edi
   a1 a4 80 40 00 ?? mov eax, dword ds:[0x004080a4]
   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
   83 3d 54 85 40 00 00 ?? cmp dword ds:[0x00408554], 0
   75 0e ?? jne basic block L3
  
  L2: 6a 00 ?? push 0
   6a 00 ?? push 0
   6a 01 ?? push 1
   6a 00 ?? push 0
   ff 15 fc 91 40 00 ?? call dword ds:[0x004091fc]
  
  L3: c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   c7 45 dc 00 00 00 00 ?? mov dword ss:[ebp + 0xdc<220,-36>], 0
   e8 01 02 00 00 ?? call function 0x00401970
  
  L4: 8b 40 04 ?? mov eax, dword ds:[eax + 4]
   89 45 e0 ?? mov dword ss:[ebp + 0xe0<224,-32>], eax
   c7 45 e4 00 00 00 00 ?? mov dword ss:[ebp + 0xe4<228,-28>], 0
  
  L5: 6a 00 ?? push 0
   8b 4d e0 ?? mov ecx, dword ss:[ebp + 0xe0<224,-32>]
   51 ?? push ecx
   68 3c 85 40 00 ?? push 0x0040853c
   ff 15 00 92 40 00 ?? call dword ds:[0x00409200]
  
  L6: 89 45 dc ?? mov dword ss:[ebp + 0xdc<220,-36>], eax
   83 7d dc 00 ?? cmp dword ss:[ebp + 0xdc<220,-36>], 0
   74 1e ?? je basic block L11
  
  L7: 8b 55 dc ?? mov edx, dword ss:[ebp + 0xdc<220,-36>]
   3b 55 e0 ?? cmp edx, dword ss:[ebp + 0xe0<224,-32>]
   75 09 ?? jne basic block L9
  
  L8: c7 45 e4 01 00 00 00 ?? mov dword ss:[ebp + 0xe4<228,-28>], 1
   eb 0d ?? jmp basic block L11
  
  L9: 68 e8 03 00 00 ?? push 0x000003e8<1000>
   ff 15 04 92 40 00 ?? call dword ds:[0x00409204]
  
  L10: eb c8 ?? jmp basic block L5
  
  L11: 83 3d 2c 85 40 00 01 ?? cmp dword ds:[0x0040852c], 1
   75 0c ?? jne basic block L14
  
  L12: 6a 1f ?? push 0x1f<31>
   e8 6e 0e 00 00 ?? call function 0x00402632
  
  L13: 83 c4 04 ?? add esp, 4
   eb 4b ?? jmp basic block L20
  
  L14: 83 3d 2c 85 40 00 00 ?? cmp dword ds:[0x0040852c], 0
   75 38 ?? jne basic block L19
  
  L15: c7 05 2c 85 40 00 01 00 ?? mov dword ds:[0x0040852c], 1
   00 00
   68 18 56 40 00 ?? push 0x00405618
   68 0c 53 40 00 ?? push 0x0040530c
   e8 53 11 00 00 ?? call function 0x0040293e
  
  L16: 83 c4 08 ?? add esp, 8
   85 c0 ?? test eax, eax
   74 16 ?? je basic block L18
  
  L17: c7 45 d4 ff 00 00 00 ?? mov dword ss:[ebp + 0xd4<212,-44>], 0x000000ff<255>
   c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
   8b 45 d4 ?? mov eax, dword ss:[ebp + 0xd4<212,-44>]
   e9 53 01 00 00 ?? jmp basic block L48
  
  L18: eb 0a ?? jmp basic block L20
  
  L19: c7 05 e0 81 40 00 01 00 ?? mov dword ds:[0x004081e0], 1
   00 00
  
  L20: 83 3d 2c 85 40 00 01 ?? cmp dword ds:[0x0040852c], 1
   75 1c ?? jne basic block L23
  
  L21: 68 08 52 40 00 ?? push 0x00405208
   68 00 50 40 00 ?? push 0x00405000
   e8 0c 11 00 00 ?? call function 0x00402938
  
  L22: 83 c4 08 ?? add esp, 8
   c7 05 2c 85 40 00 02 00 ?? mov dword ds:[0x0040852c], 2
   00 00
  
  L23: 83 3d 2c 85 40 00 02 ?? cmp dword ds:[0x0040852c], 2
   74 22 ?? je basic block L27
  
  L24: 68 08 58 40 00 ?? push 0x00405808<"__native_startup_state =="+14 more>
   6a 00 ?? push 0
   68 dc 01 00 00 ?? push 0x000001dc<476>
   68 a8 57 40 00 ?? push 0x004057a8<"f:\\dd\\vctools\\crt_bld\\sel"+22 more>
   6a 02 ?? push 2
   ff 15 7c 92 40 00 ?? call dword ds:[0x0040927c]
  
  L25: 83 c4 14 ?? add esp, 0x14<20>
   83 f8 01 ?? cmp eax, 1
   75 01 ?? jne basic block L27
  
  L26: cc ?? int3
  
  L27: 83 7d e4 00 ?? cmp dword ss:[ebp + 0xe4<228,-28>], 0
   75 0d ?? jne basic block L29
  
  L28: 6a 00 ?? push 0
   68 3c 85 40 00 ?? push 0x0040853c
   ff 15 08 92 40 00 ?? call dword ds:[0x00409208]
  
  L29: 83 3d 58 85 40 00 00 ?? cmp dword ds:[0x00408558], 0
   74 1d ?? je basic block L33
  
  L30: 68 58 85 40 00 ?? push 0x00408558
   e8 96 0f 00 00 ?? call function 0x00402820
  
  L31: 83 c4 04 ?? add esp, 4
   85 c0 ?? test eax, eax
   74 0c ?? je basic block L33
  
  L32: 6a 00 ?? push 0
   6a 02 ?? push 2
   6a 00 ?? push 0
   ff 15 58 85 40 00 ?? call dword ds:[0x00408558]
  
  L33: 6a 01 ?? push 1
   ff 15 80 92 40 00 ?? call dword ds:[0x00409280]
  
  L34: 83 c4 04 ?? add esp, 4
   8b 0d 84 92 40 00 ?? mov ecx, dword ds:[0x00409284]
   8b 15 c8 81 40 00 ?? mov edx, dword ds:[0x004081c8]
   89 11 ?? mov dword ds:[ecx], edx
   a1 c8 81 40 00 ?? mov eax, dword ds:[0x004081c8]
   50 ?? push eax
   8b 0d cc 81 40 00 ?? mov ecx, dword ds:[0x004081cc]
   51 ?? push ecx
   8b 15 c4 81 40 00 ?? mov edx, dword ds:[0x004081c4]
   52 ?? push edx
   e8 54 f7 ff ff ?? call function 0x00401023
  
  L35: 83 c4 0c ?? add esp, 12
   a3 dc 81 40 00 ?? mov dword ds:[0x004081dc], eax
   83 3d d0 81 40 00 00 ?? cmp dword ds:[0x004081d0], 0
   75 0c ?? jne basic block L37
  
  L36: a1 dc 81 40 00 ?? mov eax, dword ds:[0x004081dc]
   50 ?? push eax
   ff 15 88 92 40 00 ?? call dword ds:[0x00409288]
  
  L37: 83 3d e0 81 40 00 00 ?? cmp dword ds:[0x004081e0], 0
   75 06 ?? jne basic block L39
  
  L38: ff 15 8c 92 40 00 ?? call dword ds:[0x0040928c]
  
  L39: c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
   eb 52 ?? jmp basic block L47
  
  L40: 8b 4d ec ?? mov ecx, dword ss:[ebp + 0xec<236,-20>]
   8b 11 ?? mov edx, dword ds:[ecx]
   8b 02 ?? mov eax, dword ds:[edx]
   89 45 d8 ?? mov dword ss:[ebp + 0xd8<216,-40>], eax
   8b 4d ec ?? mov ecx, dword ss:[ebp + 0xec<236,-20>]
   51 ?? push ecx
   8b 55 d8 ?? mov edx, dword ss:[ebp + 0xd8<216,-40>]
   52 ?? push edx
   e8 0b 0e 00 00 ?? call function 0x00402726
  
  L41: 83 c4 08 ?? add esp, 8
   c3 ?? ret
  
  L42: 8b 65 e8 ?? mov esp, dword ss:[ebp + 0xe8<232,-24>]
   8b 45 d8 ?? mov eax, dword ss:[ebp + 0xd8<216,-40>]
   a3 dc 81 40 00 ?? mov dword ds:[0x004081dc], eax
   83 3d d0 81 40 00 00 ?? cmp dword ds:[0x004081d0], 0
   75 0d ?? jne basic block L44
  
  L43: 8b 0d dc 81 40 00 ?? mov ecx, dword ds:[0x004081dc]
   51 ?? push ecx
   ff 15 94 92 40 00 ?? call dword ds:[0x00409294]
  
  L44: 83 3d e0 81 40 00 00 ?? cmp dword ds:[0x004081e0], 0
   75 06 ?? jne basic block L46
  
  L45: ff 15 8c 92 40 00 ?? call dword ds:[0x0040928c]
  
  L46: c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
  
  L47: a1 dc 81 40 00 ?? mov eax, dword ds:[0x004081dc]
  
  L48: 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
  
  