Function at 0x1400f0570
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
lea rcx, str.SeBackupPrivilege
call fcn.1400f2450
lea rcx, str.SeRestorePrivilege
call fcn.1400f2450
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov edx, 0x120089
lea r8d, [r14 + 7]
mov rcx, rdi
call fcn.1400fa520
cmp rax, 0xffffffffffffffff
jne 0x1400f0827
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400f4110
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.1403ec370
lea rcx, [rbp - 0x50]
call fcn.1400252f0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14001df00
lea rdx, str.__0x
mov rcx, rax
call fcn.140023f90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.14008ee00
mov rcx, rax
lea rdx, [0x1404e22dc]
call fcn.140023f90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov dword [rsp + 0x50], 0x12
mov rcx, qword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400f06c3
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400f06c3
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x30]
cmovb rdx, qword [rbp + 0x30]
jmp 0x1400f06e6
test cl, 4
jne 0x1400f0720
mov rax, qword [rbp]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400f0720
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rcx, dword [rax]
lea rdx, [rdx + rcx*2]
sub rdx, r9
mov rax, r9
sar rdx, 1
test rax, rax
je 0x1400f0720
lea rcx, [rsp + 0x70]
cmp rdx, 7
ja 0x1400f071a
mov qword [rbp - 0x80], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.1403ebbf0
mov word [rsp + rbx + 0x70], r14w
jmp 0x1400f0720
call fcn.140023ce0
nop
lea rcx, [rbp - 0x50]
call fcn.140024270
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400f076a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f0765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f084f
call fcn.14014f510
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
test rsi, rsi
je 0x1400f07e6
mov rax, qword [rsi]
mov r10, qword [rax + 0x20]
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
cmp qword [rdi + 0x18], 7
jbe 0x1400f07a1
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
lea rax, str.Error_opening_file__s_:__s
mov qword [rsp + 0x30], rax
lea rax, str.FileStreamUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x79
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileStreamUtils_Win32.cpp
lea rdx, str.mb::common::io::FileStreamUtils::OpenExistingFileForReading
mov rcx, rsi
call r10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400f0823
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f081e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f0849
call fcn.14014f510
xor al, al
jmp 0x1400f082c
mov qword [rbx], rax
mov al, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fa1c
int3
call fcn.14015fa1c
int3