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

Disassembly:
xor edx, edx
jmp 0x14002a680
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [section..rdata]
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 rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x104
call fcn.1400322c0
lea rcx, [rsp + 0x60]
mov rdx, rdi
xor r8d, r8d
call fcn.1400429f0
movzx eax, byte [rsi]
test al, 1
jne 0x14002a718
cmp al, 2
jae 0x14002a741
jmp 0x14002a8c4
mov rax, qword [rsi + 8]
test rax, rax
je 0x14002a8c4
mov ebp, 0xa1
cmp rax, 0x103
jbe 0x14002a741
lea rcx, [rsp + 0x60]
call fcn.140042a50
jmp 0x14002a8e1
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400331b0
movzx eax, byte [rsp + 0x40]
test al, 1
je 0x14002a76b
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
test rax, rax
jne 0x14002a778
jmp 0x14002a7f3
shr rax, 1
lea rcx, [rsp + 0x42]
test rax, rax
je 0x14002a7f3
add rax, rax
xor edi, edi
nop dword [rax]
movzx edx, word [rcx + rdi]
cmp edx, 0x2a
je 0x14002a799
cmp edx, 0x3f
je 0x14002a799
add rdi, 2
cmp rax, rdi
jne 0x14002a780
jmp 0x14002a7f3
cmp rax, rdi
je 0x14002a7f3
lea rcx, [rsp + 0x40]
call fcn.140032570
cmp rdi, 0xfffffffffffffffe
je 0x14002a7fd
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1400331b0
lea r14, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
call fcn.140032e80
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.14002c110
mov ebp, eax
mov rcx, r14
call fcn.140032570
mov rcx, rdi
call fcn.140032570
jmp 0x14002a8d3
lea rcx, [rsp + 0x40]
call fcn.140032570
lea rdi, [rsi + 2]
test byte [rsi], 1
mov rcx, rdi
je 0x14002a80d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002a8b4
mov ebp, eax
test bpl, 1
je 0x14002a83f
mov edx, ebp
and edx, 0xfffffffe
test byte [rsi], 1
mov rcx, rdi
je 0x14002a835
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14002a8b4
test bpl, 0x10
jne 0x14002a85d
test byte [rsi], 1
je 0x14002a84e
mov rdi, qword [rsi + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002a8c4
jmp 0x14002a8b4
test bl, bl
je 0x14002a89e
lea rdx, [0x1400de150]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001888
mov rcx, rsi
mov rdx, rbx
mov r8b, 1
call fcn.14002c110
mov ebp, eax
test byte [rsp + 0x40], 1
je 0x14002a896
mov rcx, qword [rsp + 0x50]
call fcn.1400a4d04
test ebp, ebp
jne 0x14002a732
test byte [rsi], 1
je 0x14002a8a7
mov rdi, qword [rsi + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14002a8c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14002a8d3
lea rcx, [rsp + 0x60]
call fcn.140042a50
mov sil, 1
jmp 0x14002a8eb
lea rcx, [rsp + 0x60]
call fcn.140042a50
test ebp, ebp
je 0x14002a90b
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a5060
mov eax, esi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov sil, 1
jmp 0x14002a8eb