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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52b598
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x52b569
mov ecx, dword [ecx + edx*4 - 4]
cmp ecx, 0x10000
jb 0x52b562
shr ecx, 0x10
mov edx, 0x10
cmp ecx, 0x100
jb 0x52b306
shr ecx, 8
add edx, 8
cmp ecx, 0x100
jae 0x52b591
shl ebx, 5
lea ebp, [0xb76660]
movzx ecx, byte [ecx + ebp]
add ecx, edx
add ecx, ebx
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea edx, [edx + ecx + 7]
sar edx, 3
mov ebx, dword [esp + 0x80]
cmp ebx, edx
jne 0x52b544
mov dword [esp + 0x30], ecx
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
call fcn.004f65a0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0052c190
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call fcn.004f6630
mov eax, dword [esp + 0x30]
lea ecx, [eax + 6]
sar ecx, 0x1f
shr ecx, 0x1d
lea ecx, [ecx + eax + 6]
sar ecx, 3
mov edx, dword [esp + 8]
cmp ecx, edx
jl 0x52b526
lea eax, [0x7720a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00438c00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call fcn.004f6630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x40]
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], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.0052a400
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
jne 0x52b516
mov eax, dword [esp + 0x6c]
lea ecx, [eax - 1]
cmp ecx, 0x13
jae 0x52b577
mov ecx, dword [0xbae3e0]
mov edx, dword [0xbae3e4]
cmp eax, edx
jae 0x52b570
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x88], ecx
mov dword [esp], eax
call fcn.004e5950
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
dec edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call fcn.0052a870
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
jmp 0x52b495
mov eax, dword [0xbb4b7c]
mov ecx, dword [0xbb4b78]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x64
ret
mov eax, dword [0xbb4b78]
mov ecx, dword [0xbb4b7c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x64
ret
xor edx, edx
jmp 0x52b2f8
xor ecx, ecx
jmp 0x52b323
call fcn.00426630
ud2
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f6a48]
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.00426630
ud2
call fcn.0044b4c0
jmp fcn.0052b2b0