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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14014b350
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x14014b37b
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14014b3a9
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140115e50
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp 0x14014bd58
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x14014b461
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x266
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14014b43b
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
cmp byte [rsp + 0x4f], 0
jns 0x14014b457
mov rcx, qword [rsp + 0x38]
call fcn.140112038
lea rcx, [rsp + 0x50]
call fcn.140183e60
xor edi, edi
jmp 0x14014b35f
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x14014bd7f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014bdb1
mov dil, 1
test al, 0x10
je 0x14014be6e
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x14014bf31
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x251
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14014be43
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
cmp byte [rsp + 0x5f], 0
jns 0x14014be5f
mov rcx, qword [rsp + 0x48]
call fcn.140112038
lea rcx, [rsp + 0x60]
call fcn.140183e60
jmp 0x14014bf31
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x14014bf31
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x255
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14014bef6
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400ff874
cmp byte [rsp + 0x5f], 0
jns 0x14014bf27
mov rcx, qword [rsp + 0x48]
call fcn.140112038
lea rcx, [rsp + 0x60]
call fcn.140001d00
xor edi, edi
jmp 0x14014bd95