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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x88], 5
jle 0x1401aa760
mov dword [rsp + 0x38], 1
cmp dword [rsp + 0x88], 0x64
jle 0x1401aa726
mov eax, 0xf
jmp 0x1401aab16
cmp dword [rsp + 0x88], 0xa
jl 0x1401aa74e
mov eax, dword [rsp + 0x88]
sub eax, 9
mov ecx, dword [rsp + 0x88]
sub ecx, 9
imul eax, ecx
imul eax, eax, 0x27
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140163de0
nop
cmp dword [rsp + 0x80], 0
jne 0x1401aa82d
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x46]
test eax, eax
jne 0x1401aa78e
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1401a8ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jne 0x1401aa7fa
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + rcx], 0
jne 0x1401aa7b8
mov dword [rsp + 0x20], 0xffffffff
jmp 0x1401aa7fa
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.1401a9e50
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401aa7eb
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.1401aab70
mov dword [rsp + 0x20], 0xffffffff
jmp 0x1401aa7fa
cmp dword [rsp + 0x20], 5
jne 0x1401aa7fa
mov dword [rsp + 0x20], 0x105
cmp dword [rsp + 0x20], 0
je 0x1401aa80c
mov eax, dword [rsp + 0x20]
jmp 0x1401aab16
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x46]
test eax, eax
je 0x1401aa82d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1401a75b0
jmp 0x1401aab16
mov rcx, qword [rsp + 0x70]
call fcn.1401a8240
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x80], 0
jne 0x1401aa8f2
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x58]
jne 0x1401aa8f2
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.1401a9e50
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call fcn.1401aa6b0
cmp dword [rsp + 0x20], 0
jne 0x1401aa8e2
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.1401a8a40
mov r8d, 0x30
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call fcn.14023ea30
test eax, eax
je 0x1401aa8ce
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.1401aab70
mov eax, 0xffffffff
jmp 0x1401aab16
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x3c], ax
xor eax, eax
jmp 0x1401aab16
cmp dword [rsp + 0x20], 5
je 0x1401aa8f2
mov eax, dword [rsp + 0x20]
jmp 0x1401aab16
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x24], 1
jmp 0x1401aa922
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x1401aa961
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
ja 0x1401aa95f
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
ja 0x1401aa95f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
jmp 0x1401aa918
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x42]
and eax, 2
test eax, eax
jne 0x1401aaa1e
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jb 0x1401aa98a
cmp dword [rsp + 0x28], 0
jne 0x1401aaa1e
mov dword [rsp + 0x24], 1
jmp 0x1401aa99e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x1401aaa1e
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1401a9e00
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401aaa09
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax*4 + 4], edx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1401aab20
nop
jmp 0x1401aaa1e
cmp dword [rsp + 0x20], 5
je 0x1401aaa19
mov eax, dword [rsp + 0x20]
jmp 0x1401aab16
jmp 0x1401aa994
cmp dword [rsp + 0x28], 0
jne 0x1401aaa47
cmp dword [rsp + 0x20], 5
jne 0x1401aaa36
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x1401aaa3e
mov dword [rsp + 0x3c], 0x508
mov eax, dword [rsp + 0x3c]
jmp 0x1401aab16
mov eax, dword [rsp + 0x28]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1401a9e50
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401aaa87
cmp dword [rsp + 0x20], 5
jne 0x1401aaa76
mov dword [rsp + 0x40], 0xffffffff
jmp 0x1401aaa7e
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
jmp 0x1401aab16
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x78], eax
mov rcx, qword [rsp + 0x70]
call fcn.1401aa6b0
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4 + 4]
cmp eax, dword [rsp + 0x2c]
jne 0x1401aaae8
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.1401a8a40
mov r8d, 0x30
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call fcn.14023ea30
test eax, eax
je 0x1401aab04
mov eax, dword [rsp + 0x28]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1401aab70
mov eax, 0xffffffff
jmp 0x1401aab16
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x3c], cx
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret