
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 63 0d 00 00 ?? call function 0x00402844

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 f0 51 40 00 ?? mov dword ds:[0x004051f0], eax
 89 0d ec 51 40 00 ?? mov dword ds:[0x004051ec], ecx
 89 15 e8 51 40 00 ?? mov dword ds:[0x004051e8], edx
 89 1d e4 51 40 00 ?? mov dword ds:[0x004051e4], ebx
 89 35 e0 51 40 00 ?? mov dword ds:[0x004051e0], esi
 89 3d dc 51 40 00 ?? mov dword ds:[0x004051dc], edi
 66 8c 15 08 52 40 00 ?? mov word ds:[0x00405208], ss
 66 8c 0d fc 51 40 00 ?? mov word ds:[0x004051fc], cs
 66 8c 1d d8 51 40 00 ?? mov word ds:[0x004051d8], ds
 66 8c 05 d4 51 40 00 ?? mov word ds:[0x004051d4], es
 66 8c 25 d0 51 40 00 ?? mov word ds:[0x004051d0], fs
 66 8c 2d cc 51 40 00 ?? mov word ds:[0x004051cc], gs
 9c ?? pushfd
 8f 05 00 52 40 00 ?? pop dword ds:[0x00405200]
 8b 45 00 ?? mov eax, dword ss:[ebp + 0]
 a3 f4 51 40 00 ?? mov dword ds:[0x004051f4], eax
 8b 45 04 ?? mov eax, dword ss:[ebp + 4]
 a3 f8 51 40 00 ?? mov dword ds:[0x004051f8], eax
 8d 45 08 ?? lea eax, ss:[ebp + 8]
 a3 04 52 40 00 ?? mov dword ds:[0x00405204], eax
 8b 85 e0 fc ff ff ?? mov eax, dword ss:[ebp + 0xfffffce0<4294966496,-800>]
 a1 f8 51 40 00 ?? mov eax, dword ds:[0x004051f8]
 a3 fc 50 40 00 ?? mov dword ds:[0x004050fc], eax
 c7 05 f0 50 40 00 09 04 ?? mov dword ds:[0x004050f0], 0xc0000409
 00 c0
 c7 05 f4 50 40 00 01 00 ?? mov dword ds:[0x004050f4], 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 00 51 40 00 ?? mov dword ds:[0x00405100], 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 04 51 40 00 ?? mov dword ds:[eax + 0x00405104], 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 08 51 40 00 ?? mov dword ds:[0x00405108 + eax * 4], ecx
 eb dc ?? jmp 0x00401bb5
 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 78 31 40 00 ?? push 0x00403178
 e8 ef fc ff ff ?? call function 0x004018d2

L13: 8b e5 ?? mov esp, ebp
 5d ?? pop ebp
 c3 ?? ret

