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 0x52ba1b
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
lea ebx, [edx - 1]
test ebx, ebx
jl 0x52b9ff
mov ecx, dword [ecx + edx*4 - 4]
nop
nop
cmp ecx, 0x10000
jb 0x52b9f8
shr ecx, 0x10
mov edx, 0x10
cmp ecx, 0x100
jb 0x52b7cf
shr ecx, 8
add edx, 8
cmp ecx, 0x100
jae 0x52ba14
shl ebx, 5
lea ebp, [0xb4f740]
movzx ecx, byte [ebp + ecx]
add ecx, edx
add ecx, ebx
mov dword [esp + 0x2c], ecx
lea eax, [0x7ac140]
mov dword [esp], eax
lea eax, [ecx + 7]
sar eax, 3
mov dword [esp + 0x28], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x52b833
mov edx, ecx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x40]
test ecx, ecx
jne 0x52b9d1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0048a020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x52b99e
mov edx, dword [esp + 0x28]
test edx, edx
jbe 0x52ba0d
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx]
mov esi, dword [0xb77070]
mov edi, dword [esp + 0x2c]
sar edi, 0x1f
shr edi, 0x1d
mov eax, dword [esp + 0x2c]
add edi, eax
sar edi, 3
shl edi, 3
sub eax, edi
lea edi, [0xb77070]
cmp dword [edi + 4], eax
jbe 0x52ba0d
movzx eax, byte [esi + eax]
and ebp, eax
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
cmp edx, 1
jbe 0x52ba06
mov dword [esp + 0x24], ecx
movzx eax, byte [ebx + 1]
xor eax, 0x42
mov byte [ebx + 1], al
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
nop
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.0051ec20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov byte [esp + 0x44], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00510c80
mov eax, dword [esp + 8]
test eax, eax
jl 0x52b96d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x52b823
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x52b823
mov edx, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x54
ret
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
add esp, 0x54
ret
xor edx, edx
jmp 0x52b7c1
xor ecx, ecx
jmp 0x52b7ed
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.0052b760