Function at 0x532f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x533480
sub esp, 0x64
mov eax, dword [esp + 0x68]
test eax, eax
je 0x533430
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x533415
xor edx, edx
test edx, edx
jge 0x533242
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
nop
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x532fd2
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x5331b8
mov ebp, edx
xor esi, esi
xor edi, edi
cmp ebp, edx
jge 0x5331b1
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], esi
cmp ebx, esi
je 0x532faf
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045eba0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
mov byte [esp + 0x54], al
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x5331aa
movzx eax, byte [esp + 0x54]
xor eax, 1
mov byte [esp + 0x54], al
mov eax, dword [0x700974]
lea ecx, [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004d9a40
nop
mov eax, dword [esp + 0x5c]
lea ecx, [0x5a5da0]
mov dword [esp], ecx
shl eax, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004e6120
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x53347a
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x50]
lea ebp, [ebx + eax]
xor ecx, ecx
jmp 0x53308a
movzx esi, byte [ecx + ebp]
xor esi, 0xffffffff
xchg esi, eax
mov byte [ebp + ecx], al
xchg esi, eax
inc ecx
cmp edx, ecx
jle 0x533095
ja 0x53307c
jmp 0x533471
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebp
test edx, edx
jne 0x533167
lea eax, [0x5a2160]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x6fccb4]
mov edx, dword [0x6fccb0]
mov dword [eax], edx
mov edx, dword [0x71e9f0]
test edx, edx
jne 0x533158
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611764]
mov edx, dword [esp + 0x4c]
mov dword [edx + 8], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x53314e
mov dword [edx + 0xc], eax
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611794]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
lea edi, [edx + 0xc]
call fcn.0045e220
jmp 0x533110
lea edi, [eax + 4]
mov eax, ecx
call fcn.0045e220
jmp 0x5330da
movzx eax, byte [eax + ebx]
test al, 0x80
je 0x5330a5
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611764]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
xor eax, eax
jmp 0x532fe6
mov ebp, edx
jmp 0x532f8c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebx
cmp edx, 1
jne 0x533206
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edx, 1
mov edi, 1
jmp 0x532f84
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edx, ebp
mov edi, dword [esp + 0x28]
jmp 0x532f84
test ecx, ecx
jne 0x5333fa
xor edx, edx
test edx, edx
je 0x5333d2
nop
lea eax, [0x5a5da0]
mov dword [esp], eax
shl ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004e6120
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x53346c
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x50]
lea ebx, [ecx + eax]
test edx, edx
jle 0x5332d2
movzx eax, byte [eax + ecx]
test al, 0x80
jne 0x533308
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611764]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ebx
lea eax, [0x5a2160]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [0x6fccac]
mov edx, dword [0x6fcca8]
mov dword [eax], edx
mov edx, dword [0x71e9f0]
test edx, edx
jne 0x5333c3
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611764]
mov edx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x5333b9
mov dword [edx + 0xc], eax
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004091f0
mov eax, dword [esp + 0xc]
lea ecx, [0x611794]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
lea edi, [edx + 0xc]
call fcn.0045e220
jmp 0x53337b
lea edi, [eax + 4]
mov eax, ecx
call fcn.0045e220
jmp 0x533345
mov eax, dword [0x6fcca8]
mov ecx, dword [0x6fccac]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
movzx edx, byte [eax]
test dl, dl
je 0x53340b
mov edx, 0xffffffff
jmp 0x53324c
mov edx, 1
jmp 0x53324c
movzx edx, byte [eax]
test dl, dl
je 0x533426
mov edx, 0xffffffff
jmp 0x532f42
mov edx, 1
jmp 0x532f42
lea eax, [0x5d1eaa]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00409170
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x610c20]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
call fcn.0045e300
mov eax, ecx
mov ecx, edx
call fcn.0045e2a0
call fcn.0045e300
nop
call fcn.0045ccc0
jmp fcn.00532f10