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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401940a0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.DoDeleteFile
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x107
call fcn.1400763c0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.1400a32f0
mov qword [rsp + 0xa0], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005ca18
cmp byte [rsi + 0x17], 0
js 0x14005ca4f
jne 0x14005ca6d
jmp 0x14005cbed
movzx ecx, al
mov qword [rsp + 0x28], r14
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea r9, [rsp + 0x28]
call fcn.140062630
cmp byte [rsi + 0x17], 0
jns 0x14005ca11
mov rax, qword [rsi + 8]
test rax, rax
je 0x14005cbed
mov edi, 0xa1
cmp rax, 0x103
ja 0x14005cb9c
mov rcx, rsi
mov rdx, r14
call fcn.140079400
movzx eax, byte [rsp + 0x57]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
test al, al
jns 0x14005ca91
mov rdx, qword [rsp + 0x48]
mov r14, rcx
test rdx, rdx
je 0x14005cad5
add rdx, rdx
xor edi, edi
nop dword [rax + rax]
movzx r8d, word [r14 + rdi]
cmp r8d, 0x2a
je 0x14005cabc
cmp r8d, 0x3f
je 0x14005cabc
add rdi, 2
cmp rdx, rdi
jne 0x14005caa0
jmp 0x14005cad5
cmp rdx, rdi
je 0x14005cad5
test al, al
js 0x14005cc17
cmp rdi, 0xfffffffffffffffe
jne 0x14005cc26
jmp 0x14005cade
test al, al
jns 0x14005cade
call fcn.14014b4e4
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14005caea
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005cbd9
mov edi, eax
test dil, 1
je 0x14005cb20
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14005cb12
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14005cbd9
test dil, 0x10
jne 0x14005cb45
cmp byte [rsi + 0x17], 0
jns 0x14005cb2f
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005cbed
jmp 0x14005cbd9
test bl, bl
je 0x14005cbc3
mov byte [rsp + 0x57], 1
lea rax, [0x1401a3d48]
lea rcx, [rsp + 0x40]
cmp rcx, rax
ja 0x14005cb6d
lea rcx, [rsp + 0x42]
cmp rcx, rax
ja 0x14005cd39
mov dword [rsp + 0x40], 0x2a
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8b, 1
call fcn.14005ee60
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x14005cb98
mov rcx, qword [rsp + 0x40]
call fcn.14014b4e4
test edi, edi
je 0x14005cbc3
mov qword [rsp + 0x28], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005cd13
lea rcx, [rsp + 0x60]
call fcn.1400a3590
jmp 0x14005cc9e
cmp byte [rsi + 0x17], 0
jns 0x14005cbcc
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14005cbed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14005cc78
mov qword [rsp + 0x28], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005ccc7
lea rcx, [rsp + 0x60]
call fcn.1400a3590
mov sil, 1
jmp 0x14005cca8
call fcn.14014b4e4
cmp rdi, 0xfffffffffffffffe
je 0x14005cade
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140079400
lea r14, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
call fcn.140079140
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.14005ee60
mov edi, eax
cmp byte [rsp + 0x3f], 0
jns 0x14005cc67
mov rcx, qword [rsp + 0x28]
call fcn.14014b4e4
cmp byte [rsp + 0x57], 0
jns 0x14005cc78
mov rcx, qword [rsp + 0x40]
call fcn.14014b4e4
mov qword [rsp + 0x28], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005cced
lea rcx, [rsp + 0x60]
call fcn.1400a3590
test edi, edi
je 0x14005cc0f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14014c9b0
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032900
jmp 0x14005cc05
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032900
jmp 0x14005cc8c
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032900
jmp 0x14005cbb4
int3