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

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rbp, qword [rcx + 0xf0]
mov r14, rdx
mov eax, dword [rcx + 0xa8]
xor edx, edx
mov r15d, dword [rcx + 0xa4]
xor sil, sil
mov dword [r11 + 8], edx
mov rbx, rcx
mov qword [r11 + 0x20], rdx
mov dword [rcx + 8], edx
mov rdi, qword [rbp + 0x328]
mov dword [rsp + 0x90], eax
cmp qword [rcx + 0xf8], rdi
je 0x1400a685a
mov qword [rcx + 0xf8], rdi
mov sil, 1
mov qword [rsp + 0x88], r12
cmp byte [rcx + 0xc], dl
jne 0x1400a693a
mov rax, qword [rbp + 0x320]
cmp dword [rax + 0x1118], edx
je 0x1400a693a
mov r12, qword [rcx + 0x288]
lea r9, [rsp + 0x98]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x80]
mov rax, qword [rcx + 0x2e0]
call qword [rax + 0x88]
mov dword [rbx + 8], eax
test eax, eax
jne 0x1400a6b56
mov r9, qword [rsp + 0x98]
lea rcx, [rdi + 0x238]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rdi + 0x228]
call qword [r12 + 0x18]
test al, al
je 0x1400a6901
mov r9, qword [rsp + 0x98]
mov rdx, rdi
mov r8d, dword [rsp + 0x80]
mov rcx, qword [rbp + 0x320]
call qword [r12 + 8]
mov sil, 1
mov rax, qword [rdi + 0x240]
xor edx, edx
mov qword [rbx + 0x68], rax
mov byte [rbx + 0x61], 0
mov eax, dword [rdi + 0x228]
mov dword [rbx + 0x90], eax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x94], eax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x98], rax
mov rax, qword [rbp + 8]
mov edi, dword [rbx + 0x5c]
mov rcx, qword [rax + 0x80]
movzx eax, word [rcx + 0x1a]
shl eax, 0x10
cmp edi, eax
je 0x1400a695b
mov dword [rbx + 0x5c], eax
mov sil, 1
mov edi, eax
movzx eax, byte [rbx + 0x10]
and al, 1
mov byte [rbx + 0x100], al
mov rax, qword [r14]
cmp rax, qword [rbx + 0x14]
jne 0x1400a697a
mov rax, qword [r14 + 8]
cmp rax, qword [rbx + 0x1c]
je 0x1400a69b2
movups xmm0, xmmword [r14]
mov sil, 1
movups xmmword [rbx + 0x14], xmm0
mov qword [rbx + 0x24], 0
movups xmm0, xmmword [r14]
movups xmmword [rbx + 0x2c], xmm0
movsd xmm1, qword [r14 + 0x10]
movsd qword [rbx + 0x3c], xmm1
mov dword [rbx + 0x50], 0x10000
mov qword [rbx + 0x44], 0x10000
mov dword [rbx + 0x4c], edx
mov ecx, dword [rbx + 0x10]
mov eax, ecx
and eax, 2
cmp byte [rbx + 0x102], al
je 0x1400a69cf
shr ecx, 1
and cl, 1
mov byte [rbx + 0x102], cl
jmp 0x1400a69d8
test sil, sil
je 0x1400a6b56
mov esi, dword [rbx + 0xa0]
mov eax, 0x3e8
test esi, esi
mov qword [rsp + 0x40], r13
mov r13d, 0x4b0000
cmove esi, eax
mov eax, 0x40000
cmp edi, eax
cmovl edi, eax
mov eax, 0x3e80000
cdq
idiv esi
mov r14d, eax
mov rax, qword [rbp + 0x328]
mov r8d, dword [rax + 0x194]
shl r8d, 0x10
mov dword [rbx + 0x124], r8d
test r8d, r8d
jg 0x1400a6a3a
mov edx, r14d
mov ecx, r13d
call fcn.140064540
mov r8d, eax
mov dword [rbx + 0x124], eax
mov edx, edi
test r15d, r15d
jle 0x1400a6a8a
shl esi, 0x10
mov ecx, esi
call fcn.140064540
cmp r15d, eax
jg 0x1400a6a5c
mov edx, edi
mov ecx, esi
call fcn.140064540
mov r15d, eax
lea rsi, [rbx + 0x12c]
mov dword [rsi], 0
lea r12, [rbx + 0x104]
test r15d, r15d
je 0x1400a6abb
cmp r14d, 0x28f
jl 0x1400a6abb
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov dword [rsi], eax
jmp 0x1400a6abb
movzx eax, byte [rbx + 0x102]
lea r12, [rbx + 0x104]
mov qword [rsp + 0x30], r12
lea rsi, [rbx + 0x12c]
mov byte [rsp + 0x28], al
mov r9, rsi
mov ecx, r14d
mov dword [rsp + 0x20], 0
call fcn.1400a5e10
mov rax, qword [rbp + 0x328]
mov eax, dword [rax + 0x190]
shl eax, 0x10
test eax, eax
jle 0x1400a6ad9
add eax, eax
cmp dword [rbx + 0x124], eax
jg 0x1400a6adf
mov r13d, 0x6e0000
mov edx, r14d
mov ecx, r13d
call fcn.140064540
mov ecx, dword [rsp + 0x90]
lea r9, [rbx + 0x130]
mov dword [rbx + 0x128], eax
mov edx, edi
movzx r8d, byte [rbx + 0x102]
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x28], r8b
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov ecx, r14d
call fcn.1400a5e10
cmp dword [rsi], 0
mov r13, qword [rsp + 0x40]
jne 0x1400a6b38
cmp dword [rbx + 0x130], 0
jne 0x1400a6b38
xor al, al
jmp 0x1400a6b3a
mov al, 1
mov byte [rbx + 0x101], al
lea rcx, [rbx + 0x138]
mov rdx, rbx
mov byte [rbx + 0x134], 0
call fcn.1400a5770
mov r12, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret