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

Disassembly:
xor edx, edx
jmp 0x140073c50
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140173f60]
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, 0xf9
call fcn.1400651f0
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.1400bbe30
movzx ecx, byte [rsi + 0x17]
test cl, cl
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x140073e8e
test cl, cl
jns 0x140073d24
mov edi, 0xa1
cmp rax, 0x103
jbe 0x140073d24
lea rcx, [rsp + 0x60]
call fcn.1400bc150
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x140073e9b
mov rcx, rsi
mov rdx, rbx
call fcn.140051120
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140073d42
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rax, rax
je 0x140073dc5
add rax, rax
xor edi, edi
movzx ecx, word [rbx + rdi]
cmp cx, 0x2a
je 0x140073d6b
cmp cx, 0x3f
je 0x140073d6b
add rdi, 2
cmp rax, rdi
jne 0x140073d50
jmp 0x140073dc5
cmp rax, rdi
je 0x140073dc5
lea rcx, [rsp + 0x40]
call fcn.140050480
cmp rdi, 0xfffffffffffffffe
je 0x140073dcf
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.140051120
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.140050f80
mov rcx, rbx
mov rdx, r14
mov r8d, ebp
call fcn.140074dd0
mov edi, eax
mov rcx, rbx
call fcn.140050480
mov rcx, r14
call fcn.140050480
jmp 0x140073ebb
lea rcx, [rsp + 0x40]
call fcn.140050480
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140073ddb
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073e7e
mov edi, eax
test dil, 1
je 0x140073e0d
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140073e03
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140073e7e
test dil, 0x10
jne 0x140073e2b
cmp byte [rsi + 0x17], 0
jns 0x140073e1c
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140073e8e
jmp 0x140073e7e
test bpl, bpl
je 0x140073e68
mov byte [rsp + 0x57], 1
mov dword [rsp + 0x40], 0x2a
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8b, 1
call fcn.140074dd0
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x140073e60
mov rcx, qword [rsp + 0x40]
call fcn.1401349d4
test edi, edi
jne 0x140073d0b
cmp byte [rsi + 0x17], 0
jns 0x140073e71
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140073e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140073ebb
lea rcx, [rsp + 0x60]
call fcn.1400bc150
mov sil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140135280
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x60]
call fcn.1400bc150
test edi, edi
jne 0x140073d15
jmp 0x140073e98