Function at 0x1401044a8
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 [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1401044fa
test byte [rcx + 0x1c], 1
je 0x1401044fa
cmp byte [rcx + 0x19], 4
jb 0x1401044fa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov edx, 0xe
call fcn.140004b70
and qword [rbp - 0x28], 0
mov rax, qword [rsi]
cmp rax, qword [0x140159df8]
mov byte [rbp - 0x30], 0
jne 0x140104534
mov rax, qword [rsi + 8]
cmp rax, qword [0x140159e00]
jne 0x140104534
lea r8, str.guidBackupSetId___GUID_NULL
mov edx, 0x2bc
lea rcx, str.base_stor_blbengine_blbengutils_blbspputils.cpp
call fcn.1400876c8
lea rcx, [rbp - 0x30]
call fcn.140091c48
mov edi, eax
test eax, eax
jns 0x14010458b
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140104851
test byte [rcx + 0x1c], 1
je 0x14010482b
cmp byte [rcx + 0x19], 2
jb 0x14010482b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov edx, 0xf
mov r9d, eax
call fcn.140004b9c
jmp 0x140104824
cmp byte [rbp - 0x30], 0
je 0x14010481d
test bl, bl
je 0x1401046fd
movups xmm0, xmmword [0x14017c528]
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.140083ba4
mov edi, eax
test eax, eax
jns 0x140104624
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140104763
test byte [rcx + 0x1c], 1
je 0x140104763
cmp byte [rcx + 0x19], 2
jb 0x140104763
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov r9d, eax
call fcn.140004b9c
mov rbx, qword [rbp - 0x28]
jmp 0x140104800
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
mov rbx, qword [rbp - 0x28]
cmp rcx, r14
je 0x14010465f
test byte [rcx + 0x1c], 1
je 0x14010465f
cmp byte [rcx + 0x19], 4
jb 0x14010465f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov edx, 0x11
mov r9, rbx
call fcn.140005c30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1401046e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1401046e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140104807
test byte [rcx + 0x1c], 1
je 0x140104807
cmp byte [rcx + 0x19], 4
jb 0x140104807
mov edx, 0x12
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.140005ca0
jmp 0x140104800
test rbx, rbx
je 0x140104704
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x28], 0
jmp 0x140104704
lea r14, [0x14017a048]
movups xmm0, xmmword [0x14017c528]
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.140083ba4
mov edi, eax
test eax, eax
jns 0x14010476c
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140104763
test byte [rcx + 0x1c], 1
je 0x140104763
cmp byte [rcx + 0x19], 2
jb 0x140104763
mov edx, 0x13
jmp 0x140104608
mov rbx, qword [rbp - 0x28]
jmp 0x140104807
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1401047d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140104800
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140104807
test byte [rcx + 0x1c], 1
je 0x140104807
cmp byte [rcx + 0x19], 4
jb 0x140104807
mov edx, 0x14
jmp 0x1401046c6
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140104807
test byte [rcx + 0x1c], 1
je 0x140104807
cmp byte [rcx + 0x19], 4
jb 0x140104807
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov edx, 0x15
mov r9, rbx
call fcn.140005c30
mov rcx, qword [0x14017a048]
test rbx, rbx
je 0x14010482b
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x140104824
lea r14, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140104851
test byte [rcx + 0x1c], 1
je 0x140104851
cmp byte [rcx + 0x19], 4
jb 0x140104851
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161770]
mov edx, 0x16
call fcn.140004b70
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret