Function at 0x1400673e0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x14026f080]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DoDeleteFile
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x10b
call fcn.14012cb70
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.14011ac80
mov qword [rsp + 0xa8], 0xa
mov al, byte [0x1402c585a]
test al, al
jne 0x140067627
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x140067534
test cl, cl
sets cl
cmp rax, 0x104
setae al
test cl, al
jne 0x1400675a3
mov rcx, rsi
mov rdx, rdi
call fcn.1401549b0
movsx rax, byte [rsp + 0x57]
test rax, rax
mov rdx, rax
cmovs rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmovs rdi, rcx
test rdx, rdx
je 0x1400675be
lea r8, [rdi + rdx*2]
add rdx, rdx
mov r9, rdi
movzx r10d, word [r9]
cmp r10d, 0x2a
je 0x1400674ea
cmp r10d, 0x3f
je 0x1400674ea
add r9, 2
add rdx, 0xfffffffffffffffe
jne 0x1400674cd
mov r9, r8
cmp r9, r8
sete dl
sub r9, rdi
cmp r9, 0xfffffffffffffffe
sete bl
or bl, dl
test al, al
jns 0x140067505
call fcn.14018f5a0
test bl, bl
je 0x1400675d0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140067519
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006755e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140067590
lea rcx, [rsp + 0x60]
call fcn.140159490
mov dil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140191d70
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
mov edi, eax
test dil, 1
jne 0x140067656
cmp byte [rsi + 0x17], 0
jns 0x140067573
mov rsi, qword [rsi]
mov rcx, rsi
test dil, 0x10
jne 0x140067588
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140067534
jmp 0x140067524
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140067582
lea rcx, [rsp + 0x60]
call fcn.140159490
mov dil, 1
test esi, esi
je 0x140067541
jmp 0x1400675b2
lea rcx, [rsp + 0x60]
call fcn.140159490
mov esi, 0xa1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x140067541
test al, al
jns 0x14006750d
call fcn.14018f5a0
jmp 0x14006750d
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1401549b0
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.140154f50
mov rcx, rbx
mov rdx, rdi
call fcn.140028b40
mov esi, eax
cmp byte [rbx + 0x17], 0
jns 0x14006760d
mov rcx, qword [rsp + 0x28]
call fcn.14018f5a0
cmp byte [rsp + 0x57], 0
jns 0x140067590
mov rcx, qword [rsp + 0x40]
call fcn.14018f5a0
jmp 0x140067590
movzx ecx, al
lea r9, [rsp + 0x28]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xb0]
mov qword [r8], rax
lea rdx, [rsp + 0xa8]
call fcn.1401f5bf0
jmp 0x140067462
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140067667
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14006756a
jmp 0x140067524