Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   81 ec 20 03 00 00 ?? sub esp, 0x00000320<800>
   6a 17 ?? push 0x17<23>
   e8 3c 02 00 00 ?? call function 0x004027f6
  
  L2: 85 c0 ?? test eax, eax
   74 05 ?? je basic block L4
  
  L3: 8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   cd 29 ?? int 0x29<41>
  
  L4: a3 60 64 40 00 ?? mov dword ds:[0x00406460], eax
   89 0d 5c 64 40 00 ?? mov dword ds:[0x0040645c], ecx
   89 15 58 64 40 00 ?? mov dword ds:[0x00406458], edx
   89 1d 54 64 40 00 ?? mov dword ds:[0x00406454], ebx
   89 35 50 64 40 00 ?? mov dword ds:[0x00406450], esi
   89 3d 4c 64 40 00 ?? mov dword ds:[0x0040644c], edi
   66 8c 15 78 64 40 00 ?? mov word ds:[0x00406478], ss
   66 8c 0d 6c 64 40 00 ?? mov word ds:[0x0040646c], cs
   66 8c 1d 48 64 40 00 ?? mov word ds:[0x00406448], ds
   66 8c 05 44 64 40 00 ?? mov word ds:[0x00406444], es
   66 8c 25 40 64 40 00 ?? mov word ds:[0x00406440], fs
   66 8c 2d 3c 64 40 00 ?? mov word ds:[0x0040643c], gs
   9c ?? pushfd
   8f 05 70 64 40 00 ?? pop dword ds:[0x00406470]
   8b 45 00 ?? mov eax, dword ss:[ebp + 0]
   a3 64 64 40 00 ?? mov dword ds:[0x00406464], eax
   8b 45 04 ?? mov eax, dword ss:[ebp + 4]
   a3 68 64 40 00 ?? mov dword ds:[0x00406468], eax
   8d 45 08 ?? lea eax, ss:[ebp + 8]
   a3 74 64 40 00 ?? mov dword ds:[0x00406474], eax
   8b 85 e0 fc ff ff ?? mov eax, dword ss:[ebp + 0xfffffce0<4294966496,-800>]
   a1 68 64 40 00 ?? mov eax, dword ds:[0x00406468]
   a3 6c 63 40 00 ?? mov dword ds:[0x0040636c], eax
   c7 05 60 63 40 00 09 04 ?? mov dword ds:[0x00406360], 0xc0000409
   00 c0
   c7 05 64 63 40 00 01 00 ?? mov dword ds:[0x00406364], 1
   00 00
   83 7d 0c 00 ?? cmp dword ss:[ebp + 12], 0
   76 0a ?? jbe basic block L7
  
  L5: 83 7d 10 00 ?? cmp dword ss:[ebp + 0x10<16>], 0
   75 04 ?? jne basic block L7
  
  L6: 83 65 0c 00 ?? and dword ss:[ebp + 12], 0
  
  L7: 83 7d 0c 0e ?? cmp dword ss:[ebp + 12], 14
   76 07 ?? jbe basic block L9
  
  L8: 8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   48 ?? dec eax
   89 45 0c ?? mov dword ss:[ebp + 12], eax
  
  L9: 8b 45 0c ?? mov eax, dword ss:[ebp + 12]
   40 ?? inc eax
   a3 70 63 40 00 ?? mov dword ds:[0x00406370], eax
   6a 04 ?? push 4
   58 ?? pop eax
   6b c0 00 ?? imul eax, eax, 0
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   89 88 74 63 40 00 ?? mov dword ds:[eax + 0x00406374], ecx
   83 65 fc 00 ?? and dword ss:[ebp + 0xfc<252,-4>], 0
   eb 07 ?? jmp basic block L10
  
  L10: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   3b 45 0c ?? cmp eax, dword ss:[ebp + 12]
   73 15 ?? jae basic block L12
  
  L11: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   8b 4d fc ?? mov ecx, dword ss:[ebp + 0xfc<252,-4>]
   8b 55 10 ?? mov edx, dword ss:[ebp + 0x10<16>]
   8b 0c 8a ?? mov ecx, dword ds:[edx + ecx * 4]
   89 0c 85 78 63 40 00 ?? mov dword ds:[0x00406378 + eax * 4], ecx
   eb dc ?? jmp 0x0040268e
   8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   40 ?? inc eax
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
  
  L12: 68 9c 4b 40 00 ?? push 0x00404b9c<"`c@">
   e8 34 ea ff ff ?? call function 0x004010f0
  
  L13: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  