Function at 0x471419
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x690
push esi
mov dword [ebp - 0x66c], 0x1000
mov eax, dword [ebp + 8]
mov dword [eax + 0x29bc], 5
push 0x5a8df8
mov ecx, dword [ebp + 8]
push ecx
call fcn.005031b7
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0xe
jl 0x471479
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x1c
jg 0x471479
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2f778], 0
je 0x471479
mov eax, 1
jmp 0x471a71
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3648], 0
jne 0x47149d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3650], 0
je 0x4714a7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2bac], 0
jne 0x4714a7
mov eax, 1
jmp 0x471a71
mov edx, dword [ebp + 8]
cmp dword [edx + 0x96c], 0
jne 0x4714bf
mov dword [ebp - 0x668], 0
jmp 0x4714c9
mov dword [ebp - 0x668], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x96c]
mov dword [ebp - 4], ecx
push 0
push 0x200
lea edx, [ebp - 0x604]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00469d70
add esp, 0x10
mov dword [ebp - 0x668], eax
cmp dword [ebp - 0x668], 0
je 0x471a61
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x279dc]
mov dword [ebp - 0x608], edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ffc25
add esp, 4
mov dword [ebp - 0x674], eax
cmp dword [ebp - 0x608], 0
jle 0x471a55
mov eax, dword [ebp - 0x674]
xor edx, edx
div dword [ebp - 0x608]
mov dword [ebp - 0x670], eax
mov ecx, dword [ebp - 0x608]
shl ecx, 2
shl ecx, 0xa
mov dword [ebp - 0x664], ecx
push 0x64
push 1
mov edx, dword [ebp - 0x664]
push edx
call fcn.00536ece
add esp, 0xc
mov dword [ebp - 0x650], eax
push 0x64
push 1
mov eax, dword [ebp - 0x664]
push eax
call fcn.00536ece
add esp, 0xc
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x664]
push ecx
push 0
mov edx, dword [ebp - 0x650]
push edx
call fcn.0054bfb0
add esp, 0xc
mov eax, dword [ebp - 0x664]
push eax
push 0
mov ecx, dword [ebp - 0x65c]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 0
call fcn.0054d539
add esp, 4
push eax
call fcn.0054d50a
add esp, 4
mov dword [ebp - 0x678], 0
jmp 0x4715e6
mov edx, dword [ebp - 0x678]
add edx, 1
mov dword [ebp - 0x678], edx
mov eax, dword [ebp - 0x678]
cmp eax, dword [ebp - 0x664]
jge 0x471617
call fcn.0054d517
and eax, 0x800000ff
jns 0x471607
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 0x650]
add ecx, dword [ebp - 0x678]
mov byte [ecx], al
jmp 0x4715d7
mov dword [ebp - 0x658], 0
jmp 0x471632
mov edx, dword [ebp - 0x658]
add edx, 1
mov dword [ebp - 0x658], edx
mov eax, dword [ebp - 0x658]
cmp eax, dword [ebp - 0x608]
jae 0x471748
mov ecx, dword [ebp - 0x608]
push ecx
mov edx, dword [ebp - 0x658]
add edx, 1
push edx
push 0x5a8e04
lea eax, [ebp - 0x64c]
push eax
call fcn.0054c45b
add esp, 0x10
lea ecx, [ebp - 0x64c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005031b7
add esp, 8
mov dword [ebp - 0x680], 0
jmp 0x471697
mov eax, dword [ebp - 0x680]
add eax, 1
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 1
jge 0x471738
mov ecx, dword [ebp - 0x658]
mov dword [ebp - 0x654], ecx
mov eax, dword [ebp - 0x670]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x658]
imul edx, dword [ebp - 0x670]
mov ecx, dword [ebp - 0x680]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x684], edx
mov edx, dword [ebp - 0x684]
add edx, dword [ebp - 0x66c]
cmp dword [ebp - 4], edx
jae 0x4716eb
jmp 0x471738
push 0
push 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x158]
push ecx
push 0x2a
mov edx, dword [ebp - 0x66c]
push edx
mov eax, dword [ebp - 0x658]
shl eax, 3
shl eax, 9
mov ecx, dword [ebp - 0x650]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x684]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ec6a7
add esp, 0x20
mov dword [ebp - 0x668], eax
jmp 0x471688
cmp dword [ebp - 0x668], 0
jne 0x471743
jmp 0x471748
jmp 0x471623
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x658], 0
jmp 0x47176e
mov ecx, dword [ebp - 0x658]
add ecx, 1
mov dword [ebp - 0x658], ecx
cmp dword [ebp - 0x668], 0
je 0x47188a
mov edx, dword [ebp - 0x658]
cmp edx, dword [ebp - 0x608]
jae 0x47188a
mov eax, dword [ebp - 0x608]
push eax
mov ecx, dword [ebp - 0x658]
add ecx, 1
push ecx
push 0x5a8e24
lea edx, [ebp - 0x64c]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005031b7
add esp, 8
mov dword [ebp - 0x688], 0
jmp 0x4717e0
mov edx, dword [ebp - 0x688]
add edx, 1
mov dword [ebp - 0x688], edx
cmp dword [ebp - 0x688], 1
jge 0x47187a
mov eax, dword [ebp - 0x670]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x658]
imul ecx, dword [ebp - 0x670]
mov edx, dword [ebp - 0x688]
add edx, eax
add ecx, edx
mov dword [ebp - 0x68c], ecx
mov eax, dword [ebp - 0x68c]
add eax, dword [ebp - 0x66c]
cmp dword [ebp - 4], eax
jae 0x471828
jmp 0x47187a
mov ecx, dword [ebp - 0x658]
mov dword [ebp - 0x654], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x158]
push eax
push 0x28
mov ecx, dword [ebp - 0x66c]
push ecx
mov edx, dword [ebp - 0x658]
shl edx, 3
shl edx, 9
mov eax, dword [ebp - 0x65c]
add eax, edx
push eax
mov ecx, dword [ebp - 0x68c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ec9cf
add esp, 0x18
mov dword [ebp - 0x668], eax
jmp 0x4717d1
cmp dword [ebp - 0x668], 0
jne 0x471885
jmp 0x47188a
jmp 0x47175f
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x660], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x974], 0
mov edx, dword [ebp - 0x654]
lea eax, [edx*4 + 4]
shl eax, 0xa
mov dword [ebp - 0x60c], eax
mov dword [ebp - 0x67c], 0
jmp 0x4718d4
mov ecx, dword [ebp - 0x67c]
add ecx, 1
mov dword [ebp - 0x67c], ecx
cmp dword [ebp - 0x660], 0
je 0x471a35
mov edx, dword [ebp - 0x67c]
cmp edx, dword [ebp - 0x60c]
jae 0x471a35
mov eax, dword [ebp - 0x67c]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x60c]
push eax
push 0x5a8e40
lea eax, [ebp - 0x64c]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x64c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x4f4
push edx
call fcn.0054d7f0
add esp, 8
test eax, eax
je 0x471949
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005031b7
add esp, 8
mov edx, dword [ebp - 0x650]
add edx, dword [ebp - 0x67c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x65c]
add ecx, dword [ebp - 0x67c]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
je 0x471a30
mov eax, dword [ebp - 0x670]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, dword [ebp - 0x67c]
shr edx, 0xc
imul edx, dword [ebp - 0x670]
add ecx, edx
mov eax, dword [ebp - 0x67c]
xor edx, edx
mov esi, 0x1000
div esi
shr edx, 9
add ecx, edx
mov dword [ebp - 0x690], ecx
mov eax, dword [ebp - 0x65c]
add eax, dword [ebp - 0x67c]
xor ecx, ecx
mov cl, byte [eax]
push ecx
mov edx, dword [ebp - 0x650]
add edx, dword [ebp - 0x67c]
xor eax, eax
mov al, byte [edx]
push eax
mov eax, dword [ebp - 0x67c]
xor edx, edx
mov ecx, 0x200
div ecx
push edx
mov edx, dword [ebp - 0x690]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x194]
add ecx, 1
push ecx
push 0x5a8e60
lea edx, [ebp - 0x404]
push edx
call fcn.0054c45b
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x660], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x974]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x974], edx
jmp 0x4718c5
mov ecx, dword [ebp - 0x650]
push ecx
call fcn.0054c543
add esp, 4
mov edx, dword [ebp - 0x65c]
push edx
call fcn.0054c543
add esp, 4
jmp 0x471a5f
mov dword [ebp - 0x660], 0
jmp 0x471a6b
mov dword [ebp - 0x660], 0
mov eax, dword [ebp - 0x660]
pop esi
mov esp, ebp
pop ebp
ret