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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov r15, r9
mov r13, r8
mov r14, rdx
lea r12, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa2ba
test byte [rcx + 0x1c], 2
je 0x1000aa2ba
cmp byte [rcx + 0x19], 4
jb 0x1000aa2ba
mov edx, 0x29
lea r8, [0x1000036b8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
xor ebx, ebx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
cmp r13, rbx
jne 0x1000aa2e1
lea r8, [0x10000af08]
mov edx, 0x6d9
lea rcx, [0x10000adb0]
call fcn.10009a050
cmp r15, rbx
jne 0x1000aa2fe
lea r8, [0x10000af18]
mov edx, 0x6da
lea rcx, [0x10000adb0]
call fcn.10009a050
mov dword [r13], ebx
mov qword [r15], rbx
mov edi, dword [r14 + 0x14]
sub edi, dword [r14 + 0x10]
add edi, 1
je 0x1000aa5f3
mov r13d, edi
imul r13, r13, 0x6c
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp rax, rbx
jne 0x1000aa37f
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa366
test byte [rcx + 0x1c], 2
je 0x1000aa366
cmp byte [rcx + 0x19], 1
jb 0x1000aa366
imul edi, edi, 0x6c
mov edx, 0x2a
mov r9d, edi
lea r8, [0x1000036b8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
mov dword [rsp + 0x24], 0x8007000e
lea rdx, [0x100161530]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll__CxxThrowException
mov r8, r13
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], ebx
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1000bf03c
mov r14d, ebx
mov dword [rsp + 0x108], r14d
cmp r14d, edi
jae 0x1000aa5e3
lea rcx, [rsp + 0x50]
call fcn.1000bef68
cmp eax, 0xffffffff
jne 0x1000aa42d
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa403
test byte [rcx + 0x1c], 2
je 0x1000aa403
cmp byte [rcx + 0x19], 2
jb 0x1000aa403
mov edx, 0x2b
lea r8, [0x1000036b8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0xc]
neg eax
sbb ecx, ecx
add ecx, 0x80780002
mov dword [rsp + 0x2c], ecx
lea rdx, [0x100161530]
lea rcx, [rsp + 0x2c]
call sub.msvcrt.dll__CxxThrowException
mov r13, qword [rsp + 0x100]
add r13, 0x1d8
mov edx, eax
mov rcx, r13
call fcn.1000bc9ec
mov r15, rax
mov r9d, 1
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.1000bc5d4
imul r14, r14, 0x6c
movdqu xmm0, xmmword [rsp + 0x78]
movdqu xmmword [r14 + rsi], xmm0
xor r9d, r9d
mov r8, r15
lea rdx, [rsp + 0xa8]
mov rcx, r13
call fcn.1000bc5d4
movdqu xmm0, xmmword [rsp + 0xa8]
movdqu xmmword [r14 + rsi + 0x10], xmm0
mov r9d, 2
mov r8, r15
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.1000bc6dc
mov r11, qword [rsp + 0x70]
mov qword [r14 + rsi + 0x20], r11
mov r8d, 3
mov rdx, r15
mov rcx, r13
call fcn.1000bc7c8
mov dword [r14 + rsi + 0x28], eax
mov r9d, 5
mov r8, r15
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.1000bc5d4
movdqu xmm0, xmmword [rsp + 0x88]
movdqu xmmword [r14 + rsi + 0x2c], xmm0
mov r8d, 9
mov rdx, r15
mov rcx, r13
call fcn.1000bc7c8
cmp eax, 0xffffffff
cmove eax, ebx
mov dword [r14 + rsi + 0x3c], eax
mov r9d, 4
mov r8, r15
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.1000bc5d4
movdqu xmm0, xmmword [rsp + 0x98]
movdqu xmmword [r14 + rsi + 0x40], xmm0
lea r9, [rsp + 0x20]
mov r8d, 6
mov rdx, r15
mov rcx, r13
call fcn.1000bc4c8
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x20], 0x10
je 0x1000aa585
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0xc]
neg eax
sbb ecx, ecx
add ecx, 0x80780002
mov dword [rsp + 0x28], ecx
lea rdx, [0x100161530]
lea rcx, [rsp + 0x28]
call sub.msvcrt.dll__CxxThrowException
mov r9d, 7
mov r8, r15
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1000bc6dc
mov r11, qword [rsp + 0x38]
mov qword [r14 + rsi + 0x60], r11
mov r8d, 8
mov rdx, r15
mov rcx, r13
call fcn.1000bc7c8
mov dword [r14 + rsi + 0x68], eax
mov rax, qword [rsp + 0x48]
movdqu xmm0, xmmword [rax]
movdqu xmmword [r14 + rsi + 0x50], xmm0
mov r14d, dword [rsp + 0x108]
inc r14d
mov dword [rsp + 0x108], r14d
jmp 0x1000aa3be
mov r13, qword [rsp + 0x110]
mov r15, qword [rsp + 0x118]
mov qword [r15], rsi
mov dword [r13], edi
jmp 0x1000aa60a
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa63a
test byte [rcx + 0x1c], 2
je 0x1000aa63a
cmp byte [rcx + 0x19], 4
jb 0x1000aa63a
mov edx, 0x2c
mov r9d, ebx
lea r8, [0x1000036b8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
mov eax, ebx
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret