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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x52b3fa
sub esp, 0x98
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x52acff
movzx ecx, byte [esp + 0xb4]
test cl, cl
jne 0x52ace7
lea edx, [eax - 2]
cmp edx, 0x3c
jbe 0x52acff
test cl, cl
je 0x52b368
cmp eax, 2
je 0x52acff
cmp eax, 8
je 0x52acff
cmp eax, 0xa
je 0x52acff
cmp eax, 0x10
jne 0x52b368
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xb0]
test ebx, ebx
jne 0x52ae9c
test ecx, ecx
je 0x52ad51
mov esi, 0xa
mov ebp, 0x2e
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov ebp, 0x2e
jmp 0x52ae8f
cmp al, 0x30
je 0x52ad72
mov esi, 0xa
mov ebp, 0x2e
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov ebp, 0x2e
jmp 0x52ae8f
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x52adb2
movzx ebx, byte [esp + 0xb4]
mov esi, 0xa
mov edi, 1
xor ebp, ebp
jmp 0x52ae7f
cmp al, 0x58
ja 0x52adc8
cmp al, 0x42
je 0x52adcd
cmp al, 0x4f
je 0x52ade6
cmp al, 0x58
je 0x52adff
jmp 0x52ae13
cmp al, 0x62
jne 0x52ade1
movzx ebx, byte [esp + 0xb4]
mov ebp, 0x62
mov esi, 2
jmp 0x52ae32
cmp al, 0x6f
jne 0x52adfa
movzx ebx, byte [esp + 0xb4]
mov ebp, 0x6f
mov esi, 8
jmp 0x52ae32
cmp al, 0x78
jne 0x52ae13
movzx ebx, byte [esp + 0xb4]
mov ebp, 0x78
mov esi, 0x10
jmp 0x52ae32
movzx ebx, byte [esp + 0xb4]
test bl, bl
je 0x52ae28
xor ebp, ebp
mov esi, 0xa
jmp 0x52ae32
mov ebp, 0x30
mov esi, 8
test ebp, ebp
je 0x52ae7a
cmp ebp, 0x30
je 0x52ae76
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0xb4]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
xor edi, edi
jmp 0x52ae7f
mov edi, 1
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x34], ebp
mov ebp, 0x30
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0xb0]
jmp 0x52aead
mov ebp, ebx
mov esi, 0x2e
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, ebp
test ebx, ebx
je 0x52b363
mov dword [esp + 0x8c], edx
mov byte [esp + 0x2e], al
mov eax, 0xffffffff
xor edx, edx
div ebx
mov edx, ebx
mov edx, 1
mov dword [esp + 0x3c], edx
mov edx, ebx
jmp 0x52aeeb
imul ebx, edx
mov ebp, dword [esp + 0x3c]
inc ebp
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xb0]
cmp ebx, eax
jbe 0x52aed8
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0xb4]
mov byte [esp + 0x2f], al
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov byte [esp + 0x2d], cl
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x68], ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov ebx, 0xffffffff
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
jmp 0x52afdb
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], bl
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x10]
mov ebp, dword [esp + 0xac]
mov dword [esp], ebp
call edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x8c], edx
mov byte [esp + 0x2e], al
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x52b175
movzx ecx, byte [esp + 0x2e]
cmp cl, 0x2e
jne 0x52b01f
movzx ebx, byte [esp + 0x2f]
test bl, bl
je 0x52b024
cmp esi, 0x5f
sete cl
movzx ebx, byte [esp + 0x2d]
or ecx, ebx
xor ebx, ebx
mov esi, 0x2e
mov dword [esp + 0x44], edi
jmp 0x52af69
movzx ebx, byte [esp + 0x2f]
cmp cl, 0x5f
jne 0x52b054
test ebp, ebp
jne 0x52b054
cmp esi, 0x30
setne cl
movzx esi, byte [esp + 0x2d]
or ecx, esi
mov byte [esp + 0x2d], cl
mov esi, 0x5f
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
jmp 0x52b139
lea esi, [ecx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
ja 0x52b065
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x52b09f
lea esi, [ecx - 0x61]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x52b079
lea esi, [ecx - 0x57]
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x52b09f
lea esi, [ecx - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x52b09a
cmp edx, 0x24
jg 0x52b090
add ecx, 0xffffffc9
movzx ecx, cl
jmp 0x52b09f
lea esi, [ecx - 0x1d]
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x52b09f
mov ecx, 0x3f
cmp ecx, edx
jae 0x52b14f
mov esi, dword [esp + 0x48]
imul esi, edx
add ecx, esi
mov esi, dword [esp + 0x40]
inc esi
cmp eax, esi
jne 0x52b127
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.00525160
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x2f]
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
inc edi
mov dword [esp + 0x60], eax
mov eax, 0x30
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], ecx
movzx ecx, byte [esp + 0x2d]
mov esi, dword [esp + 0x30]
jmp 0x52af69
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov eax, dword [0xa1d4c4]
cmp dword [0xa1d4c0], ecx
je 0x52b18c
mov eax, dword [esp + 0x8c]
jmp 0x52b1d5
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00403670
movzx eax, byte [esp + 0xc]
test al, al
je 0x52b1be
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
xor eax, eax
jmp 0x52b1d5
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x8c]
test ecx, ecx
jne 0x52b1f3
movzx ebx, byte [esp + 0x2d]
test bl, bl
jne 0x52b1e7
cmp esi, 0x5f
jne 0x52b1f3
mov ecx, dword [0xa1d548]
mov eax, dword [0xa1d54c]
test edi, edi
jne 0x52b25d
mov ebx, dword [esp + 0x34]
cmp ebx, 0x30
je 0x52b20e
mov ecx, dword [0xa1d550]
mov eax, dword [0xa1d554]
jmp 0x52b25d
mov edx, dword [esp + 0x88]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], 0xa
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0x98
ret
mov dword [esp + 0x8c], eax
mov ebx, dword [esp + 0x40]
test ebx, ebx
jle 0x52b275
mov ebp, edx
mov esi, 1
jmp 0x52b2f3
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
jmp 0x52b28e
dec esi
mov eax, dword [esp + 0x8c]
test esi, esi
jle 0x52b2a1
mov eax, dword [ebx + esi*4 - 4]
test eax, eax
je 0x52b286
mov eax, dword [esp + 0x8c]
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x52b2ad
sub eax, edi
jmp 0x52b2af
mov eax, edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd0], eax
add esp, 0x98
ret
imul edx, edx
sar ebx, 1
test ebx, ebx
jle 0x52b304
test ebx, 1
je 0x52b2ee
imul esi, edx
jmp 0x52b2ee
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.00525160
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
jmp 0x52b284
call fcn.00432570
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp], eax
call fcn.00408890
mov eax, dword [esp + 4]
lea ecx, [0x67dee0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x6be3f9]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00514480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408970
mov eax, dword [esp + 8]
lea ecx, [0x67e720]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433690
nop
call fcn.0045e260
jmp fcn.0052aca0