Function at 0x1400086f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdx, 0xffffffff80000002
mov r8d, 0x201
lea rcx, [rbp - 0x50]
call fcn.1400061d0
nop
xor edi, edi
cmp qword [rbp - 0x40], rdi
jne 0x140008825
mov rdx, 0xffffffff80000001
lea r8d, [rdi + 1]
lea rcx, [rbp - 0x30]
call fcn.1400061d0
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x1400087d6
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400087a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14000881a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008814
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
cmp qword [rbp - 0x40], 0
je 0x140008916
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov r8d, 0x28
lea rdx, str.......plug_insTest_Tools_aaFEAT.api
lea rcx, [rbp - 0x30]
call fcn.140003d30
nop
lea r9, [rbp - 0x30]
mov rsi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x18]
cmp r14, 7
cmova r9, rsi
mov r12, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r12
mov r15, qword [rbp - 0x20]
cmp r15, rax
ja 0x1400088a5
lea rax, [r12 + r15]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 7
cmova rbx, qword [rbp - 0x50]
lea rcx, [rbx + r12*2]
lea r8, [r15 + r15]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + r12]
mov word [rbx + rax*2], di
jmp 0x1400088c1
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140004eb0
mov r14, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x30]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
cmp r14, 7
jbe 0x140008916
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000890d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000890d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140019098
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000895a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008954
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140019140
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret