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

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140024320
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002442b
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002433c
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x250
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400243c7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14002452e
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024529
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test al, 0x10
jne 0x140024532
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140024440
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], 2
mov r9d, 0x254
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400406b0
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400244c2
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.1400012c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400408c0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14002452e
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024529
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x140024534
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x180
pop rbx
ret