Function at 0x140015490
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x1401fa990]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x42
call fcn.1400d5a00
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400a5640
mov qword [rsp + 0xd8], 0xb
mov al, byte [0x14023df8b]
test al, al
jne 0x1400158cd
mov rcx, qword [rsi]
xor r14d, r14d
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14001560e
test ebx, ebx
jne 0x14001566d
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 0x1400155af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140015837
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400155a3
mov qword [rsi + 0x40], r14
call fcn.1400a7ad0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x14001564d
mov r14, qword [rdi]
mov rax, qword [rdi + 8]
or rax, r14
jne 0x1400157c4
mov rcx, rsi
call fcn.140015970
xor r14d, r14d
test rax, rax
jle 0x14001560e
mov rdi, rax
xor r15d, r15d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rdx
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14001564d
add rax, r15
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov r14b, 1
lea rcx, [rsp + 0x30]
call fcn.1401009d0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x140015632
call fcn.1401363f0
int3
mov eax, r14d
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14001560e
mov r14, qword [rdi + 8]
mov r9, r14
shr r9, 0x20
mov r8d, 4
mov ebx, 2
jmp 0x140015556
dec ebx
cmp ebx, 3
ja case.default.0x140015686
lea rax, [0x140212318]
movsxd rdx, dword [rax + rbx*4]
add rdx, rax
jmp rdx
lea rbx, [rsp + 0x90]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r9d, 0x1c
call fcn.1400d5a00
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400a5640
mov qword [rsp + 0xd0], 0xb
mov al, byte [0x14023df8b]
test al, al
jne 0x14001592c
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140015709
xor r14d, r14d
lea rcx, [rsp + 0x90]
call fcn.1401009d0
jmp 0x14001560e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rsi + 0x40]
cmp rcx, rax
je 0x14001576f
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14001586d
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140015763
mov qword [rsi + 0x40], rdi
call fcn.1400a7ad0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400156f4
mov qword [rsp + 0x20], 0
xor r14d, r14d
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x1400156f7
movsxd rcx, dword [rax + 0x3c]
mov ecx, dword [rax + rcx + 0x50]
test rcx, rcx
je 0x1400156f4
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov r14b, 1
jmp 0x1400156f7
call fcn.1400f42b0
lea r15, [rax - 1]
test r15, 0xffffffff80000000
jne 0x140015929
and r15, r14
neg rax
and rax, r14
mov rdi, qword [rdi + 8]
xor r8d, r8d
mov rdx, rdi
add rdx, r15
setb r8b
mov rcx, r8
neg rcx
xor r8, rcx
setne r8b
xor r14d, r14d
test rax, rax
js 0x14001560e
test r8b, r8b
jne 0x14001560e
test rcx, rcx
js 0x14001560e
test rdx, rdx
je 0x14001560e
mov r8, rax
shr r8, 0x20
mov r14d, eax
jmp 0x1400155e7
call fcn.1400a7ad0
mov r15, qword [rsi + 0x40]
cmp qword [0x14023e3e8], 0
je 0x140015888
mov rcx, qword [0x14023e3e8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x14021e390]
mov qword [rsi + 0x40], 0
jmp 0x14001558e
call fcn.1400a7ad0
mov rcx, qword [rsi + 0x40]
call fcn.140110390
mov qword [rsi + 0x40], 0
jmp 0x140015750
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140211538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001595e
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400158c7
call qword [0x14021e390]
mov rcx, rax
xor edx, edx
call fcn.14001e8b0
jmp 0x14001584a
xor ecx, ecx
mov dl, 1
jmp 0x1400158c0
movzx ecx, al
lea r9, [rsp + 0x70]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xe0]
mov qword [r8], rax
lea rdx, [rsp + 0xd8]
call fcn.1401897d0
jmp 0x14001552c
mov ebx, 0xaaaaaaaa
xor r8d, r8d
jmp 0x140015553
mov r8d, 4
mov ebx, 2
jmp 0x140015553
mov r8d, 8
mov ebx, 1
jmp 0x140015553
int3
movzx ecx, al
lea r9, [rsp + 0xe0]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xd8]
mov qword [r8], rax
lea rdx, [rsp + 0xd0]
call fcn.1401897d0
jmp 0x1400156e7
xor ecx, ecx
jmp 0x1400158be