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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rbx, r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x50], rbx
lea r14, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000a8c37
test byte [rcx + 0x1c], 2
je 0x1000a8c37
cmp byte [rcx + 0x19], 4
jb 0x1000a8c37
mov edx, 0x1a
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
xor r15d, r15d
cmp rbx, r15
jne 0x1000a8c57
lea r8, [0x100009118]
mov edx, 0x1f5
lea rcx, [0x10000ae40]
call fcn.100099ad8
xor edx, edx
mov r8d, 0xd0
mov rcx, rbx
call sub.msvcrt.dll_memset
nop
movdqu xmm0, xmmword [r13]
movdqu xmmword [rsp + 0x20], xmm0
lea rdi, [r12 + 0x70]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1000bb964
cmp eax, 0xffffffff
jne 0x1000a8ca4
mov dword [rsp + 0x44], 0x80780003
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x44]
call sub.msvcrt.dll__CxxThrowException
mov edx, eax
mov rcx, rdi
call fcn.1000bc9a0
mov rsi, rax
mov r8d, 7
mov rdx, rax
mov rcx, rdi
call fcn.1000bc77c
cmp eax, 1
je 0x1000a9080
mov r8d, 7
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, 2
je 0x1000a9080
mov r8d, 2
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
mov dword [rbx + 0x18], eax
mov r9d, 1
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1000bc588
lea rax, [rsp + 0x20]
mov rdx, qword [rax]
cmp rdx, qword [r13]
jne 0x1000a8d2c
mov rdx, qword [rax + 8]
cmp rdx, qword [r13 + 8]
jne 0x1000a8d2c
mov eax, r15d
jmp 0x1000a8d31
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, r15d
je 0x1000a8d87
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000a8d63
test byte [rcx + 0x1c], 2
je 0x1000a8d63
cmp byte [rcx + 0x19], 2
jb 0x1000a8d63
mov edx, 0x1c
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
mov eax, dword [r12 + 0xc]
neg eax
sbb ecx, ecx
add ecx, 0x80780002
mov dword [rsp + 0x40], ecx
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
movdqu xmm0, xmmword [r13]
movdqu xmmword [rbx], xmm0
mov r8d, 8
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x10], rax
mov r8d, 5
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x20], rax
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1000ad380
cmp eax, r15d
jge 0x1000a8e05
mov dword [rsp + 0x3c], eax
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x3c]
call sub.msvcrt.dll__CxxThrowException
mov r8d, 4
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
mov dword [rbx + 0x1c], eax
mov r8d, 3
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x38], rax
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1000ad664
cmp eax, r15d
jge 0x1000a8e6d
mov dword [rsp + 0x30], eax
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
mov rdx, rbx
mov rcx, r12
call fcn.1000a94e4
mov r13d, eax
cmp eax, r15d
jge 0x1000a8e95
mov dword [rsp + 0x34], eax
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll__CxxThrowException
mov r8d, 6
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
mov cl, al
and cl, 1
mov byte [rsp + 0x20], cl
shr eax, 1
and al, 1
mov byte [rsp + 0x21], al
movzx eax, word [rsp + 0x20]
mov word [rbx + 0x60], ax
xor r9d, r9d
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1000bc690
mov r11, qword [rsp + 0x20]
mov qword [rbx + 0x64], r11
mov r9d, 9
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1000bc588
movdqu xmm5, xmmword [rsp + 0x20]
movdqu xmmword [rbx + 0x6c], xmm5
mov r8d, 0xa
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x80], rax
mov r8d, 0xb
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x88], rax
mov r8d, 0xc
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, 1
sete al
mov byte [rbx + 0x90], al
mov r8d, 0xd
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc37c
mov rdx, rax
mov rcx, r12
call fcn.1000aa284
mov qword [rbx + 0x98], rax
mov r8d, 0xe
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
mov word [rbx + 0xa0], ax
mov r8d, 0xf
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, 1
sete al
mov byte [rbx + 0xa2], al
mov r8d, 0x11
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
or r12d, 0xffffffff
cmp eax, r12d
cmove eax, r15d
mov dword [rbx + 0xa4], eax
mov r8d, 0x12
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, r12d
cmove eax, r15d
mov byte [rbx + 0xa8], al
mov dword [rbx + 0xb8], r15d
mov r8d, 0x13
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, 1
sete al
mov byte [rbx + 0xbc], al
mov r8d, 0x14
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, r12d
cmove eax, r15d
mov dword [rbx + 0xc0], eax
mov r8d, 0x15
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, r12d
cmove eax, r15d
mov dword [rbx + 0xc4], eax
mov r8d, 0x18
mov rdx, rsi
mov rcx, rdi
call fcn.1000bc77c
cmp eax, r12d
cmove eax, r15d
mov byte [rbx + 0xc8], al
mov rcx, rbx
call fcn.1000a842c
jmp 0x1000a90de
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000a90ad
test byte [rcx + 0x1c], 2
je 0x1000a90ad
cmp byte [rcx + 0x19], 2
jb 0x1000a90ad
mov edx, 0x1b
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
mov eax, dword [r12 + 0xc]
neg eax
sbb ecx, ecx
add ecx, 0x80780002
mov dword [rsp + 0x38], ecx
lea rdx, [0x1001613c8]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
nop
lea r14, [0x1001653b8]
mov r13d, dword [rsp + 0x20]
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000a910e
test byte [rcx + 0x1c], 2
je 0x1000a910e
cmp byte [rcx + 0x19], 4
jb 0x1000a910e
mov edx, 0x1d
mov r9d, r13d
lea r8, [0x1000036f8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
mov eax, r13d
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret