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

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x14003ce57
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14003ce91
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003ceb0
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400797f0
mov rcx, rsi
add rsp, 0x1a8
pop rdi
pop rsi
jmp 0x14003cf70
mov sil, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400797f0
mov eax, esi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140064750
test al, al
je 0x14003cf67
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x25e
mov r9d, 2
call fcn.1400cb600
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140051090
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14005d050
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14003cf41
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140051090
cmp byte [rsp + 0x57], 0
jns 0x14003cf5d
mov rcx, qword [rsp + 0x40]
call fcn.140078974
lea rcx, [rsp + 0x58]
call fcn.1400cb6f0
xor esi, esi
jmp 0x14003ce94
push rsi
push rdi
sub rsp, 0x1b8
mov rsi, rcx
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
cmp byte [rcx + 0x17], 0
jns 0x14003cf97
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003cfc9
mov dil, 1
test al, 0x10
je 0x14003d085
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400797f0
mov eax, edi
add rsp, 0x1b8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140064750
test al, al
je 0x14003d148
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x249
mov r9d, 2
call fcn.1400cb600
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140051090
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x40]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.14005d050
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14003d05a
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.140051090
cmp byte [rsp + 0x67], 0
jns 0x14003d076
mov rcx, qword [rsp + 0x50]
call fcn.140078974
lea rcx, [rsp + 0x68]
call fcn.1400cb6f0
jmp 0x14003d148
mov ecx, 2
call fcn.140064750
test al, al
je 0x14003d148
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x24d
mov r9d, 2
call fcn.140033a00
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140051090
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.14005d050
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14003d10d
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.140051090
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140051090
cmp byte [rsp + 0x67], 0
jns 0x14003d13e
mov rcx, qword [rsp + 0x50]
call fcn.140078974
lea rcx, [rsp + 0x68]
call fcn.140033ea0
xor edi, edi
jmp 0x14003cfad