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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52d135
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x52ce6c
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
jmp 0x52cea8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
sub ebx, esi
cmp ebx, 4
jl 0x52d036
mov ebx, dword [esp + 0x44]
sub ecx, ebx
cmp ecx, 4
jl 0x52d03a
mov dword [esp + 0x38], ecx
lea ecx, [esi + 4]
cmp edx, ecx
jb 0x52d12f
cmp esi, ecx
ja 0x52d128
mov dword [esp + 0x3c], ecx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
movzx ecx, byte [edi + edx + 1]
movzx ecx, byte [ecx + ebp + 0x40]
movzx eax, byte [edi + edx + 2]
movzx eax, byte [eax + ebp + 0x40]
movzx edx, byte [edi + edx + 3]
movzx edx, byte [edx + ebp + 0x40]
or esi, ecx
or esi, eax
or esi, edx
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x52cf2b
mov eax, 0
jmp 0x52cf59
movzx ebp, byte [esp + 0x33]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x1a
movzx ecx, cl
shl ecx, 0x14
or ecx, ebp
movzx ebp, al
shl ebp, 0xe
or ebp, ecx
movzx eax, dl
shl eax, 8
or eax, ebp
xchg esi, eax
cmp al, 0xff
xchg esi, eax
mov ebp, dword [esp + 0x58]
je 0x52cf94
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x52d121
mov esi, dword [esp + 0x64]
mov edx, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
bswap eax
mov ebp, dword [esp + 0x5c]
mov dword [ebp + esi], eax
add ebx, 3
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x52ce88
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x52d11a
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov esi, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.0052c2d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x2c]
test ecx, ecx
jne 0x52d022
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov ebx, eax
mov esi, ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x52ce88
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x52d06a
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ebx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x52d0f9
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x52d111
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x3c], ecx
sub esi, ebx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.0052c2d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x2c]
test ecx, ecx
je 0x52d040
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.00466dd0
mov eax, ebx
call fcn.00466dd0
mov eax, ebx
call fcn.00466dd0
mov eax, esi
call fcn.00466dd0
call fcn.00466db0
nop
call fcn.00465910
jmp fcn.0052ce10