Function at 0x1400187b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r15d, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401c7000]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x42
call fcn.1400916b0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400a94b0
mov qword [rsp + 0x98], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x140018a24
mov rcx, qword [rsi]
xor r14d, r14d
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14001893b
test r15d, r15d
jne 0x140018acd
mov r8d, 2
mov ebx, 4
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x1400188c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140018982
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400188b9
mov qword [rsi + 0x40], r14
call fcn.140078a00
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x140018ac5
mov dword [rsp + 0xa0], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov rax, rcx
or rax, rdx
jne 0x140018a56
mov rcx, rsi
call fcn.140018b50
xor r14d, r14d
test rax, rax
jle 0x14001893b
mov rdi, rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140018ac5
movsxd rcx, dword [rsp + 0xa0]
add rax, rcx
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov r14b, 1
mov qword [rsp + 0xa8], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400189fd
lea rcx, [rsp + 0x50]
call fcn.140094d00
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d4e20
mov eax, r14d
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140078a00
mov r15, qword [rsi + 0x40]
cmp qword [0x140208550], 0
je 0x1400189b8
mov rcx, qword [0x140208550]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x1401e8220]
mov qword [rsi + 0x40], 0
jmp 0x1400188a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401da154]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140018b3e
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400189f7
call qword [0x1401e8220]
mov rcx, rax
xor edx, edx
call fcn.14002a2a0
jmp 0x140018995
xor ecx, ecx
mov dl, 1
jmp 0x1400189f0
movzx ecx, al
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea rdx, [rsp + 0xa8]
mov r9d, 2
call fcn.140087840
jmp 0x140018955
movzx ecx, al
lea r9, [rsp + 0xa8]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xa0]
mov qword [r8], rax
lea rdx, [rsp + 0x98]
call fcn.140130c10
jmp 0x140018841
xor eax, eax
lea r14, [rsp + 0x30]
mov qword [r14], rax
lea r9, [rsp + 0xa8]
mov qword [r9], rax
lea r15, [rsp + 0xa0]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.14013fe50
mov rdi, qword [rdi + 8]
movsxd rax, dword [r15]
mov rdx, rax
sar rdx, 0x3f
add rax, rdi
adc rdx, 0
mov ecx, edx
and ecx, 1
neg rcx
xor rdx, rcx
setne dl
mov r14, qword [r14]
test r14, r14
js 0x140018ac5
test dl, dl
jne 0x140018ac5
test rcx, rcx
js 0x140018ac5
test rax, rax
je 0x140018ac5
mov r8, r14
shr r8, 0x20
jmp 0x140018908
xor r14d, r14d
jmp 0x14001893b
mov ebx, 0xaaaaaaaa
dec r15d
cmp r15d, 3
jbe 0x140018ae3
xor r8d, r8d
jmp 0x140018869
lea rax, [0x1401daecc]
movsxd rdx, dword [rax + r15*4]
add rdx, rax
jmp rdx
mov r8d, 4
mov ebx, 2
jmp 0x140018869
mov r8d, 8
mov ebx, 1
jmp 0x140018869
mov rcx, rsi
call fcn.14013fc60
mov r14d, eax
jmp 0x14001893b
mov r14, qword [rdi + 8]
mov r9, r14
shr r9, 0x20
mov r8d, 4
mov ebx, 2
jmp 0x14001886c
xor ecx, ecx
jmp 0x1400189ee