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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm6
mov qword [rsp + 0x28], r9
mov rdi, r8
mov rbx, rdx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov r14, qword [rcx + 8]
mov r13, qword [rcx + 0x10]
cmp r14, r13
jne 0x1401dfbaf
add rbx, 0xc8
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.1401d3116
mov rbx, qword [r14]
mov rsi, qword [r14 + 8]
cmp rbx, rsi
je 0x1401dfb51
movabs r12, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140301d60]
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x1a0]
mov r13, qword [rsp + 0x28]
mov qword [rsp + 0x1b0], r12
movaps xmmword [rsp + 0x1a0], xmm6
mov rcx, rbx
mov rdx, r14
call fcn.140050ca0
mov rcx, r13
mov rdx, r15
mov r8, r14
call fcn.14006c4c0
mov rcx, r14
call fcn.14007be00
mov rcx, rbx
mov rdx, r15
call fcn.140119470
test al, al
je 0x1401dfb3f
mov rcx, rbx
mov rdx, r14
call fcn.1400996b0
mov rcx, rdi
xor edx, edx
mov r8, r14
xor r9d, r9d
call fcn.1401cda48
cmp byte [rsp + 0x5f], 0
jns 0x1401dfb1f
mov rcx, qword [rsp + 0x48]
call fcn.14016eccc
xor ecx, ecx
xor edx, edx
call fcn.1401d5e1e
mov rcx, r15
call fcn.14007be00
add rbx, 0x20
cmp rbx, rsi
jne 0x1401dfab3
jmp 0x1401dfb4c
mov rcx, rdi
mov rdx, rbx
call fcn.1401df9b4
jmp 0x1401dfb28
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1401dfb83
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
cmp rsi, rbx
je 0x1401dfb79
add rsi, 0xffffffffffffffe0
mov rcx, rsi
call fcn.14007be00
cmp rsi, rbx
jne 0x1401dfb63
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rbx
call fcn.14016eccc
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140171860
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rbp, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140301d60]
lea r12, [rsp + 0x1a0]
mov rsi, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea r15, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x1b0], rbp
movaps xmmword [rsp + 0x1a0], xmm6
mov rcx, r12
mov rdx, r14
call fcn.140072d70
xor ecx, ecx
call fcn.1401d5ec2
mov rcx, r12
call fcn.14007db40
test al, al
je 0x1401dfd40
mov rcx, r12
mov dl, 1
call fcn.1402185fe
test al, al
jne 0x1401dfd40
cmp byte [rsp + 0x1b7], 0
mov rcx, r12
jns 0x1401dfc32
mov rcx, qword [rsp + 0x1a0]
call rsi
cmp eax, 0xffffffff
je 0x1401dfc67
mov rcx, rbx
mov rdx, r12
mov r8d, 3
xor r9d, r9d
call fcn.1401d643c
mov rcx, r12
call fcn.14007be00
add r14, 0x18
cmp r14, r13
jne 0x1401dfbd9
jmp 0x1401dfa69
mov ecx, 2
call fcn.1400d98c0
test al, al
je 0x1401dfd40
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, r15
lea rdx, str....._third_partycrashpadcrashpadwatson_uploader_secondary_data_collectors_file_collector_win.cc
mov r8d, 0x4b
mov r9d, 2
call fcn.14020a880
mov r8d, 0x12
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
call fcn.14015f6d6
mov r15, rax
movzx eax, byte [rsp + 0x1b7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x1a0]
cmovns rax, r12
mov qword [rsp + 0x38], rax
cmovs rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x40], rcx
lea rdi, [rsp + 0x48]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call fcn.1400673e0
movzx r8d, byte [rsp + 0x5f]
test r8b, r8b
jns 0x1401dfd0e
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
jmp 0x1401dfd15
and r8d, 0x7f
mov rdx, rdi
mov rcx, r15
call fcn.14015f6d6
cmp byte [rsp + 0x5f], 0
mov rdi, qword [rsp + 0x30]
jns 0x1401dfd33
mov rcx, qword [rsp + 0x48]
call fcn.14016eccc
lea r15, [rsp + 0x60]
mov rcx, r15
call fcn.14020a900
mov rcx, rdi
mov rdx, r12
call fcn.1401df9b4
jmp 0x1401dfc4d