Function at 0x140025e60
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x118], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x50], r12
movaps xmm6, xmmword [0x140261350]
movaps xmmword [r15 + 0x40], xmm6
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 + 0xc0]
mov rcx, r14
mov r9d, 0x3a
call fcn.14011b9f0
mov rcx, r15
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call fcn.14010e570
test byte [0x140289010], 0x19
jne 0x14002632c
mov rcx, qword [rsi]
xor r14d, r14d
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140025f4f
lea rcx, [rsp + 0x60]
call fcn.140140790
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1401756e0
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
test ebx, ebx
jne 0x14002608f
mov ebx, 2
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
xor edx, edx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x140025fbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140026120
mov rax, r14
inc rax
cmp rax, 2
jb 0x140025faf
mov qword [rsi + 0x40], r14
call fcn.1400f24d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x140026118
mov r12, qword [rdi]
mov rax, qword [rdi + 8]
or rax, r12
jne 0x140026240
mov rcx, rsi
call fcn.1400263d0
xor r14d, r14d
test rax, rax
jle 0x140025f18
xor r15d, r15d
xor r8d, r8d
xor edx, edx
mov qword [rsi + 0x38], rax
and ebx, 2
add ebx, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rdx
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x140026345
mov rax, qword [0x14028a5a0]
and rax, rdi
cmp rax, qword [0x14028a588]
je 0x14002634f
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x140026118
mov rax, qword [0x14028a5a0]
mov rdx, rax
and rdx, rdi
mov rbx, rdi
add rbx, r15
mov rcx, qword [0x14028a588]
cmp rdx, rcx
je 0x14002635c
and rax, rbx
cmp rax, rcx
je 0x140026372
mov qword [rsi + 0x30], rbx
mov r14b, 1
jmp 0x140025f18
cmp ebx, 3
jne 0x1400262ab
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x50], r12
movaps xmmword [rbx + 0x40], xmm6
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 + 0x38]
mov rcx, rdi
mov r9d, 0x1b
call fcn.14011b9f0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call fcn.14010e570
test byte [0x140289010], 0x19
jne 0x140026375
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14002615a
xor r14d, r14d
lea rcx, [rsp + 0xc0]
call fcn.140140790
jmp 0x140025f18
xor r14d, r14d
jmp 0x140025f18
call fcn.1400f24d0
mov r15, qword [rsi + 0x40]
cmp qword [0x1402a1a18], 0
je 0x1400262e4
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [case.0x1401d7990.0]
mov qword [rsi + 0x40], 0
jmp 0x140025f9a
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 rdi, rax
cmp qword [rsi + 0x40], rax
je 0x1400261bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400262c9
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400261b3
mov qword [rsi + 0x40], rdi
call fcn.1400f24d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140026103
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x14002638e
mov rax, qword [0x14028a5a0]
and rax, rdi
cmp rax, qword [0x14028a588]
je 0x140026398
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x140026103
movsxd rax, dword [rdi + 0x3c]
mov eax, dword [rdi + rax + 0x50]
mov qword [rsi + 0x38], rax
mov r14b, 1
jmp 0x140026106
call fcn.14013e5a0
mov rcx, qword [rax + 0x58]
lea r15, [rcx - 1]
test r15, 0xffffffff80000000
jne 0x1400263a5
and r15, r12
neg rcx
mov rax, qword [rdi + 8]
xor r9d, r9d
mov rdx, rax
add rdx, r15
setb r9b
mov r8, r9
neg r8
xor r9, r8
setne r9b
xor r14d, r14d
and rcx, r12
js 0x140025f18
test r9b, r9b
jne 0x140025f18
test r8, r8
js 0x140025f18
mov r8, rcx
shr r8, 0x20
mov r14d, ecx
jmp 0x140025ff4
cmp ebx, 2
jne 0x1400263a8
mov r14, qword [rdi + 8]
mov r9, r14
shr r9, 0x20
mov ebx, 4
jmp 0x140025f5f
call fcn.1400f24d0
mov rcx, qword [rsi + 0x40]
call fcn.1401571e0
mov qword [rsi + 0x40], 0
jmp 0x14002619e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400263be
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140026326
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x140026137
xor ecx, ecx
mov dl, 1
jmp 0x14002631c
lea rdx, [rsp + 0x38]
mov qword [rdx], r14
lea rcx, str.ScopedBlockingCall
call fcn.1401d6b20
jmp 0x140025f08
call fcn.1400ebe70
jmp 0x140026030
mov rcx, rdi
call fcn.1400eaf60
jmp 0x140026047
mov rcx, rdi
mov rdx, r15
call fcn.1401712b0
test al, al
jne 0x140026083
int3
int3
lea rdx, [rsp + 0x58]
mov qword [rdx], rdi
lea rcx, str.ScopedBlockingCall
call fcn.1401d6b20
jmp 0x1400260f6
call fcn.1400ebe70
jmp 0x140026208
mov rcx, rdi
call fcn.1400eaf60
jmp 0x14002621f
int3
cmp ebx, 1
jne 0x1400263b7
mov ebx, 4
jmp 0x140025f5c
xor ebx, ebx
jmp 0x140025f5c
xor ecx, ecx
jmp 0x14002631a