Function at 0x140013c70
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 r14d, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x140272a70]
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 rbx, [rsp + 0x90]
mov rcx, rbx
mov r9d, 0x42
call fcn.140131450
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.140106c40
mov qword [rsp + 0xd8], Ordinal_14
mov al, byte [0x1402c525b]
test al, al
jne 0x140014047
mov rcx, qword [rsi]
xor ebx, ebx
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140013ded
test r14d, r14d
jne 0x140013e4a
mov r8d, 2
mov ebp, 4
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x140013d90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140014011
mov rax, rbx
inc rax
cmp rax, 2
jb 0x140013d83
mov qword [rsi + 0x40], rbx
call fcn.1401054e0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
inc rbx
cmp rbx, 2
jb 0x140013e2b
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
or rax, rbx
jne 0x140013fa0
mov rcx, rsi
call fcn.1400140e0
xor ebx, ebx
test rax, rax
jle 0x140013ded
mov rdi, rax
xor r14d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rdx
mov edx, ebp
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140013e2b
add rax, r14
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov bl, 1
lea rcx, [rsp + 0x30]
call fcn.14014a900
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140013e11
call fcn.14019d280
int3
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140013ded
mov rbx, qword [rdi + 8]
mov r9, rbx
shr r9, 0x20
mov r8d, 4
mov ebp, 2
jmp 0x140013d36
dec r14d
cmp r14d, 3
ja case.default.0x140013e65
lea rax, [0x14028bf5c]
movsxd rdx, dword [rax + r14*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.140131450
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.140106c40
mov qword [rsp + 0xd0], Ordinal_14
mov al, byte [0x1402c525b]
test al, al
jne 0x1400140a6
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140013ee7
xor ebx, ebx
lea rcx, [rsp + 0x90]
call fcn.14014a900
jmp 0x140013ded
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 0x140013f4d
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14001402c
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140013f41
mov qword [rsi + 0x40], rdi
call fcn.1401054e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140013ed3
mov qword [rsp + 0x20], 0
xor ebx, ebx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140013ed5
movsxd rcx, dword [rax + 0x3c]
mov ecx, dword [rax + rcx + 0x50]
test rcx, rcx
je 0x140013ed3
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov bl, 1
jmp 0x140013ed5
call fcn.140152bb0
lea r14, [rax - 1]
test r14, 0xffffffff80000000
jne 0x1400140a3
and r14, rbx
neg rax
and rax, rbx
mov rdi, qword [rdi + 8]
xor r8d, r8d
mov rdx, rdi
add rdx, r14
setb r8b
mov rcx, r8
neg rcx
xor r8, rcx
setne r8b
xor ebx, ebx
test rax, rax
js 0x140013ded
test r8b, r8b
jne 0x140013ded
test rcx, rcx
js 0x140013ded
test rdx, rdx
je 0x140013ded
mov r8, rax
shr r8, 0x20
mov ebx, eax
jmp 0x140013dc7
call fcn.1401054e0
mov rcx, qword [rsi + 0x40]
call fcn.140184070
mov qword [rsi + 0x40], 0
jmp 0x140013d6e
call fcn.1401054e0
mov rcx, qword [rsi + 0x40]
call fcn.140184070
mov qword [rsi + 0x40], 0
jmp 0x140013f2e
movzx ecx, al
lea r9, [rsp + 0x70]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xe0]
mov qword [r8], rax
lea rdx, [rsp + 0xd8]
call fcn.1402003b0
jmp 0x140013d0c
mov r8d, 4
mov ebp, 2
jmp 0x140013d33
mov r8d, 8
mov ebp, 1
jmp 0x140013d33
mov ebp, 0xaaaaaaaa
xor r8d, r8d
jmp 0x140013d33
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.1402003b0
jmp 0x140013ec6