Function at 0x14006bb60
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 [0x140231040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x1401fd000]
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, 0x106
call fcn.1400dc8d0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0xa8], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x14006bda3
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x14006bcb2
test cl, cl
jns 0x14006bc0e
cmp rax, 0x103
ja 0x14006bd92
mov rcx, rsi
mov rdx, rdi
call fcn.1400ea560
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 0x14006bd80
lea r8, [rdi + rdx*2]
add rdx, rdx
mov r9, rdi
movzx r10d, word [r9]
cmp r10d, 0x2a
je 0x14006bc64
cmp r10d, 0x3f
je 0x14006bc64
add r9, 2
add rdx, 0xfffffffffffffffe
jne 0x14006bc47
mov r9, r8
cmp r9, r8
sete dl
sub r9, rdi
cmp r9, 0xfffffffffffffffe
sete bl
or bl, dl
test al, al
jns 0x14006bc7f
call fcn.14012aa6c
test bl, bl
je 0x14006bd0e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14006bc93
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006bcdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14006bd5c
lea rcx, [rsp + 0x60]
call fcn.1400d1270
mov dil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
mov edi, eax
test dil, 1
jne 0x14006bdd2
cmp byte [rsi + 0x17], 0
jns 0x14006bcf1
mov rsi, qword [rsi]
mov rcx, rsi
test dil, 0x10
jne 0x14006bd06
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006bcb2
jmp 0x14006bc9e
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14006bd00
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1400ea560
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1400eab20
mov rcx, rbx
mov rdx, rdi
call fcn.140037b60
mov esi, eax
cmp byte [rbx + 0x17], 0
jns 0x14006bd4b
mov rcx, qword [rsp + 0x28]
call fcn.14012aa6c
cmp byte [rsp + 0x57], 0
jns 0x14006bd5c
mov rcx, qword [rsp + 0x40]
call fcn.14012aa6c
lea rcx, [rsp + 0x60]
call fcn.1400d1270
mov dil, 1
test esi, esi
je 0x14006bcbf
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x14006bcbf
test al, al
jns 0x14006bc87
call fcn.14012aa6c
jmp 0x14006bc87
lea rcx, [rsp + 0x60]
call fcn.1400d1270
mov esi, 0xa1
jmp 0x14006bd71
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.1401843b0
jmp 0x14006bbe2
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14006bde3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14006bce8
jmp 0x14006bc9e