Function at 0x140103fa0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x140470090]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x42
call fcn.14020f920
xor r14d, r14d
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140201bd0
mov rcx, rsi
call fcn.1401fe320
test al, al
je 0x140104126
test edi, edi
jne 0x140104164
mov ebp, 2
mov edi, 4
xor r15d, r15d
mov rcx, rsi
call fcn.1400d5270
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x1401040ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14010421f
mov rax, r14
inc rax
cmp rax, 2
jb 0x1401040a0
mov qword [rsi + 0x40], r14
call fcn.14020f940
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x14010415f
mov dword [rsp + 0x3c], 0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rcx, qword [0x14048cc60]
jne 0x1401041a6
cmp rdx, qword [0x14048cc68]
jne 0x1401041a6
mov rcx, rsi
call fcn.140104590
xor r14d, r14d
test rax, rax
jle 0x140104126
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, edi
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14010415f
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.140201c60
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14010414a
call fcn.140297b50
int3
mov eax, r14d
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140104126
dec edi
cmp edi, 3
ja case.default.0x14010417d
lea rax, [0x14048b88c]
movsxd rcx, dword [rax + rdi*4]
add rcx, rax
jmp rcx
mov rcx, rsi
call fcn.140103e00
mov r14d, eax
jmp 0x140104126
mov r14, qword [rbx + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov edi, 2
jmp 0x140104042
xor eax, eax
lea r14, [rsp + 0x40]
mov qword [r14], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.140117d80
mov rbx, qword [rbx + 8]
movsxd rax, dword [r15]
mov rdx, rax
sar rdx, 0x3f
add rax, rbx
adc rdx, 0
mov ecx, edx
and ecx, 1
neg rcx
xor rdx, rcx
setne dl
mov r14, qword [r14]
test r14, r14
js 0x14010415f
test dl, dl
jne 0x14010415f
test rcx, rcx
js 0x14010415f
test rax, rax
je 0x14010415f
mov r8, r14
shr r8, 0x20
jmp 0x1401040fa
call fcn.14020f940
mov rcx, qword [rsi + 0x40]
call fcn.1401fa240
mov qword [rsi + 0x40], 0
jmp 0x14010408b
mov ebp, 4
mov edi, 2
jmp 0x14010403f
mov ebp, 8
mov edi, 1
jmp 0x14010403f
mov edi, 0xaaaaaaaa
xor ebp, ebp
jmp 0x14010403f