Function at 0x14002ebf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x14002ec18
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002ed0f
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14002ec34
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x178]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140026c00
mov rbx, rax
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._util_file_filesystem_win.cc
mov r9d, 0x75
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea rcx, [rsp + 0x70]
call fcn.140028500
mov rcx, rax
lea rdx, str.GetFileAttributes
call fcn.140007ed0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14002ecad
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400089f0
lea rcx, [rsp + 0x70]
call fcn.140028830
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14002eee6
mov rcx, qword [rsp + 0x178]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed05
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef4e
call fcn.14008df80
jmp 0x14002eee6
test eax, 0x410
jne 0x14002eee6
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14002ed27
mov rcx, qword [rbx]
lea rdx, [rsp + 0x198]
call fcn.1400a492c
test eax, eax
jne 0x14002ed45
mov rax, qword [rsp + 0x1b0]
jmp 0x14002eee8
cmp qword [rbx + 0x18], 8
mov qword [rsp + 0x218], rbp
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x1f0], r12
mov qword [rsp + 0x1e8], r14
jb 0x14002ed6f
mov rbx, qword [rbx]
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._util_file_filesystem_win.cc
mov r9d, 0xac
mov dword [rsp + 0x20], 2
lea rdx, str.unsigned___int64___cdecl_crashpad::GetFileSize_const_class_base::FilePath__
lea rcx, [rsp + 0x70]
call fcn.140028500
mov rcx, rax
lea rdx, str.stat
call fcn.140007ed0
xor r12d, r12d
lea rcx, [rsp + 0x40]
mov rdx, rax
mov ebp, r12d
mov r14, rax
call fcn.140009fd0
lea edi, [r12 + 4]
cmp byte [rsp + 0x48], bpl
je 0x14002ee90
mov rcx, qword [r14]
mov qword [rsp + 0x220], rsi
mov qword [rsp + 0x1e0], r15
movsxd rdx, dword [rcx + 4]
mov rcx, qword [rdx + r14 + 0x40]
mov rsi, qword [rcx + 8]
mov rcx, rsi
mov qword [rsp + 0x38], rsi
mov rax, qword [rsi]
call qword [rax + 8]
lea rcx, [rsp + 0x30]
call fcn.1400094b0
mov r15, rax
test rsi, rsi
je 0x14002ee2d
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
test rax, rax
je 0x14002ee2d
mov r8, qword [rax]
lea edx, [rdi - 3]
mov rcx, rax
call qword [r8]
mov rax, qword [r14]
lea r8, [rsp + 0x30]
mov r10, qword [r15]
lea rdx, [rsp + 0x178]
mov byte [rsp + 0x30], bpl
mov rcx, r15
mov qword [rsp + 0x28], rbx
movsxd r9, dword [rax + 4]
add r9, r14
mov rax, qword [r9 + 0x48]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movzx eax, byte [r9 + 0x58]
movdqa xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], al
call qword [r10 + 0x18]
cmp byte [rsp + 0x178], bpl
mov r15, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x220]
cmovne ebp, edi
mov rax, qword [r14]
movsxd rcx, dword [rax + 4]
add rcx, r14
mov r14, qword [rsp + 0x1e8]
cmp qword [rcx + 0x48], r12
cmovne edi, r12d
mov r12, qword [rsp + 0x1f0]
or edi, dword [rcx + 0x10]
or edi, ebp
mov rbp, qword [rsp + 0x218]
and edi, 0x17
mov dword [rcx + 0x10], edi
and edi, dword [rcx + 0x14]
jne 0x14002ef01
lea rcx, [rsp + 0x40]
call fcn.14000a580
lea rcx, [rsp + 0x70]
call fcn.140028830
mov rdi, qword [rsp + 0x1f8]
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14008e050
add rsp, 0x200
pop rbx
ret
test dil, 4
je 0x14002ef10
lea rbx, str.ios_base::badbit_set
jmp 0x14002ef26
test dil, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400103c0
mov r8, rax
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140009f00
mov rcx, rax
call fcn.140007380
int3
call fcn.14009464c
int3