Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 6b 01 42 00 ?? push 0x0042016b
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   83 ec 10 ?? sub esp, 0x10<16>
   a1 3c 80 42 00 ?? mov eax, dword ds:[0x0042803c]
   33 c5 ?? xor eax, ebp
   50 ?? push eax
   8d 45 f4 ?? lea eax, ss:[ebp + 0xf4<244,-12>]
   64 a3 00 00 00 00 ?? mov dword fs:[0], eax
   89 4d e8 ?? mov dword ss:[ebp + 0xe8<232,-24>], ecx
   8b 4d e8 ?? mov ecx, dword ss:[ebp + 0xe8<232,-24>]
   83 c1 04 ?? add ecx, 4
   e8 17 fe ff ff ?? call function 0x0040100a
  
  L2: e8 07 07 00 00 ?? call function 0x004018ff
  
  L3: 99 ?? cdq
   b9 0a 00 00 00 ?? mov ecx, 10
   f7 f9 ?? idiv ecx
   85 d2 ?? test edx, edx
   74 44 ?? je basic block L10
  
  L4: 6a 08 ?? push 8
   e8 ef 01 00 00 ?? call function 0x004013fa
  
  L5: 83 c4 04 ?? add esp, 4
   89 45 ec ?? mov dword ss:[ebp + 0xec<236,-20>], eax
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   83 7d ec 00 ?? cmp dword ss:[ebp + 0xec<236,-20>], 0
   74 0d ?? je basic block L8
  
  L6: 8b 4d ec ?? mov ecx, dword ss:[ebp + 0xec<236,-20>]
   e8 e4 fd ff ff ?? call function 0x0040100a
  
  L7: 89 45 e4 ?? mov dword ss:[ebp + 0xe4<228,-28>], eax
   eb 07 ?? jmp basic block L9
  
  L8: c7 45 e4 00 00 00 00 ?? mov dword ss:[ebp + 0xe4<228,-28>], 0
  
  L9: 8b 55 e4 ?? mov edx, dword ss:[ebp + 0xe4<228,-28>]
   89 55 f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], edx
   c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
   8b 45 e8 ?? mov eax, dword ss:[ebp + 0xe8<232,-24>]
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   89 48 0c ?? mov dword ds:[eax + 12], ecx
  
  L10: 8b 4d e8 ?? mov ecx, dword ss:[ebp + 0xe8<232,-24>]
   83 c1 04 ?? add ecx, 4
   e8 d5 fd ff ff ?? call function 0x00401028
  
  L11: 8b 55 e8 ?? mov edx, dword ss:[ebp + 0xe8<232,-24>]
   89 02 ?? mov dword ds:[edx], eax
   8b 45 e8 ?? mov eax, dword ss:[ebp + 0xe8<232,-24>]
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  