Function at 0x14010a570
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
xor edx, edx
jmp 0x14010a580
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0xa0], xmm0
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 rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0xfa
call fcn.1400f5dc0
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.140153ea0
cmp byte [rsi + 0x17], 0
js 0x14010a61d
jne 0x14010a63b
jmp 0x14010a7b9
mov rax, qword [rsi + 8]
test rax, rax
je 0x14010a7b9
mov edi, 0xa1
cmp rax, 0x103
ja 0x14010a787
mov rcx, rsi
mov rdx, rbx
call fcn.1400f2f20
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14010a659
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rax, rax
je 0x14010a6e3
add rax, rax
xor edi, edi
nop word [rax + rax]
movzx ecx, word [rbx + rdi]
cmp ecx, 0x2a
je 0x14010a689
cmp ecx, 0x3f
je 0x14010a689
add rdi, 2
cmp rax, rdi
jne 0x14010a670
jmp 0x14010a6e3
cmp rax, rdi
je 0x14010a6e3
lea rcx, [rsp + 0x40]
call fcn.140030e80
cmp rdi, 0xfffffffffffffffe
je 0x14010a6ed
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400f2f20
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1400f2cd0
mov rcx, rbx
mov rdx, r14
mov r8d, ebp
call fcn.14010b610
mov edi, eax
mov rcx, rbx
call fcn.140030e80
mov rcx, r14
call fcn.140030e80
jmp 0x14010a7c8
lea rcx, [rsp + 0x40]
call fcn.140030e80
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14010a6f9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010a7a9
mov edi, eax
test dil, 1
je 0x14010a72b
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14010a721
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14010a7a9
test dil, 0x10
jne 0x14010a749
cmp byte [rsi + 0x17], 0
jns 0x14010a73a
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010a7b9
jmp 0x14010a7a9
test bpl, bpl
je 0x14010a793
lea rdx, [0x1402afa0c]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400231ae
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
call fcn.14010b610
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x14010a783
mov rcx, qword [rsp + 0x40]
call fcn.140255d7c
test edi, edi
je 0x14010a793
lea rcx, [rsp + 0x60]
call fcn.1401541a0
jmp 0x14010a7d6
cmp byte [rsi + 0x17], 0
jns 0x14010a79c
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14010a7b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14010a7c8
lea rcx, [rsp + 0x60]
call fcn.1401541a0
mov sil, 1
jmp 0x14010a7e0
lea rcx, [rsp + 0x60]
call fcn.1401541a0
test edi, edi
je 0x14010a7c3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret