Function at 0x14001d6c0
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, 0x60
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov r13d, esi
mov qword [rbp - 0x28], rsi
mov r15d, esi
mov qword [rbp + 0x58], rsi
mov r12d, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp + 0x50], rsi
mov byte [rbp + 0x40], sil
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x14001d73e
test byte [rcx + 0x1c], 1
je 0x14001d73e
cmp byte [rcx + 0x19], 4
jb 0x14001d73e
mov edx, 0x15f
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
cmp qword [rdi + 0x1d8], rsi
jne 0x14001d75f
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1c59
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
lea rax, [rdi + 0x28]
mov qword [rbp - 0x18], rax
xor edx, edx
mov rcx, rax
call fcn.1400fdb78
mov ebx, eax
test eax, eax
js 0x14001daea
lea rcx, [rbp + 0x40]
call fcn.140091c48
mov ebx, eax
test eax, eax
jns 0x14001d7d2
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14001daf1
test byte [rcx + 0x1c], 1
je 0x14001daf1
cmp byte [rcx + 0x19], 2
jb 0x14001daf1
mov edx, 0x160
mov r9d, eax
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
jmp 0x14001daf1
cmp qword [rdi + 0x1d0], rsi
jne 0x14001d820
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14001daf1
test byte [rcx + 0x1c], 1
je 0x14001daf1
cmp byte [rcx + 0x19], 4
jb 0x14001daf1
mov edx, 0x161
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
jmp 0x14001daf1
test byte [rdi + 0x154], 4
je 0x14001d92a
lea r9, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x1d8]
call fcn.140111e24
mov ebx, eax
mov r13, qword [rbp - 0x28]
test eax, eax
js 0x14001daea
lea rdx, [rbp + 0x58]
mov rcx, r13
call fcn.1400febf0
mov ebx, eax
test eax, eax
jns 0x14001d8b2
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14001d8a9
test byte [rcx + 0x1c], 1
je 0x14001d8a9
cmp byte [rcx + 0x19], 2
jb 0x14001d8a9
mov edx, 0x162
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140005de0
mov r15, qword [rbp + 0x58]
jmp 0x14001daf1
mov r15, qword [rbp + 0x58]
test r15, r15
je 0x14001d92a
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001d92a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14001d917
test byte [rcx + 0x1c], 1
je 0x14001d917
cmp byte [rcx + 0x19], 2
jb 0x14001d917
mov edx, 0x163
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14001daf1
lea rsi, [rdi + 0x128]
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.140111e24
mov ebx, eax
mov r12, qword [rbp - 0x20]
test eax, eax
js 0x14001dae8
test byte [rdi + 0x154], 1
je 0x14001d96f
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14008859c
jmp 0x14001d985
lea r9, [rbp - 0x30]
mov r8b, 1
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.140111e24
xor esi, esi
test eax, eax
mov ebx, eax
js 0x14001daea
cmp byte [rbp + 0x40], sil
jne 0x14001da03
test r14, r14
jne 0x14001d9b4
lea r8, str.pSPP
mov edx, 0x1cb6
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
mov rax, qword [r14]
lea rdx, [rbp + 0x50]
mov rcx, r14
mov rax, qword [rax + 0x70]
call qword [case.0x140005b13.0]
mov ebx, eax
test eax, eax
jns 0x14001da03
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14001daf1
test byte [rcx + 0x1c], 1
je 0x14001daf1
cmp byte [rcx + 0x19], 2
jb 0x14001daf1
mov edx, 0x164
jmp 0x14001d7ba
mov r9, qword [rbp + 0x50]
test r9, r9
jne 0x14001da13
mov r9, qword [rdi + 0x1d0]
mov r8d, dword [rdi + 0x150]
mov rdx, qword [rbp - 0x30]
mov rcx, r12
call fcn.1400fe248
mov ebx, eax
test eax, eax
js 0x14001daea
test byte [rdi + 0x154], 0x80
je 0x14001daea
cmp byte [rdi + 0x114], sil
je 0x14001daea
mov ecx, 0x40
call fcn.14014b2d4
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14001da6a
mov rcx, rax
call fcn.14003bdfc
mov r14, rax
jmp 0x14001da6d
mov r14, rsi
mov rdx, r12
mov rcx, r14
call fcn.140011468
mov ebx, eax
test eax, eax
js 0x14001daea
mov rdx, qword [rbp + 0x50]
test rdx, rdx
mov rax, rdx
jne 0x14001da94
mov rax, qword [rdi + 0x1d0]
mov rdx, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14001da98
lea r8, [r8*2 + 2]
mov rcx, r14
call fcn.1400117bc
mov ebx, eax
test eax, eax
js 0x14001daea
add rdi, 0x308
mov rsi, qword [rdi + 8]
cmp rsi, qword [rdi + 0x10]
jb 0x14001dadd
lea rdx, [rsi + 1]
mov rcx, rdi
call fcn.14000fb10
test al, al
je 0x14001dbe0
mov rax, qword [rdi]
mov qword [rax + rsi*8], r14
inc qword [rdi + 8]
xor esi, esi
lea r14, [0x14017a048]
mov rcx, qword [rbp - 0x18]
call fcn.1400fdd24
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14001db13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + 0x50], rsi
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14001db28
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14001db3c
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x14001db50
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14001db64
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14001db98
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14001dbc5
test byte [rcx + 0x1c], 1
je 0x14001db9f
cmp byte [rcx + 0x19], 2
jb 0x14001db9f
mov edx, 0x165
mov r9d, ebx
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14001dbc5
test byte [rcx + 0x1c], 1
je 0x14001dbc5
cmp byte [rcx + 0x19], 4
jb 0x14001dbc5
mov edx, 0x166
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001950
int3