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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x358], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x1400fdcde
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fdb84
jmp 0x1400fdc9c
lea rcx, [rsp + 0x34]
call fcn.140004910
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14001b780
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x318]
call fcn.1400b75a0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x251
lea r8, [0x14019a5d0]
lea rdx, [0x14019a660]
lea rcx, [rsp + 0x210]
call fcn.1400b67e0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x60]
call fcn.140004910
lea rdx, [0x140199ef8]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140003a20
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1400fdcba
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x210]
call fcn.1400b6840
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1400fdcd7
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x318]
call fcn.140009160
xor al, al
jmp 0x1400fde8b
mov eax, dword [rsp + 0x38]
and eax, 0x10
test eax, eax
jne 0x1400fde89
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fdcfc
jmp 0x1400fde4a
lea rcx, [rsp + 0x35]
call fcn.140004910
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14001b780
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x338]
call fcn.1400b75a0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x255
lea r8, [0x14019a6c0]
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x110]
call fcn.1400b5f40
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xa8]
call fcn.140004910
lea rdx, [0x14019a1d8]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.140003a20
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 8
test eax, eax
je 0x1400fde68
and dword [rsp + 0x30], 0xfffffff7
lea rcx, [rsp + 0x110]
call fcn.1400b60e0
nop
mov eax, dword [rsp + 0x30]
and eax, 4
test eax, eax
je 0x1400fde85
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x338]
call fcn.140009160
xor al, al
jmp 0x1400fde8b
mov al, 1
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x368
pop rdi
pop rsi
ret