Function at 0x140011d10
Capabilities:
Check if file exists
Get file size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, r8
mov rbx, rdx
xor r14d, r14d
mov dword [rsp + 0x44], r14d
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140011f96
test rdi, rdi
je 0x140011f92
mov rax, qword [rdi]
mov rsi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140017140
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.14019d6e0
lea edx, [r14 + 1]
lea rcx, [rbp - 0x50]
call fcn.1400055b0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400101e0
lea rdx, str.__0x
mov rcx, rax
call fcn.140007800
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.1400174d0
mov rcx, rax
lea rdx, [0x1402536f8]
call fcn.140007800
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
mov dword [rsp + 0x44], 0x12
mov rcx, qword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140011e45
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011e45
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x30]
cmovb rdx, qword [rbp + 0x30]
jmp 0x140011e68
test cl, 4
jne 0x140011ea9
mov rax, qword [rbp]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011ea9
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 0x140011ea9
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x140011e9d
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14019d040
mov word [rsp + rbx + 0x48], r14w
jmp 0x140011ea9
movzx r8d, byte [rsp + 0x40]
call fcn.14000abb0
nop
lea rcx, [rbp - 0x50]
call fcn.140004a20
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140011ef3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011eee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011fc2
call fcn.1401629f4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, str.Error_getting_file_size_:__s
mov qword [rsp + 0x30], rax
lea rax, str.FileStreamUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x97
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileStreamUtils_Win32.cpp
lea rdx, str.mb::common::io::FileStreamUtils::GetFileSize
mov rcx, rdi
call rsi
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140011f92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011fbc
call fcn.1401629f4
xor al, al
jmp 0x140011f9f
mov rax, qword [rbp - 0x60]
mov qword [rbx], rax
mov al, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140162ed0
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14017234c
int3
call fcn.14017234c
int3