Function at 0x14008cf20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400ce038]
xor rax, rsp
mov qword [rsp + 0x178], rax
movzx edi, r8b
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x14008cf58
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14008d188
test dil, dil
je 0x14008d096
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14008d096
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008cf8f
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008cfa5
shr eax, 4
and al, 1
jne 0x14008d188
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008cfb2
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.14004f460
mov rbx, rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 2
mov r9d, 0x5d
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x50]
call fcn.14004df50
nop
mov dword [rsp + 0x30], 3
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14008d025
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001dc0
lea rdx, str._not_a_directory
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e160
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14008d184
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d1b1
jmp 0x14008d17f
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008d0a3
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.14004f460
mov rbx, rax
mov dword [rsp + 0x30], 4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x62
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x50]
call fcn.14004e0e0
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14008d12e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001dc0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e3b0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14008d184
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d1ab
call fcn.140057468
xor al, al
jmp 0x14008d18a
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140057820
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
call fcn.14005da04
int3
call fcn.14005da04
int3