Function at 0x5a52e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0x44], eax
mov eax, dword [0x124bc50]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x124bc64]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [0x124bc94]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0x8000003f
jns 0x5a535c
dec ecx
or ecx, 0xffffffc0
inc ecx
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
je 0x5a536e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x5a5399
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x124bc50]
and ecx, 3
je 0x5a53c8
mov edx, 4
sub edx, dword [0x124bc50]
and edx, 3
add edx, dword [0x124bc50]
mov dword [0x124bc50], edx
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1267cbc]
cmp dword [ecx + eax], 0
je 0x5a541a
mov edx, dword [ebp + 8]
shl edx, 4
mov eax, dword [0x1267cbc]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x20], ecx
jmp 0x5a53f6
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5a5408
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0xffffffff
jmp 0x5a53ed
mov edx, dword [ebp + 8]
shl edx, 4
mov eax, dword [0x1267cbc]
mov dword [eax + edx], 0
mov ecx, 1
test ecx, ecx
je 0x5a56ff
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [0x62f950]
sub eax, 2
cmp dword [edx + 0x124bcb0], eax
jae 0x5a569f
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
cmp dword [ecx + 0x124bcac], 0xffffffff
je 0x5a54af
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [edx + 0x124bcac]
shl eax, 4
mov ecx, dword [0x1267cbc]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x40], edx
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x124bcac]
shl ecx, 4
mov edx, dword [0x1267cbc]
mov dword [edx + ecx], 0
jmp 0x5a549d
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x5a54af
mov edx, dword [ebp - 0x40]
mov dword [edx + 4], 0xffffffff
jmp 0x5a5494
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1267cbc]
cmp dword [ecx + eax], 0
jne 0x5a551f
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
add edx, 0x124bca8
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1267cbc]
mov dword [ecx + eax], edx
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov ax, word [0x6b9ed0]
mov word [edx + 0x124bcbc], ax
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov dx, word [0x6b9edc]
mov word [ecx + 0x124bcbe], dx
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
xor ecx, ecx
mov word [eax + 0x124bcc0], cx
jmp 0x5a5534
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
add edx, 0x124bca8
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 8]
mov dword [ecx + 0x124bcac], edx
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov cx, word [ebp - 0x34]
mov word [eax + 0x124bcb4], cx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov word [eax + 0x124bcb6], dx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x40
cmp dword [ebp - 0x34], ecx
jl 0x5a559f
cmp dword [ebp - 0x38], 0
je 0x5a559f
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [edx + 0x124bca8]
push eax
call fcn.0046d4e0
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
jmp 0x5a55a6
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x14]
sub edx, 0x30
test edx, edx
jg 0x5a55de
cmp dword [ebp - 0x24], 0
je 0x5a55de
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
je 0x5a55d6
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x124bca8]
push edx
call fcn.0046d4e0
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x5a55e5
mov dword [ebp - 0x2c], 0x30
mov ecx, dword [0x124bc60]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x124bca8]
push ecx
call fcn.0046d680
add esp, 0x18
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jl 0x5a5667
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov dword [ecx + 0x124bcb8], 0
mov edx, dword [0x124bc94]
add edx, 1
mov dword [0x124bc94], edx
mov eax, dword [0x124bc94]
cmp eax, dword [0x1267cac]
jl 0x5a5660
mov dword [0x124bc94], 0
jmp 0x5a56ff
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
add ecx, 0x124bca8
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x40
cmp dword [ebp - 0x34], edx
jl 0x5a5696
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
sub eax, 0x30
mov dword [ebp - 0x14], eax
jmp 0x5a569f
mov ecx, dword [ebp - 0x34]
add ecx, 0x40
mov dword [ebp - 0x34], ecx
mov edx, dword [0x124bc94]
add edx, 1
mov dword [0x124bc94], edx
mov eax, dword [0x124bc94]
cmp eax, dword [0x1267cac]
jl 0x5a56c5
mov dword [0x124bc94], 0
mov ecx, dword [0x124bc94]
cmp ecx, dword [ebp - 0x3c]
jne 0x5a56fa
mov edx, dword [0x124bc94]
push edx
push 0x5f7b50
lea eax, [ebp - 0x148]
push eax
call fcn.005cc4f5
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x5a56ff
jmp 0x5a541a
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret