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 10 0e 00 00 ?? call function 0x0040316e
  
  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 18 84 40 00 ?? mov dword ds:[0x00408418], eax
   89 0d 14 84 40 00 ?? mov dword ds:[0x00408414], ecx
   89 15 10 84 40 00 ?? mov dword ds:[0x00408410], edx
   89 1d 0c 84 40 00 ?? mov dword ds:[0x0040840c], ebx
   89 35 08 84 40 00 ?? mov dword ds:[0x00408408], esi
   89 3d 04 84 40 00 ?? mov dword ds:[0x00408404], edi
   66 8c 15 30 84 40 00 ?? mov word ds:[0x00408430], ss
   66 8c 0d 24 84 40 00 ?? mov word ds:[0x00408424], cs
   66 8c 1d 00 84 40 00 ?? mov word ds:[0x00408400], ds
   66 8c 05 fc 83 40 00 ?? mov word ds:[0x004083fc], es
   66 8c 25 f8 83 40 00 ?? mov word ds:[0x004083f8], fs
   66 8c 2d f4 83 40 00 ?? mov word ds:[0x004083f4], gs
   9c ?? pushfd
   8f 05 28 84 40 00 ?? pop dword ds:[0x00408428]
   8b 45 00 ?? mov eax, dword ss:[ebp + 0]
   a3 1c 84 40 00 ?? mov dword ds:[0x0040841c], eax
   8b 45 04 ?? mov eax, dword ss:[ebp + 4]
   a3 20 84 40 00 ?? mov dword ds:[0x00408420], eax
   8d 45 08 ?? lea eax, ss:[ebp + 8]
   a3 2c 84 40 00 ?? mov dword ds:[0x0040842c], eax
   8b 85 e0 fc ff ff ?? mov eax, dword ss:[ebp + 0xfffffce0<4294966496,-800>]
   a1 20 84 40 00 ?? mov eax, dword ds:[0x00408420]
   a3 24 83 40 00 ?? mov dword ds:[0x00408324], eax
   c7 05 18 83 40 00 09 04 ?? mov dword ds:[0x00408318], 0xc0000409
   00 c0
   c7 05 1c 83 40 00 01 00 ?? mov dword ds:[0x0040831c], 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 28 83 40 00 ?? mov dword ds:[0x00408328], 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 2c 83 40 00 ?? mov dword ds:[eax + 0x0040832c], 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 30 83 40 00 ?? mov dword ds:[0x00408330 + eax * 4], ecx
   eb dc ?? jmp 0x00402432
   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 4c 6c 40 00 ?? push 0x00406c4c
   e8 d1 ec ff ff ?? call function 0x00401131
  
  L13: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  