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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52fcc3
sub esp, 0x68
lea eax, [0x5ad240]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
nop
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
lea ecx, [0x584be0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0051a350
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x52fc1a
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x52fb5c
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x52fb36
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0052fcd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x52fadd
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x5a3da0]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
call fcn.004d12e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x52face
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c79c0
mov eax, dword [esp + 8]
test eax, eax
jge 0x52fa75
lea eax, [0x5b8200]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [0x738420]
test edx, edx
jne 0x52fa50
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [eax + 0x10], ebx
mov dword [esp + 0x4c], eax
nop
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 4]
nop
lea esi, [ebp - 1]
test esi, esi
jl 0x52fa49
mov ebx, dword [ebx + ebp*4 - 4]
nop
nop
cmp ebx, 0x10000
jb 0x52fa42
shr ebx, 0x10
mov ebp, 0x10
cmp ebx, 0x100
jb 0x52f886
shr ebx, 8
add ebp, 8
cmp ebx, 0x100
jae 0x52fcbc
shl esi, 5
lea edi, [0x70d060]
movzx ebx, byte [edi + ebx]
add ebx, ebp
add ebx, esi
lea eax, [0x597d60]
mov dword [esp], eax
lea eax, [ebx + 7]
sar eax, 0x1f
shr eax, 0x1d
lea eax, [eax + ebx + 7]
sar eax, 3
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00438f10
mov eax, dword [esp + 0x5c]
lea edi, [eax + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x38]
jmp 0x52f8e6
mov ecx, dword [esp + 0x58]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
cmp esi, edx
jle 0x52f98a
movzx ecx, byte [ebp]
test cl, cl
jne 0x52f931
lea ecx, [esi - 1]
mov dword [eax + 8], ecx
lea ecx, [ebx - 1]
mov dword [eax + 0xc], ecx
mov ebx, dword [0x738420]
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, ebp
test ebx, ebx
jne 0x52f924
mov dword [eax + 4], ecx
jmp 0x52f8e2
mov ebx, eax
mov eax, ecx
call fcn.0044cea0
mov eax, ebx
jmp 0x52f8e2
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0x738420]
test eax, eax
jne 0x52f97d
lea eax, [0x5cebf0]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0x600de0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
lea eax, [0x5cebf0]
call fcn.0044cea0
jmp 0x52f95d
mov eax, edx
sub edx, esi
cmp edx, eax
ja 0x52fcb5
mov ebx, eax
sub eax, edx
mov edi, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ecx
cmp edi, esi
jle 0x52fa3b
cmp eax, ebp
je 0x52f9c1
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0044d6a0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [0x738420]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x52fa1f
mov eax, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov ebx, dword [esp + 0x4c]
lea edi, [ebx + 8]
mov eax, ecx
call fcn.0044cea0
lea edi, [ebx + 0xc]
mov eax, edx
call fcn.0044cea0
mov eax, ebx
jmp 0x52fa01
mov esi, edi
jmp 0x52f9ad
xor ebp, ebp
jmp 0x52f878
xor ebx, ebx
jmp 0x52f8a3
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0044cea0
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.0044cea0
mov eax, edx
mov edx, ebx
jmp 0x52f843
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2e
mov eax, dword [0x738420]
test eax, eax
jne 0x52fac1
lea eax, [0x5d1ad5]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0x600de0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
lea eax, [0x5d1ad5]
call fcn.0044cea0
jmp 0x52faa1
lea edi, [ebx + 4]
mov eax, edx
call fcn.0044cea0
jmp 0x52f7d5
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1c
mov eax, dword [0x738420]
test eax, eax
jne 0x52fb29
lea eax, [0x5cd74a]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0x600de0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
lea eax, [0x5cd74a]
call fcn.0044cea0
jmp 0x52fb09
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0052fcd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x52f755
mov dword [esp], ecx
call fcn.00407500
mov eax, dword [esp + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x597320]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
nop
lea eax, [0x5d07b1]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1310
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
nop
lea edx, [0x59e6a0]
mov dword [esp], edx
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x52fc0f
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0x600de0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
mov eax, dword [esp + 0x44]
call fcn.0044cea0
jmp 0x52fbef
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5d04a6]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0043c2f0
nop
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x59e6a0]
mov dword [esp], edx
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x52fcaa
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
lea eax, [0x600de0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x68
ret
mov eax, dword [esp + 0x48]
call fcn.0044cea0
jmp 0x52fc8a
call fcn.00427100
ud2
call fcn.00427000
ud2
call fcn.0044b750
jmp fcn.0052f6a0