Function at 0x140073590
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 [0x140287028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x140261350]
movaps xmmword [rbx + 0x40], xmm0
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, 0xfc
call fcn.14011b9f0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call fcn.14010e570
test byte [0x140289010], 0x19
jne 0x140073758
movzx eax, byte [rsi + 0x17]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rsi + 8]
cmovs rdx, rcx
test rdx, rdx
je 0x140073726
test al, al
jns 0x140073648
cmp rcx, 0x103
ja 0x1400737da
mov rcx, rsi
mov rdx, rdi
call fcn.1401335d0
movzx eax, byte [rsp + 0x57]
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmovs rdi, rcx
test rdx, rdx
je 0x140073771
lea r8, [rdi + rdx*2]
add rdx, rdx
mov r9, rdi
movzx r10d, word [r9]
cmp r10d, 0x2a
je 0x14007369e
cmp r10d, 0x3f
je 0x14007369e
add r9, 2
add rdx, 0xfffffffffffffffe
jne 0x140073681
mov r9, r8
cmp r9, r8
sete dl
sub r9, rdi
cmp r9, 0xfffffffffffffffe
sete bl
or bl, dl
test al, al
jns 0x1400736b9
call fcn.140172a44
test bl, bl
je 0x140073783
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400736cd
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400736fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
and eax, 0xfffffffe
cmp eax, 2
je 0x140073726
lea rcx, [rsp + 0x60]
call fcn.140140790
mov dil, 1
test esi, esi
je 0x140073733
jmp 0x1400737e9
mov edi, eax
test dil, 1
jne 0x1400737f8
cmp byte [rsi + 0x17], 0
jns 0x140073713
mov rsi, qword [rsi]
mov rcx, rsi
test dil, 0x10
jne 0x140073750
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400736d8
lea rcx, [rsp + 0x60]
call fcn.140140790
mov dil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401756e0
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140073722
lea rdx, [rsp + 0x28]
mov qword [rdx], rdi
lea rcx, str.ScopedBlockingCall
call fcn.1401d6b20
jmp 0x14007361b
test al, al
jns 0x1400736c1
call fcn.140172a44
jmp 0x1400736c1
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1401335d0
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1401330b0
mov rcx, rbx
mov rdx, rdi
call fcn.140032db0
mov esi, eax
cmp byte [rbx + 0x17], 0
jns 0x1400737c0
mov rcx, qword [rsp + 0x28]
call fcn.140172a44
cmp byte [rsp + 0x57], 0
jns 0x1400736e8
mov rcx, qword [rsp + 0x40]
call fcn.140172a44
jmp 0x1400736e8
lea rcx, [rsp + 0x60]
call fcn.140140790
mov esi, 0xa1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x140073733
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140073809
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14007370a
jmp 0x1400736d8