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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ae911
sub esp, 0x64
call fcn.0040b960
mov eax, dword [esp]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], 0x16
mov dword [esp + 8], 0
call fcn.004ae920
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 0x4ae3f0
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, [0x4fa3e7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484990
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 0x4ae441
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 0x4ae8d5
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x2c], 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 + 0x30], ecx
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ebp, [0x4fa3a7]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.00484990
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 2
je 0x4ae656
mov eax, dword [esp + 0x30]
cmp eax, 4
jge 0x4ae4b8
xor ecx, ecx
jmp 0x4ae4e1
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [0x4fa53d]
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 + 0x30]
test cl, cl
jne 0x4ae4fa
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
jmp 0x4ae42a
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00484bd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jbe 0x4ae907
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, [0x51d0a8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00484990
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 2
jge 0x4ae56e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x4ae649
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x4fa65e]
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.00485e30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x4ae5ca
mov dword [edi], eax
jmp 0x4ae5cf
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 0x4ae846
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x44]
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 0x4ae7b7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
jmp 0x4ae42a
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x4e70c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
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 0x4ae6de
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x4e70c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
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 [0x5af9b0]
test eax, eax
jne 0x4ae6d3
lea eax, [0x5af860]
mov dword [edi], eax
jmp 0x4ae6de
lea eax, [0x5af860]
call fcn.00452b40
mov eax, dword [esp + 0x44]
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 + 0x4c]
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 0x4ae776
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, [0x4e69a0]
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 [0x5af9b0]
test edx, edx
jne 0x4ae76b
mov dword [edi], eax
jmp 0x4ae770
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 [0x5af9b0]
lea edi, [ecx + ebx*8 - 8]
test edx, edx
jne 0x4ae799
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4ae7a2
mov eax, dword [esp + 0x58]
call fcn.00452b40
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
jmp 0x4ae42a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test edx, edx
je 0x4ae7ce
mov edx, dword [edx + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
lea eax, [0x4ff0b8]
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.004a7b10
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 0x4ae85d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x4ff0b8]
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.004a7b10
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 + 0x4c]
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.004ae330