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

Disassembly:
xor edx, edx
jmp 0x14002bbf0
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140299a90]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoDeleteFile
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x105
call fcn.14013ff00
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1401156f0
mov qword [rsp + 0xa8], Ordinal_14
mov al, byte [0x14032e14b]
test al, al
jne 0x14002bec0
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x14002bd58
test cl, cl
sets cl
cmp rax, 0x104
setae al
test cl, al
jne 0x14002bea2
mov rcx, rsi
mov rdx, rdi
call fcn.140167f30
movsx rax, byte [rsp + 0x57]
test rax, rax
mov r8, rax
cmovs r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
cmovs rdx, rcx
test r8, r8
je 0x14002beac
lea r9, [rdx + r8*2]
add r8, r8
mov r10, rdx
movzx r11d, word [r10]
cmp r11d, 0x2a
je 0x14002bd06
cmp r11d, 0x3f
je 0x14002bd06
add r10, 2
add r8, 0xfffffffffffffffe
jne 0x14002bce9
mov r10, r9
cmp r10, r9
sete r8b
sub r10, rdx
cmp r10, 0xfffffffffffffffe
sete bpl
or bpl, r8b
test al, al
jns 0x14002bd24
call fcn.1401a9dc4
test bpl, bpl
je 0x14002be37
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002bd39
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002bd8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14002be89
lea rcx, [rsp + 0x60]
call fcn.1401593b0
mov al, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14002bd7e
call fcn.1401ac870
int3
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ebp, eax
test bpl, 1
jne 0x14002beef
test bpl, 0x10
jne 0x14002bdb6
cmp byte [rsi + 0x17], 0
jns 0x14002bda7
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002bd58
jmp 0x14002bd44
test bl, bl
je 0x14002be20
lea rax, [rsp + 0x42]
mov byte [rax + 0x15], 1
lea rcx, [0x1402aaea8]
cmp rdi, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x14002bebe
lea rbx, [rsp + 0x40]
mov dword [rbx], Ordinal_46
mov rcx, rsi
mov rdx, rbx
mov r8b, 1
call fcn.14002bf30
mov edi, eax
cmp byte [rbx + 0x17], 0
js 0x14002bf13
test edi, edi
je 0x14002be20
lea rcx, [rsp + 0x60]
call fcn.1401593b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002bd64
cmp byte [rsi + 0x17], 0
jns 0x14002be29
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14002bdb0
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140167f30
lea r14, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
call fcn.1401682d0
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.14002bf30
mov edi, eax
cmp byte [r14 + 0x17], 0
jns 0x14002be78
mov rcx, qword [rsp + 0x28]
call fcn.1401a9dc4
cmp byte [rsp + 0x57], 0
jns 0x14002be89
mov rcx, qword [rsp + 0x40]
call fcn.1401a9dc4
lea rcx, [rsp + 0x60]
call fcn.1401593b0
mov al, 1
test edi, edi
je 0x14002bd64
jmp 0x14002be11
mov edi, 0xa1
jmp 0x14002be07
test al, al
jns 0x14002bd2d
call fcn.1401a9dc4
jmp 0x14002bd2d
ud2
movzx ecx, al
lea r9, [rsp + 0x28]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xb0]
mov qword [r8], rax
lea rdx, [rsp + 0xa8]
call fcn.140227760
jmp 0x14002bc7b
mov edx, ebp
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002bf00
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14002bd98
jmp 0x14002bd44
mov rcx, qword [rsp + 0x40]
call fcn.1401a9dc4
jmp 0x14002be03