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

Disassembly:
xor edx, edx
jmp 0x140074e70
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140175f60]
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.140066190
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.1400bdcc0
movzx ecx, byte [rsi + 0x17]
test cl, cl
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x1400750ae
test cl, cl
jns 0x140074f44
mov edi, 0xa1
cmp rax, 0x103
jbe 0x140074f44
lea rcx, [rsp + 0x60]
call fcn.1400bdfe0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400750bb
mov rcx, rsi
mov rdx, rbx
call fcn.140051340
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140074f62
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rax, rax
je 0x140074fe5
add rax, rax
xor edi, edi
movzx ecx, word [rbx + rdi]
cmp cx, 0x2a
je 0x140074f8b
cmp cx, 0x3f
je 0x140074f8b
add rdi, 2
cmp rax, rdi
jne 0x140074f70
jmp 0x140074fe5
cmp rax, rdi
je 0x140074fe5
lea rcx, [rsp + 0x40]
call fcn.1400506a0
cmp rdi, 0xfffffffffffffffe
je 0x140074fef
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.140051340
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1400511a0
mov rcx, rbx
mov rdx, r14
mov r8d, ebp
call fcn.140075ff0
mov edi, eax
mov rcx, rbx
call fcn.1400506a0
mov rcx, r14
call fcn.1400506a0
jmp 0x1400750db
lea rcx, [rsp + 0x40]
call fcn.1400506a0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140074ffb
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007509e
mov edi, eax
test dil, 1
je 0x14007502d
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140075023
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14007509e
test dil, 0x10
jne 0x14007504b
cmp byte [rsi + 0x17], 0
jns 0x14007503c
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400750ae
jmp 0x14007509e
test bpl, bpl
je 0x140075088
mov byte [rsp + 0x57], 1
mov dword [rsp + 0x40], 0x2a
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8b, 1
call fcn.140075ff0
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x140075080
mov rcx, qword [rsp + 0x40]
call fcn.140136864
test edi, edi
jne 0x140074f2b
cmp byte [rsi + 0x17], 0
jns 0x140075091
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400750ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1400750db
lea rcx, [rsp + 0x60]
call fcn.1400bdfe0
mov sil, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x60]
call fcn.1400bdfe0
test edi, edi
jne 0x140074f35
jmp 0x1400750b8