Function at 0x4822c6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0x40]
push ecx
mov edx, dword [ebp + 0x50]
push edx
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, dword [ebp + 0x48]
push ecx
mov edx, dword [ebp + 0x44]
push edx
mov eax, dword [ebp + 0x3c]
push eax
mov ecx, dword [ebp + 0x38]
push ecx
mov edx, dword [ebp + 0x34]
push edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00466379
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x48234c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jge 0x482368
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00482786
jmp 0x482343
mov eax, 1
test eax, eax
je 0x48237a
mov dword [ebp - 0x14], 0
jmp 0x482389
mov ecx, dword [ebp + 0x54]
push ecx
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
add edx, 0x3dd94
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x3dd90
push eax
mov ecx, dword [ebp + 0x54]
push ecx
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00467115
test eax, eax
jne 0x4823cb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dd90], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3dd94], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x3dd9c
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x3dd98
push edx
mov eax, dword [ebp + 0x58]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00467115
test eax, eax
jne 0x48240e
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3dd98], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dd9c], 0xffffffff
push 9
push 2
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48243f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3dda0], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3dda4], 0xffffffff
jmp 0x482482
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x3daf4]
imul ecx, ecx, 0x4d4
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0xc5a0], 3
jb 0x482482
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx*4 + 0x3daf4]
mov dword [eax + 0x3dda0], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dda4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3dda0], 0xffffffff
jne 0x482512
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3dda4], 0xffffffff
jne 0x482512
push 9
push 5
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4824cf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dda0], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3dda4], 0xffffffff
jmp 0x482512
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x3dbf0]
imul eax, eax, 0x4d4
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x1ed80], 3
jb 0x482512
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4 + 0x3dbf0]
mov dword [edx + 0x3dda0], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3dda4], 2
push 7
push 2
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x482543
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3dda8], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3ddac], 0xffffffff
jmp 0x482586
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x3daf4]
imul eax, eax, 0x4d4
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0xc5a0], 3
jb 0x482586
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4 + 0x3daf4]
mov dword [edx + 0x3dda8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3ddac], 2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3dda8], 0xffffffff
jne 0x482616
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3ddac], 0xffffffff
jne 0x482616
push 7
push 3
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4825d3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3dda8], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3ddac], 0xffffffff
jmp 0x482616
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 0x3db48]
imul edx, edx, 0x4d4
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x12840], 3
jb 0x482616
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x3db48]
mov dword [ecx + 0x3dda8], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3ddac], 2
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3ddb0], 0xffffffff
jne 0x4826a6
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3ddb4], 0xffffffff
jne 0x4826a6
push 9
push 4
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x482663
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3ddb0], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3ddb4], 0xffffffff
jmp 0x4826a6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x3db9c]
imul ecx, ecx, 0x4d4
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x18ae0], 3
jb 0x4826a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx*4 + 0x3db9c]
mov dword [eax + 0x3ddb0], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3ddb4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3ddb8], 0xffffffff
jne 0x48274f
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3ddbc], 0xffffffff
jne 0x48274f
push 9
push 9
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4826ea
push 7
push 9
mov ecx, dword [ebp - 0x10]
call fcn.00482a30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48270c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3ddb8], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3ddbc], 0xffffffff
jmp 0x48274f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x3dd40]
imul eax, eax, 0x4d4
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x37800], 3
jb 0x48274f
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4 + 0x3dd40]
mov dword [edx + 0x3ddb8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3ddbc], 2
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x5c