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

Disassembly:
xor edx, edx
jmp 0x140074b30
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140174f60]
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.140065e60
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.1400bd980
movzx ecx, byte [rsi + 0x17]
test cl, cl
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x140074d6e
test cl, cl
jns 0x140074c04
mov edi, 0xa1
cmp rax, 0x103
jbe 0x140074c04
lea rcx, [rsp + 0x60]
call fcn.1400bdca0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x140074d7b
mov rcx, rsi
mov rdx, rbx
call fcn.140051270
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140074c22
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rax, rax
je 0x140074ca5
add rax, rax
xor edi, edi
movzx ecx, word [rbx + rdi]
cmp cx, 0x2a
je 0x140074c4b
cmp cx, 0x3f
je 0x140074c4b
add rdi, 2
cmp rax, rdi
jne 0x140074c30
jmp 0x140074ca5
cmp rax, rdi
je 0x140074ca5
lea rcx, [rsp + 0x40]
call fcn.1400505d0
cmp rdi, 0xfffffffffffffffe
je 0x140074caf
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.140051270
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1400510d0
mov rcx, rbx
mov rdx, r14
mov r8d, ebp
call fcn.140075cb0
mov edi, eax
mov rcx, rbx
call fcn.1400505d0
mov rcx, r14
call fcn.1400505d0
jmp 0x140074d9b
lea rcx, [rsp + 0x40]
call fcn.1400505d0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140074cbb
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074d5e
mov edi, eax
test dil, 1
je 0x140074ced
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140074ce3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140074d5e
test dil, 0x10
jne 0x140074d0b
cmp byte [rsi + 0x17], 0
jns 0x140074cfc
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140074d6e
jmp 0x140074d5e
test bpl, bpl
je 0x140074d48
mov byte [rsp + 0x57], 1
mov dword [rsp + 0x40], 0x2a
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8b, 1
call fcn.140075cb0
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x140074d40
mov rcx, qword [rsp + 0x40]
call fcn.140136524
test edi, edi
jne 0x140074beb
cmp byte [rsi + 0x17], 0
jns 0x140074d51
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140074d6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140074d9b
lea rcx, [rsp + 0x60]
call fcn.1400bdca0
mov sil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x60]
call fcn.1400bdca0
test edi, edi
jne 0x140074bf5
jmp 0x140074d78