Function at 0x532038
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push esi
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x532c99
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004719f0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x53208c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
mov si, 0xfff6
call fcn.00403fe4
mov eax, dword [0x57382c]
cmp dword [eax], 0
je 0x532c6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [0x573628]
cmp eax, dword [edx]
jne 0x532c6e
mov eax, dword [0x5743e4]
cmp byte [eax], 0
je 0x5321d0
mov eax, dword [0x574140]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x5321d0
push 1
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [0x574140]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5321c3
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x574140]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00419dc8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5321b7
mov eax, dword [0x573cf8]
cmp byte [eax], 0
je 0x532143
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
call fcn.004a5ae4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x532143
mov eax, dword [ebp - 0x28]
cmp byte [eax + 5], 0
je 0x5321b7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [0x573628]
mov eax, dword [eax]
call fcn.004bb8c4
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x24]
sub eax, dword [edx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 9
jge 0x5321b7
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x24]
sub eax, dword [edx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 7
jge 0x5321b7
push 0xf0caa6
push 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x14
mov edx, dword [ebp - 0x2c]
sub edx, 0x10
mov eax, dword [ebp - 8]
call fcn.004e7bbc
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x532100
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.00470940
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
cmp dword [eax + 8], 0
jle 0x5326ef
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5326ef
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00419dc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x57], 1
jbe 0x532413
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2c], 0
jne 0x532413
mov eax, dword [0x57414c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jne 0x53232d
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [0x57414c]
mov edx, dword [edx]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jg 0x532413
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [0x57414c]
mov edx, dword [edx]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 7
jg 0x532413
push 1
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x53]
call fcn.004096c8
push dword [ebp - 0x4c]
push 0x532cb0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x57]
call fcn.004096c8
push dword [ebp - 0x50]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404f6c
push 0xffffff
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x573bd8]
mov eax, dword [eax]
call fcn.00457220
mov edx, dword [ebp - 0x20]
call fcn.00424f9c
sar eax, 1
jns 0x5322fc
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 0x16
mov eax, dword [ebp - 8]
call fcn.004e7bbc
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.00470940
jmp 0x532413
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x32
je 0x532413
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jg 0x532413
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 7
jg 0x532413
push 1
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x53]
call fcn.004096c8
push dword [ebp - 0x54]
push 0x532cb0
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x57]
call fcn.004096c8
push dword [ebp - 0x58]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404f6c
push 0xffffff
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x573bd8]
mov eax, dword [eax]
call fcn.00457220
mov edx, dword [ebp - 0x20]
call fcn.00424f9c
sar eax, 1
jns 0x5323e7
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 0x16
mov eax, dword [ebp - 8]
call fcn.004e7bbc
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.00470940
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2c], 0
jne 0x5326e3
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jg 0x5326e3
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 7
jg 0x5326e3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x32
jne 0x532495
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x18]
add eax, 0xffffffe0
cmp ax, 0x3f
ja 0x53247f
and eax, 0x7f
bt dword [0x532cb4], eax
jb 0x5326e3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2e8], 0
jne 0x5326e3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x5f
je 0x5326e3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x175], 0
je 0x5324d1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0x178]
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0x17c]
jbe 0x5324d1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x175], 0
mov eax, dword [0x574294]
mov eax, dword [eax]
xor edx, edx
call fcn.0047e974
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x53257f
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00471c08
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
call fcn.00471e68
sar eax, 1
jns 0x532510
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 0xa
mov eax, dword [ebp - 8]
call fcn.00471474
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x232], 0
jbe 0x53257f
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00471c08
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
call fcn.00471e68
sar eax, 1
jns 0x532560
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 7
mov eax, dword [ebp - 8]
call fcn.00471474
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x12]
sub al, 0xc
je 0x532591
sub al, 0xc
je 0x532591
sub al, 0x1a
jne 0x5325a4
mov eax, dword [0x573630]
mov eax, dword [eax]
xor edx, edx
call fcn.0047e974
mov dword [ebp - 0x1c], eax
jmp 0x5325b8
mov eax, dword [0x574294]
mov eax, dword [eax]
mov edx, 1
call fcn.0047e974
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x53263d
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.00471c08
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x57], 0
jbe 0x532605
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x57]
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fdivp st(1)
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x53]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fmulp st(1)
call fcn.00403038
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
call fcn.00471e68
sar eax, 1
jns 0x53261e
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 0xa
mov eax, dword [ebp - 8]
call fcn.00471474
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x232], 0
jbe 0x5326e3
mov eax, dword [0x573630]
mov eax, dword [eax]
mov edx, 9
call fcn.0047e974
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5326e3
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.00471c08
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x232]
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fdivp st(1)
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x230]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fmulp st(1)
call fcn.00403038
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00471e68
sar eax, 1
jns 0x5326c4
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc4]
sub ecx, 7
mov eax, dword [ebp - 8]
call fcn.00471474
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x532205
push 1
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [0x573d40]
cmp byte [eax], 0
je 0x532884
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x532884
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00419dc8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x532878
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2c], 0
jne 0x532878
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc0], 0
je 0x532878
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc4], 0
je 0x532878
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0
je 0x5327a7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 1
je 0x5327a7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x96
je 0x5327a7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x32
jne 0x532878
mov eax, dword [0x573978]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
je 0x532878
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 9
jge 0x532878
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 7
jge 0x532878
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x12], 0x32
jne 0x532824
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x18]
add eax, 0xffffffe0
cmp ax, 0x3f
ja 0x532816
and eax, 0x7f
bt dword [0x532cbc], eax
jb 0x532878
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2e8], 0
jne 0x532878
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jne 0x53283a
mov eax, dword [0x5738d0]
cmp byte [eax], 0
jne 0x532878
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x34]
call fcn.00404c84
push ebp
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc4]
add eax, 0x1e
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00531f18
pop ecx
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x532733
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.00470940
push 1
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [0x573978]
cmp dword [eax], 0
je 0x5329bf
mov edx, dword [0x573978]
mov edx, dword [edx]
mov eax, dword [0x573628]
mov eax, dword [eax]
call fcn.004bc444
test al, al
je 0x5329bf
mov eax, dword [0x573978]
mov eax, dword [eax]
cmp byte [eax + 0x12], 0x32
jne 0x532959
mov eax, dword [0x573978]
mov eax, dword [eax]
cmp byte [eax + 0x2e8], 0
jne 0x5329bf
mov eax, dword [0x573978]
mov eax, dword [eax]
push dword [eax + 0x30]
push 0x532ccc
mov eax, dword [0x573978]
mov eax, dword [eax]
push dword [eax + 0x34]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f6c
push ebp
mov eax, dword [0x573978]
mov eax, dword [eax]
mov eax, dword [eax + 0xc4]
add eax, 0x1e
push eax
mov eax, dword [0x573978]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x573978]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc0]
mov eax, dword [0x573978]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00531f18
pop ecx
jmp 0x5329bf
mov eax, dword [0x573978]
mov eax, dword [eax]
push dword [eax + 0x30]
push 0x532ccc
mov eax, dword [0x573978]
mov eax, dword [eax]
push dword [eax + 0x34]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f6c
push ebp
mov eax, dword [0x573978]
mov eax, dword [eax]
mov eax, dword [eax + 0xc4]
add eax, 0x1e
push eax
mov eax, dword [0x573978]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x573978]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc0]
mov eax, dword [0x573978]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00531f18
pop ecx
mov eax, dword [0x5738d0]
cmp byte [eax], 0
je 0x532a2f
mov eax, dword [0x57382c]
mov eax, dword [eax]
push dword [eax + 0x30]
push 0x532ccc
mov eax, dword [0x57382c]
mov eax, dword [eax]
push dword [eax + 0x34]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f6c
push ebp
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc4]
add eax, 0x1e
push eax
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc0]
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00531f18
pop ecx
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
cmp dword [eax + 8], 0
jle 0x532bb9
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x532bb9
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x573628]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00419dc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x94], 0
je 0x532ba0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xbc]
cmp eax, 0xfa0
jae 0x532ba0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc8], 0
jle 0x532bad
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc8]
dec eax
test eax, eax
jl 0x532bad
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2c], 0
je 0x532b36
push 0x808080
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 0x94]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc8]
shl eax, 4
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc4]
sub ecx, eax
imul eax, dword [ebp - 0xc], 0xe
add ecx, eax
sub ecx, 0x14
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 0xa8]
sar eax, 1
jns 0x532b21
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 8]
call fcn.004e7bbc
jmp 0x532b92
push 0xffffff
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 0x94]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc8]
shl eax, 4
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc4]
sub ecx, eax
imul eax, dword [ebp - 0xc], 0xe
add ecx, eax
sub ecx, 0x14
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 0xa8]
sar eax, 1
jns 0x532b7f
adc eax, 0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc0]
sub edx, eax
mov eax, dword [ebp - 8]
call fcn.004e7bbc
inc dword [ebp - 0xc]
dec dword [ebp - 0x38]
jne 0x532acf
jmp 0x532bad
mov eax, dword [ebp - 0x14]
add eax, 0x94
call fcn.00404bec
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x532a64
mov eax, dword [0x5743c0]
test byte [eax], 4
je 0x532bdb
push 0xffffff
push 0
push 0x532cd8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004e7bbc
mov eax, dword [ebp - 8]
call fcn.00471bd0
call fcn.00470940
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x5743c0]
cmp dword [eax], 0
je 0x532c4d
mov edx, dword [0x5743c0]
mov edx, dword [edx]
add edx, 0x96
dec edx
mov eax, dword [0x573b50]
mov eax, dword [eax]
call fcn.0047e974
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x532c4d
mov eax, dword [ebp - 0x1c]
call fcn.00471e68
add dword [ebp - 0x10], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00471c08
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov edx, 0x320
sub edx, dword [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00471474
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00532fdc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00533618
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00533128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532ca0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c10
lea eax, [ebp - 0x20]
call fcn.00404bec
lea eax, [ebp - 0x18]
call fcn.00404bec
ret