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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ae8b1
sub esp, 0x64
call fcn.0040b960
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], 0x16
mov dword [esp + 8], 0
call fcn.004ae8c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test eax, eax
jne 0x4ae390
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004428f0
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4fa387]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484980
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4ae3e1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x64
ret
mov ebp, dword [esp + 0x3c]
inc ebp
mov esi, ebx
mov edi, ecx
mov ecx, dword [esp + 0x24]
mov ebx, ebp
mov ebp, edx
mov edx, eax
mov eax, dword [esp + 0x40]
cmp ebx, ecx
jge 0x4ae875
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edi
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x2c], ecx
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ebp, [0x4fa347]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.00484980
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 2
je 0x4ae5f6
mov eax, dword [esp + 0x2c]
cmp eax, 4
jge 0x4ae458
xor ecx, ecx
jmp 0x4ae481
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [0x4fa4dd]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00402f20
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x2c]
test cl, cl
jne 0x4ae49a
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
jmp 0x4ae3ca
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00484bc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jbe 0x4ae8a7
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x51d030]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484980
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 2
jge 0x4ae50e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x4ae5e9
mov dword [esp + 0x4c], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x4fa5fe]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
call fcn.00485e20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov dword [edi + 4], ecx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4ae56a
mov dword [edi], eax
jmp 0x4ae56f
call fcn.00452b40
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00466d00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4ae7e6
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00466d00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4ae757
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
jmp 0x4ae3ca
mov dword [esp + 0x4c], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x4e70c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e3a0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4ae67e
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x4e70c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e700
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4ae673
lea eax, [0x5af860]
mov dword [edi], eax
jmp 0x4ae67e
lea eax, [0x5af860]
call fcn.00452b40
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x38], ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
lea ebp, [0x4e70c0]
mov dword [esp], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e700
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
inc ebx
cmp edx, ebx
jae 0x4ae716
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4e6920]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
mov dword [edi + 8], edx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4ae70b
mov dword [edi], eax
jmp 0x4ae710
call fcn.00452b40
mov ebx, ecx
mov ecx, eax
mov eax, edi
mov dword [eax + 4], ebx
lea edx, [ecx + ebx*8 - 4]
mov ebp, dword [esp + 0x38]
mov dword [edx], ebp
mov edx, dword [0x5af9a0]
lea edi, [ecx + ebx*8 - 8]
test edx, edx
jne 0x4ae739
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4ae742
mov eax, dword [esp + 0x58]
call fcn.00452b40
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
jmp 0x4ae3ca
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test edx, edx
je 0x4ae76e
mov edx, dword [edx + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
lea eax, [0x4ff058]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x64
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x4ae7fd
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x4ff058]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x64
ret
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x64
ret
xor eax, eax
mov ecx, eax
call fcn.00452bc0
nop
call fcn.00451710
jmp fcn.004ae2d0