Function at 0x1400fa4bc
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, r9
mov r14, r8
mov rsi, rdx
mov bl, cl
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400fa50e
test byte [rcx + 0x1c], 1
je 0x1400fa50e
cmp byte [rcx + 0x19], 4
jb 0x1400fa50e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov edx, 0xe
call fcn.140004968
and qword [rbp - 0x28], 0
mov rax, qword [rsi]
cmp rax, qword [0x140156cf8]
mov byte [rbp - 0x30], 0
jne 0x1400fa548
mov rax, qword [rsi + 8]
cmp rax, qword [0x140156d00]
jne 0x1400fa548
lea r8, str.guidBackupSetId___GUID_NULL
mov edx, 0x2bc
lea rcx, str.base_stor_blbengine_blbengutils_blbspputils.cpp
call fcn.140081b60
lea rcx, [rbp - 0x30]
call fcn.14008b860
mov edi, eax
test eax, eax
jns 0x1400fa59f
mov rcx, qword [0x14016d090]
lea r14, [0x14016d090]
cmp rcx, r14
je 0x1400fa835
test byte [rcx + 0x1c], 1
je 0x1400fa80f
cmp byte [rcx + 0x19], 2
jb 0x1400fa80f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov edx, 0xf
mov r9d, eax
call fcn.140004988
jmp 0x1400fa808
cmp byte [rbp - 0x30], 0
je 0x1400fa801
test bl, bl
je 0x1400fa6f9
movups xmm0, xmmword [0x14016f608]
lea rax, [rbp - 0x28]
mov r8, r15
movaps xmm1, xmmword [rsi]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x20], 0
mov rdx, r14
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
call fcn.14007e384
mov edi, eax
test eax, eax
jns 0x1400fa638
mov rcx, qword [0x14016d090]
lea r14, [0x14016d090]
cmp rcx, r14
je 0x1400fa75f
test byte [rcx + 0x1c], 1
je 0x1400fa75f
cmp byte [rcx + 0x19], 2
jb 0x1400fa75f
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov r9d, eax
call fcn.140004988
mov rbx, qword [rbp - 0x28]
jmp 0x1400fa7ea
mov rcx, qword [0x14016d090]
lea r14, [0x14016d090]
mov rbx, qword [rbp - 0x28]
cmp rcx, r14
je 0x1400fa673
test byte [rcx + 0x1c], 1
je 0x1400fa673
cmp byte [rcx + 0x19], 4
jb 0x1400fa673
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov edx, 0x11
mov r9, rbx
call fcn.140005868
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400fa6e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400fa6e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400fa7f1
test byte [rcx + 0x1c], 1
je 0x1400fa7f1
cmp byte [rcx + 0x19], 4
jb 0x1400fa7f1
mov edx, 0x12
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.1400058c8
jmp 0x1400fa7ea
test rbx, rbx
je 0x1400fa700
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rbp - 0x28], 0
jmp 0x1400fa700
lea r14, [0x14016d090]
movups xmm0, xmmword [0x14016f608]
lea rax, [rbp - 0x28]
xor r8d, r8d
movaps xmm1, xmmword [rsi]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x20]
xor edx, edx
movdqa xmmword [rbp - 0x20], xmm1
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x20], 1
call fcn.14007e384
mov edi, eax
test eax, eax
jns 0x1400fa768
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400fa75f
test byte [rcx + 0x1c], 1
je 0x1400fa75f
cmp byte [rcx + 0x19], 2
jb 0x1400fa75f
mov edx, 0x13
jmp 0x1400fa61c
mov rbx, qword [rbp - 0x28]
jmp 0x1400fa7f1
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400fa7ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400fa7ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400fa7f1
test byte [rcx + 0x1c], 1
je 0x1400fa7f1
cmp byte [rcx + 0x19], 4
jb 0x1400fa7f1
mov edx, 0x14
jmp 0x1400fa6c8
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400fa7f1
test byte [rcx + 0x1c], 1
je 0x1400fa7f1
cmp byte [rcx + 0x19], 4
jb 0x1400fa7f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov edx, 0x15
mov r9, rbx
call fcn.140005868
mov rcx, qword [0x14016d090]
test rbx, rbx
je 0x1400fa80f
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400fa808
lea r14, [0x14016d090]
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400fa835
test byte [rcx + 0x1c], 1
je 0x1400fa835
cmp byte [rcx + 0x19], 4
jb 0x1400fa835
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153660]
mov edx, 0x16
call fcn.140004968
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret