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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52bad9
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2f
call fcn.00402380
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x52ba37
mov ecx, dword [esp + 0x68]
cmp eax, ecx
ja 0x52bad2
lea edx, [eax + 1]
cmp edx, ecx
ja 0x52bad2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0052ae00
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x24], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x64]
add ecx, eax
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
test edi, edi
je 0x52ba01
mov dword [esp + 0x48], eax
mov eax, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x38], ebp
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00536070
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x52b848
test dl, dl
je 0x52b848
mov edx, dword [esp + 0x24]
cmp ecx, edx
je 0x52b8e3
lea eax, [0x78fca0]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xc
mov eax, dword [0xadb480]
test eax, eax
jne 0x52b8d6
lea ecx, [0x7d7062]
mov dword [edi], ecx
mov ecx, dword [esp + 0x68]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52b8c0
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x843c50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x60
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x64]
call fcn.0044c870
mov edi, edx
jmp 0x52b88b
lea eax, [0x7d7062]
call fcn.0044c870
jmp 0x52b873
test eax, eax
jl 0x52b848
mov ecx, dword [esp + 0x30]
shl ecx, 3
cmp eax, ecx
jg 0x52b848
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00528bb0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00529570
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x78fb80]
mov dword [esp], ebx
call fcn.00409cb0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x52b9f6
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52b9e0
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0044c870
mov edi, edx
jmp 0x52b9ad
mov eax, dword [esp + 0x5c]
call fcn.0044c870
jmp 0x52b98e
mov dword [esp + 0x50], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.0052b0d0
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov eax, 0x10
mov dword [esp + 0x30], eax
jmp 0x52b80b
lea eax, [0x78fca0]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xc
mov eax, dword [0xadb480]
test eax, eax
jne 0x52bac5
lea ecx, [0x7d7062]
mov dword [edi], ecx
mov ecx, dword [esp + 0x68]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x52baaf
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x843c50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x60
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x64]
call fcn.0044c870
mov edi, edx
jmp 0x52ba7a
lea eax, [0x7d7062]
call fcn.0044c870
jmp 0x52ba62
call fcn.00426530
ud2
call fcn.0044b110
jmp fcn.0052b760