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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14013ab10]
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, 0x106
call fcn.140057780
lea rcx, [rsp + 0x60]
mov rdx, r14
xor r8d, r8d
call fcn.140065850
cmp byte [rsi + 0x17], 0
js 0x14004cb34
jne 0x14004cb52
jmp 0x14004ccc9
mov rax, qword [rsi + 8]
test rax, rax
je 0x14004ccc9
mov edi, 0xa1
cmp rax, 0x103
ja 0x14004cc97
mov rcx, rsi
mov rdx, r14
call fcn.1400586a0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14004cb70
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
test rax, rax
je 0x14004cbf4
add rax, rax
xor edi, edi
nop word [rax + rax]
movzx ecx, word [r14 + rdi]
cmp ecx, 0x2a
je 0x14004cb9a
cmp ecx, 0x3f
je 0x14004cb9a
add rdi, 2
cmp rax, rdi
jne 0x14004cb80
jmp 0x14004cbf4
cmp rax, rdi
je 0x14004cbf4
lea rcx, [rsp + 0x40]
call fcn.140057a80
cmp rdi, 0xfffffffffffffffe
je 0x14004cbfe
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400586a0
lea r15, [rsp + 0x28]
mov rcx, rsi
mov rdx, r15
call fcn.1400583c0
mov rcx, r15
mov rdx, r14
mov r8d, ebx
call fcn.14004e4f0
mov edi, eax
mov rcx, r15
call fcn.140057a80
mov rcx, r14
call fcn.140057a80
jmp 0x14004ccd8
lea rcx, [rsp + 0x40]
call fcn.140057a80
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14004cc0a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004ccb9
mov edi, eax
test dil, 1
je 0x14004cc3c
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14004cc32
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14004ccb9
test dil, 0x10
jne 0x14004cc5a
cmp byte [rsi + 0x17], 0
jns 0x14004cc4b
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004ccc9
jmp 0x14004ccb9
test bl, bl
je 0x14004cca3
lea rdx, [0x1401418a4]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001ca0c
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
call fcn.14004e4f0
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x14004cc93
mov rcx, qword [rsp + 0x40]
call fcn.1400fa65c
test edi, edi
je 0x14004cca3
lea rcx, [rsp + 0x60]
call fcn.1400658d0
jmp 0x14004cce6
cmp byte [rsi + 0x17], 0
jns 0x14004ccac
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14004ccc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14004ccd8
lea rcx, [rsp + 0x60]
call fcn.1400658d0
mov sil, 1
jmp 0x14004ccf0
lea rcx, [rsp + 0x60]
call fcn.1400658d0
test edi, edi
je 0x14004ccd3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400fb950
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov dl, 1
jmp 0x14004cab0