Function at 0x1400679e0
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140270080]
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.14012d160
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.14011b270
mov qword [rsp + 0xa8], 0xa
mov al, byte [0x1402c68da]
test al, al
jne 0x140067c27
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x140067b34
test cl, cl
sets cl
cmp rax, 0x104
setae al
test cl, al
jne 0x140067ba3
mov rcx, rsi
mov rdx, rdi
call fcn.140154fa0
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 0x140067bbe
lea r8, [rdi + rdx*2]
add rdx, rdx
mov r9, rdi
movzx r10d, word [r9]
cmp r10d, 0x2a
je 0x140067aea
cmp r10d, 0x3f
je 0x140067aea
add r9, 2
add rdx, 0xfffffffffffffffe
jne 0x140067acd
mov r9, r8
cmp r9, r8
sete dl
sub r9, rdi
cmp r9, 0xfffffffffffffffe
sete bl
or bl, dl
test al, al
jns 0x140067b05
call fcn.14018fb90
test bl, bl
je 0x140067bd0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140067b19
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140067b5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140067b90
lea rcx, [rsp + 0x60]
call fcn.140159a80
mov dil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140192360
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
mov edi, eax
test dil, 1
jne 0x140067c56
cmp byte [rsi + 0x17], 0
jns 0x140067b73
mov rsi, qword [rsi]
mov rcx, rsi
test dil, 0x10
jne 0x140067b88
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140067b34
jmp 0x140067b24
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140067b82
lea rcx, [rsp + 0x60]
call fcn.140159a80
mov dil, 1
test esi, esi
je 0x140067b41
jmp 0x140067bb2
lea rcx, [rsp + 0x60]
call fcn.140159a80
mov esi, 0xa1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x140067b41
test al, al
jns 0x140067b0d
call fcn.14018fb90
jmp 0x140067b0d
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140154fa0
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.140155540
mov rcx, rbx
mov rdx, rdi
call fcn.140029030
mov esi, eax
cmp byte [rbx + 0x17], 0
jns 0x140067c0d
mov rcx, qword [rsp + 0x28]
call fcn.14018fb90
cmp byte [rsp + 0x57], 0
jns 0x140067b90
mov rcx, qword [rsp + 0x40]
call fcn.14018fb90
jmp 0x140067b90
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.1401f63e0
jmp 0x140067a62
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140067c67
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140067b6a
jmp 0x140067b24