Function at 0x5a49e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov eax, dword [0x124bc50]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x124bc64]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [0x124bc94]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
and eax, 0x8000003f
jns 0x5a4a64
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x5a4a76
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x5a4aa1
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x124bc50]
and ecx, 3
je 0x5a4ad0
mov edx, 4
sub edx, dword [0x124bc50]
and edx, 3
add edx, dword [0x124bc50]
mov dword [0x124bc50], edx
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, dword [0x1267cbc]
cmp dword [ecx + eax], 0
je 0x5a4b22
mov edx, dword [ebp - 0x10]
shl edx, 4
mov eax, dword [0x1267cbc]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x24], ecx
jmp 0x5a4afe
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5a4b10
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], 0xffffffff
jmp 0x5a4af5
mov edx, dword [ebp - 0x10]
shl edx, 4
mov eax, dword [0x1267cbc]
mov dword [eax + edx], 0
mov ecx, 1
test ecx, ecx
je 0x5a4e29
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [0x62f950]
sub eax, 2
cmp dword [edx + 0x124bcb0], eax
jae 0x5a4dc9
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
cmp dword [ecx + 0x124bcac], 0xffffffff
je 0x5a4bb7
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 - 0x44], 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 0x5a4ba5
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x5a4bb7
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], 0xffffffff
jmp 0x5a4b9c
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, dword [0x1267cbc]
cmp dword [ecx + eax], 0
jne 0x5a4c2c
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
add edx, 0x124bca8
mov eax, dword [ebp - 0x10]
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
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x22]
mov word [eax + 0x124bcc0], dx
jmp 0x5a4c3f
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
add eax, 0x124bca8
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x124bcac], eax
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov dx, word [ebp - 0x38]
mov word [ecx + 0x124bcb4], dx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov ecx, dword [0x124bc94]
imul ecx, ecx, 0x1c
mov word [ecx + 0x124bcb6], ax
mov edx, dword [ebp - 0x14]
sub edx, 0x40
cmp dword [ebp - 0x38], edx
jl 0x5a4cab
cmp dword [ebp - 0x3c], 0
je 0x5a4cab
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x124bca8]
push ecx
call fcn.0046d4e0
add esp, 4
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
jmp 0x5a4cb2
mov dword [ebp - 0x1c], 0x40
mov eax, dword [ebp - 0x18]
sub eax, 0x30
test eax, eax
jg 0x5a4cea
cmp dword [ebp - 0x28], 0
je 0x5a4cea
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x3c]
je 0x5a4ce2
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 - 0x28]
mov dword [ebp - 0x30], ecx
jmp 0x5a4cf1
mov dword [ebp - 0x30], 0x30
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x22]
test eax, eax
je 0x5a4d42
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x21]
and edx, 4
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x22]
push eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [0x124bc94]
imul edx, edx, 0x1c
mov eax, dword [edx + 0x124bca8]
push eax
call fcn.00469930
add esp, 0x20
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x2c]
jl 0x5a4d93
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
mov dword [eax + 0x124bcb8], 0
mov ecx, dword [0x124bc94]
add ecx, 1
mov dword [0x124bc94], ecx
mov edx, dword [0x124bc94]
cmp edx, dword [0x1267cac]
jl 0x5a4d8c
mov dword [0x124bc94], 0
jmp 0x5a4e29
mov eax, dword [0x124bc94]
imul eax, eax, 0x1c
add eax, 0x124bca8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x40
cmp dword [ebp - 0x38], ecx
jl 0x5a4dc0
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
sub edx, 0x30
mov dword [ebp - 0x18], edx
jmp 0x5a4dc9
mov eax, dword [ebp - 0x38]
add eax, 0x40
mov dword [ebp - 0x38], eax
mov ecx, dword [0x124bc94]
add ecx, 1
mov dword [0x124bc94], ecx
mov edx, dword [0x124bc94]
cmp edx, dword [0x1267cac]
jl 0x5a4df0
mov dword [0x124bc94], 0
mov eax, dword [0x124bc94]
cmp eax, dword [ebp - 0x40]
jne 0x5a4e24
mov ecx, dword [0x124bc94]
push ecx
push 0x5f7b38
lea edx, [ebp - 0x148]
push edx
call fcn.005cc4f5
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x5a4e29
jmp 0x5a4b22
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret