Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   51 ?? push ecx
   83 3d 30 96 40 00 00 ?? cmp dword ds:[0x00409630], 0
   74 09 ?? je basic block L3
  
  L2: 83 3d 20 96 40 00 00 ?? cmp dword ds:[0x00409620], 0
   75 36 ?? jne basic block L8
  
  L3: 83 3d 30 96 40 00 00 ?? cmp dword ds:[0x00409630], 0
   75 09 ?? jne basic block L5
  
  L4: 83 3d 20 96 40 00 00 ?? cmp dword ds:[0x00409620], 0
   74 24 ?? je basic block L8
  
  L5: 68 20 70 40 00 ?? push 0x00407020<"(__onexitbegin != NULL &&"+71 more>
   68 08 69 40 00 ?? push 0x00406908<"%s">
   6a 00 ?? push 0
   6a 45 ?? push 0x45<69>
   68 e8 70 40 00 ?? push 0x004070e8<"f:\\dd\\vctools\\crt\\crtw32\\"+19 more>
   6a 02 ?? push 2
   ff 15 f8 a0 40 00 ?? call dword ds:[0x0040a0f8]
  
  L6: 83 c4 18 ?? add esp, 0x18<24>
   83 f8 01 ?? cmp eax, 1
   75 01 ?? jne basic block L8
  
  L7: cc ?? int3
  
  L8: 83 3d 30 96 40 00 00 ?? cmp dword ds:[0x00409630], 0
   74 04 ?? je basic block L10
  
  L9: 33 c0 ?? xor eax, eax
   eb 4c ?? jmp basic block L15
  
  L10: 6a 4d ?? push 0x4d<77>
   68 44 71 40 00 ?? push 0x00407144<"f:\\dd\\vctools\\crt\\crtw32\\"+19 more>
   6a 02 ?? push 2
   6a 04 ?? push 4
   6a 20 ?? push 0x20<32>
   ff 15 b0 a0 40 00 ?? call dword ds:[0x0040a0b0]
  
  L11: 83 c4 14 ?? add esp, 0x14<20>
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
   8b 4d fc ?? mov ecx, dword ss:[ebp + 0xfc<252,-4>]
   51 ?? push ecx
   ff 15 4c a0 40 00 ?? call dword ds:[0x0040a04c]
  
  L12: a3 30 96 40 00 ?? mov dword ds:[0x00409630], eax
   8b 15 30 96 40 00 ?? mov edx, dword ds:[0x00409630]
   89 15 20 96 40 00 ?? mov dword ds:[0x00409620], edx
   83 7d fc 00 ?? cmp dword ss:[ebp + 0xfc<252,-4>], 0
   75 07 ?? jne basic block L14
  
  L13: b8 18 00 00 00 ?? mov eax, 0x00000018<24>
   eb 0b ?? jmp basic block L15
  
  L14: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   c7 00 00 00 00 00 ?? mov dword ds:[eax], 0
   33 c0 ?? xor eax, eax
  
  L15: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  