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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52b2ac
sub esp, 0x7c
nop
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
test ecx, ecx
je 0x52b29b
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x52b279
mov ecx, dword [0x7277c0]
mov edx, dword [0x7277c4]
test ecx, ecx
jne 0x52b267
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
mov ecx, dword [0x726f3c]
lea edx, [esp + 0x6c]
cmp edx, ecx
je 0x52af01
mov dword [esp + 0x24], ecx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
nop
nop
test ebx, ebx
jg 0x52b1c8
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebx, esi
cmp ebx, esi
jle 0x52b1c1
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ebx
cmp edi, ebp
je 0x52aede
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0044d6a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x52af48
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004c7430
mov eax, dword [esp + 0x18]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x52afc2
mov dword [esp + 0x18], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x28], eax
mov dword [esp], eax
mov ecx, dword [0x726f3c]
mov dword [esp + 4], ecx
call fcn.004c79c0
mov eax, dword [esp + 8]
test eax, eax
jg 0x52af1a
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1f
mov eax, dword [0x738420]
test eax, eax
jne 0x52afb5
lea eax, [0x5ce3e8]
mov dword [edi], eax
lea eax, [0x600de0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x7c
ret
lea eax, [0x5ce3e8]
call fcn.0044cea0
jmp 0x52af9d
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004c79c0
mov eax, dword [esp + 8]
test eax, eax
je 0x52b02d
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1b
mov eax, dword [0x738420]
test eax, eax
jne 0x52b020
lea eax, [0x5cce02]
mov dword [edi], eax
lea eax, [0x600de0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x7c
ret
lea eax, [0x5cce02]
call fcn.0044cea0
jmp 0x52b008
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call fcn.004c6de0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c7430
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
xor edx, edx
jmp 0x52b0d2
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp edx, eax
jge 0x52b1a7
mov dword [esp + 0x18], edx
mov eax, dword [ecx + edx*4]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ebx, [esp + 0x3c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [0x726f3c]
mov dword [esp + 8], eax
call fcn.004c71e0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c7790
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [0x726f3c]
mov dword [esp + 4], ecx
call fcn.004c79c0
mov eax, dword [esp + 8]
test eax, eax
je 0x52b0c3
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x738420]
test eax, eax
jne 0x52b19a
lea eax, [0x5cd919]
mov dword [edi], eax
lea eax, [0x600de0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x7c
ret
lea eax, [0x5cd919]
call fcn.0044cea0
jmp 0x52b182
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
mov esi, ebx
jmp 0x52aebf
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
cmp ebx, 1
jne 0x52b228
lea eax, [0x5974e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00438f10
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, 1
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
jmp 0x52aeb7
lea eax, [0x5974e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
call fcn.00438f10
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, esi
jmp 0x52aeb7
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x7c
ret
cmp ecx, 0x7fffffff
jle 0x52b292
mov edx, dword [0x7277bc]
mov ecx, dword [0x7277b8]
jmp 0x52ae63
xor edx, edx
xor ecx, ecx
jmp 0x52ae63
mov ecx, dword [0x7277c8]
mov edx, dword [0x7277cc]
jmp 0x52ae63
call fcn.0044b750
jmp fcn.0052ae20