Function at 0x1400b86b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov qword [rbp - 9], 0xfffffffffffffffe
mov rsi, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400b86df
mov rdx, qword [r8]
mov rax, qword [r8 + 0x10]
mov qword [rbp - 0x69], rdx
mov qword [rbp - 0x61], rax
lea r8, [rbp - 0x69]
mov rdx, qword [rcx]
lea rcx, [rbp + 0xf]
call fcn.1400e78bc
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1400b870b
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b87fc
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400b8726
mov rcx, qword [rdi]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x6f], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400b875f
mov rdx, qword [rdi]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rdx
lea rdx, [0x14017a218]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, str.onecore_amcore_smartscreencommonwindows_src_file.cpp
mov edx, 0x1ca
call fcn.1400ea984
mov ecx, 0x68
call fcn.14011006c
mov rbx, rax
mov qword [rbp + 0x67], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x140174af0]
mov qword [rbx], rax
lea r14, [rbx + 0x10]
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 1]
call fcn.140043f48
mov r8, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400ea4e8
nop
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], rbx
mov dl, 1
mov byte [rbp - 0x49], dl
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
setbe al
test al, al
je 0x1400b8816
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, byte [rbp - 0x49]
jmp 0x1400b8812
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov byte [rbp - 0x59], al
xor dl, dl
mov byte [rbp - 0x49], dl
mov r14, qword [rbp - 0x59]
mov cl, byte [rbp + 0x6f]
mov byte [rbp + 0x69], cl
mov al, byte [rbp + 0x6f]
mov byte [rbp + 0x6f], al
mov byte [rbp + 0x71], cl
xor eax, eax
test dl, dl
je 0x1400b88a1
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400b5e20.0]
mov qword [rbp - 0x29], rax
mov dl, byte [rbp - 0x21]
mov byte [rbp - 0x21], dl
cmp byte [rbp - 0x61], 0
cmovne rax, qword [rbp - 0x69]
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rcx, r14
mov rax, rbx
call qword [case.0x1400b5e20.0]
movaps xmm1, xmmword [rbp - 0x19]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x39]
mov qword [rbp - 0x41], rax
movq qword [rsi], xmm1
psrldq xmm1, 8
movq qword [rsi + 8], xmm1
mov byte [rsi + 0x10], 1
jmp 0x1400b88b9
xorps xmm0, xmm0
and qword [rbp - 0x41], 0
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov byte [rsi], al
mov byte [rsi + 0x10], al
movdqu xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x41]
call fcn.14003c848
nop
lea rcx, [rbp - 0x59]
call fcn.14000c91c
nop
lea rcx, [rbp + 0xf]
call fcn.1400124b0
mov rax, rsi
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret