Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 10 ?? sub esp, 0x10<16>
   56 ?? push esi
   b8 cc cc cc cc ?? mov eax, 0xcccccccc
   89 45 f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], eax
   89 45 f4 ?? mov dword ss:[ebp + 0xf4<244,-12>], eax
   89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
   89 4d fc ?? mov dword ss:[ebp + 0xfc<252,-4>], ecx
   c7 45 f4 00 00 00 00 ?? mov dword ss:[ebp + 0xf4<244,-12>], 0
   8b f4 ?? mov esi, esp
   8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   50 ?? push eax
   ff 15 84 60 40 00 ?? call dword ds:[0x00406084]
  
  L2: 83 c4 04 ?? add esp, 4
   3b f4 ?? cmp esi, esp
   e8 78 2f 00 00 ?? call function 0x00404700
  
  L3: 89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   83 7d f8 00 ?? cmp dword ss:[ebp + 0xf8<248,-8>], 0
   74 08 ?? je basic block L5
  
  L4: 8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   89 4d f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], ecx
   eb 07 ?? jmp basic block L6
  
  L5: c7 45 f0 04 65 40 00 ?? mov dword ss:[ebp + 0xf0<240,-16>], 0x00406504<"unknown error">
  
  L6: 8b 55 f0 ?? mov edx, dword ss:[ebp + 0xf0<240,-16>]
   52 ?? push edx
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   e8 04 03 00 00 ?? call function 0x00401ab0
  
  L7: 8b 45 f4 ?? mov eax, dword ss:[ebp + 0xf4<244,-12>]
   83 c8 01 ?? or eax, 1
   89 45 f4 ?? mov dword ss:[ebp + 0xf4<244,-12>], eax
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   5e ?? pop esi
   83 c4 10 ?? add esp, 0x10<16>
   3b ec ?? cmp ebp, esp
   e8 3d 2f 00 00 ?? call function 0x00404700
  
  L8: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 08 00 ?? ret 8
  
  