Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 08 ?? sub esp, 8
   89 4d f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], ecx
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   e8 48 ed ff ff ?? call function 0x004011a9
  
  L2: 3b 45 0c ?? cmp eax, dword ss:[ebp + 12]
   73 05 ?? jae basic block L4
  
  L3: e8 2c 2f 00 00 ?? call function 0x00405397
  
  L4: 8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   e8 36 ed ff ff ?? call function 0x004011a9
  
  L5: 2b 45 0c ?? sub eax, dword ss:[ebp + 12]
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
   8b 45 10 ?? mov eax, dword ss:[ebp + 0x10<16>]
   3b 45 fc ?? cmp eax, dword ss:[ebp + 0xfc<252,-4>]
   73 06 ?? jae basic block L7
  
  L6: 8b 4d 10 ?? mov ecx, dword ss:[ebp + 0x10<16>]
   89 4d fc ?? mov dword ss:[ebp + 0xfc<252,-4>], ecx
  
  L7: 8b 55 f8 ?? mov edx, dword ss:[ebp + 0xf8<248,-8>]
   3b 55 08 ?? cmp edx, dword ss:[ebp + 8]
   75 25 ?? jne basic block L11
  
  L8: a1 90 f1 42 00 ?? mov eax, dword ds:[0x0042f190]
   50 ?? push eax
   8b 4d 0c ?? mov ecx, dword ss:[ebp + 12]
   03 4d fc ?? add ecx, dword ss:[ebp + 0xfc<252,-4>]
   51 ?? push ecx
   8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   e8 1f ec ff ff ?? call function 0x004010c3
  
  L9: 8b 55 0c ?? mov edx, dword ss:[ebp + 12]
   52 ?? push edx
   6a 00 ?? push 0
   8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   e8 11 ec ff ff ?? call function 0x004010c3
  
  L10: eb 49 ?? jmp basic block L17
  
  L11: 6a 00 ?? push 0
   8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   50 ?? push eax
   8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   e8 56 ec ff ff ?? call function 0x00401118
  
  L12: 0f b6 c8 ?? movzx ecx, al
   85 c9 ?? test ecx, ecx
   74 34 ?? je basic block L17
  
  L13: 8b 55 fc ?? mov edx, dword ss:[ebp + 0xfc<252,-4>]
   52 ?? push edx
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   e8 de ec ff ff ?? call function 0x004011b3
  
  L14: 03 45 0c ?? add eax, dword ss:[ebp + 12]
   50 ?? push eax
   8b 45 f8 ?? mov eax, dword ss:[ebp + 0xf8<248,-8>]
   8b 48 18 ?? mov ecx, dword ds:[eax + 0x18<24>]
   51 ?? push ecx
   8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   e8 59 eb ff ff ?? call function 0x00401041
  
  L15: 50 ?? push eax
   e8 0b ed ff ff ?? call function 0x004011f9
  
  L16: 83 c4 10 ?? add esp, 0x10<16>
   8b 55 fc ?? mov edx, dword ss:[ebp + 0xfc<252,-4>]
   52 ?? push edx
   8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   e8 84 ec ff ff ?? call function 0x00401181
  
  L17: 8b 45 f8 ?? mov eax, dword ss:[ebp + 0xf8<248,-8>]
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 0c 00 ?? ret 12
  
  