Function at 0x14001e8b0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rbx, rcx
lea rsi, [0x1401782b0]
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14001e908
test byte [rcx + 0x1c], 1
je 0x14001e908
cmp byte [rcx + 0x19], 4
jb 0x14001e908
mov edx, 0x171
lea r8, [0x140151a70]
mov rcx, qword [rcx + 0x10]
call fcn.140004c6c
xor r15d, r15d
mov qword [rbp + 0x50], r15
mov r14d, r15d
mov qword [rbp + 0x40], r15
mov r12d, r15d
mov qword [rbp + 0x48], r15
cmp qword [rbx + 0x1d8], r15
jne 0x14001e93e
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1f58
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008624c
cmp qword [rbx + 0x358], r15
jne 0x14001e95f
lea r8, str.m_wszBackupSpecs___NULL
mov edx, 0x1f59
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008624c
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rbx + 0x1d8]
call fcn.140113d98
mov edi, eax
mov r13, qword [rbp + 0x50]
test eax, eax
js 0x14001ebac
test byte [rbx + 0x154], 4
je 0x14001ea5f
lea rdx, [rbp + 0x40]
mov rcx, r13
call fcn.1400fd654
mov edi, eax
test eax, eax
jns 0x14001e9f0
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14001e9e7
test byte [rcx + 0x1c], 1
je 0x14001e9e7
cmp byte [rcx + 0x19], 2
jb 0x14001e9e7
mov edx, 0x172
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [0x140151a70]
mov rcx, qword [rcx + 0x10]
call fcn.140005e64
mov r14, qword [rbp + 0x40]
jmp 0x14001eb9f
mov r14, qword [rbp + 0x40]
jmp 0x14001eba6
mov r14, qword [rbp + 0x40]
test r14, r14
je 0x14001ea5f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001ea5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14001eba6
test byte [rcx + 0x1c], 1
je 0x14001eba6
cmp byte [rcx + 0x19], 2
jb 0x14001eba6
mov edx, 0x173
mov dword [rsp + 0x20], edi
mov r9, r14
lea r8, [0x140151a70]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
jmp 0x14001eb9f
test byte [rbx + 0x154], 1
je 0x14001ea79
xor r8d, r8d
lea rdx, [rbp + 0x48]
mov rcx, r13
call fcn.14008704c
jmp 0x14001ea8b
lea r8, [rbp + 0x48]
mov dl, 1
mov rcx, qword [rbx + 0x1d8]
call fcn.140113d98
test eax, eax
mov edi, eax
mov r12, qword [rbp + 0x48]
js 0x14001ebac
mov r9, qword [rbx + 0x358]
mov r8d, dword [rbx + 0x150]
mov rdx, r12
mov rcx, r13
call fcn.1400fcd54
mov edi, eax
test eax, eax
js 0x14001ebac
test byte [rbx + 0x154], 0x80
je 0x14001eb9f
cmp byte [rbx + 0x114], r15b
je 0x14001eb9f
mov ecx, 0x40
call fcn.1401470a8
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14001eaf6
mov rcx, rax
call fcn.14003babc
mov rsi, rax
jmp 0x14001eaf9
mov rsi, r15
mov rdx, r13
mov rcx, rsi
call fcn.14001186c
mov edi, eax
test eax, eax
js 0x14001eb7a
mov rdx, qword [rbx + 0x358]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14001eb15
lea r8, [r8*2 + 2]
mov rcx, rsi
call fcn.140011b90
mov edi, eax
test eax, eax
js 0x14001eb7a
add rbx, 0x308
mov r15, qword [rbx + 8]
cmp r15, qword [rbx + 0x10]
jb 0x14001eb61
lea rdx, [r15 + 1]
mov rcx, rbx
call fcn.14000ff48
test al, al
jne 0x14001eb61
mov ecx, 0x8007000e
call fcn.140001b20
int3
mov rax, qword [rbx]
lea rcx, [rax + r15*8]
xor r15d, r15d
test rcx, rcx
je 0x14001eb73
mov qword [rcx], rsi
inc qword [rbx + 8]
mov rsi, r15
test rsi, rsi
je 0x14001eb98
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x14014cce0]
mov edx, 1
mov rcx, rsi
call rbx
lea rsi, [0x1401782b0]
mov rcx, qword [0x1401782b0]
test edi, edi
jns 0x14001ebe3
jmp 0x14001ebb3
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14001ebe3
test byte [rcx + 0x1c], 1
je 0x14001ebe3
cmp byte [rcx + 0x19], 2
jb 0x14001ebe3
mov edx, 0x174
mov r9d, edi
lea r8, [0x140151a70]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov rcx, qword [0x1401782b0]
test r13, r13
je 0x14001ebf8
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
test r12, r12
je 0x14001ec0d
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
test r14, r14
je 0x14001ec22
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14001ec48
test byte [rcx + 0x1c], 1
je 0x14001ec48
cmp byte [rcx + 0x19], 4
jb 0x14001ec48
mov edx, 0x175
lea r8, [0x140151a70]
mov rcx, qword [rcx + 0x10]
call fcn.140004c6c
mov eax, edi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret