Function at 0x1000a9e7c
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 0x1000a9ee6
test byte [rcx + 0x1c], 2
je 0x1000a9ee6
cmp byte [rcx + 0x19], 4
jb 0x1000a9ee6
mov edx, 0x29
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
xor ebx, ebx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
cmp r13, rbx
jne 0x1000a9f0d
lea r8, [0x10000af98]
mov edx, 0x6d9
lea rcx, [0x10000ae40]
call fcn.100099ad8
cmp r15, rbx
jne 0x1000a9f2a
lea r8, [0x10000afa8]
mov edx, 0x6da
lea rcx, [0x10000ae40]
call fcn.100099ad8
mov dword [r13], ebx
mov qword [r15], rbx
mov edi, dword [r14 + 0x14]
sub edi, dword [r14 + 0x10]
add edi, 1
je 0x1000aa21f
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 0x1000a9fab
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000a9f92
test byte [rcx + 0x1c], 2
je 0x1000a9f92
cmp byte [rcx + 0x19], 1
jb 0x1000a9f92
imul edi, edi, 0x6c
mov edx, 0x2a
mov r9d, edi
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
mov dword [rsp + 0x24], 0x8007000e
lea rdx, [0x1001613c8]
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.1000befcc
mov r14d, ebx
mov dword [rsp + 0x108], r14d
cmp r14d, edi
jae 0x1000aa20f
lea rcx, [rsp + 0x50]
call fcn.1000beef8
cmp eax, 0xffffffff
jne 0x1000aa059
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa02f
test byte [rcx + 0x1c], 2
je 0x1000aa02f
cmp byte [rcx + 0x19], 2
jb 0x1000aa02f
mov edx, 0x2b
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
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, [0x1001613c8]
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.1000bc9a0
mov r15, rax
mov r9d, 1
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.1000bc588
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.1000bc588
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.1000bc690
mov r11, qword [rsp + 0x70]
mov qword [r14 + rsi + 0x20], r11
mov r8d, 3
mov rdx, r15
mov rcx, r13
call fcn.1000bc77c
mov dword [r14 + rsi + 0x28], eax
mov r9d, 5
mov r8, r15
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.1000bc588
movdqu xmm0, xmmword [rsp + 0x88]
movdqu xmmword [r14 + rsi + 0x2c], xmm0
mov r8d, 9
mov rdx, r15
mov rcx, r13
call fcn.1000bc77c
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.1000bc588
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.1000bc47c
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x20], 0x10
je 0x1000aa1b1
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, [0x1001613c8]
lea rcx, [rsp + 0x28]
call sub.msvcrt.dll__CxxThrowException
mov r9d, 7
mov r8, r15
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1000bc690
mov r11, qword [rsp + 0x38]
mov qword [r14 + rsi + 0x60], r11
mov r8d, 8
mov rdx, r15
mov rcx, r13
call fcn.1000bc77c
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 0x1000a9fea
mov r13, qword [rsp + 0x110]
mov r15, qword [rsp + 0x118]
mov qword [r15], rsi
mov dword [r13], edi
jmp 0x1000aa236
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000aa266
test byte [rcx + 0x1c], 2
je 0x1000aa266
cmp byte [rcx + 0x19], 4
jb 0x1000aa266
mov edx, 0x2c
mov r9d, ebx
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
mov eax, ebx
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret