Function at 0x14001df14
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xor edx, edx
mov ebx, edx
mov esi, edx
mov qword [rbp - 0x11], rdx
mov r15d, edx
mov qword [rbp - 9], rdx
mov r12d, edx
mov qword [rbp - 1], rdx
mov r14d, edx
mov qword [rbp - 0x21], rdx
mov r13d, edx
mov qword [rbp - 0x19], rdx
mov rax, qword [rcx + 0x1c8]
test rax, rax
jne 0x14001dfc7
lea rax, [0x140183048]
mov rcx, qword [0x140183048]
cmp rcx, rax
je 0x14001e38e
test byte [rcx + 0x1c], 1
je 0x14001e38e
cmp byte [rcx + 0x19], 4
jb 0x14001e38e
mov edx, 0x167
lea r8, [0x14015d600]
mov rcx, qword [rcx + 0x10]
call fcn.140004e50
jmp 0x14001e38e
mov ecx, edx
mov dword [rbp - 0x29], edx
cmp dword [rax + 8], edx
jbe 0x14001e38e
test r13, r13
je 0x14001dff8
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x19], 0
mov rax, qword [rdi + 0x1c8]
mov ecx, dword [rbp - 0x29]
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x17]
mov edx, ecx
mov rcx, rax
call fcn.1401335c8
mov ebx, eax
lea r13, [0x140183048]
xor edx, edx
test eax, eax
js 0x14001e2f1
cmp qword [rdi + 0x1d8], rdx
jne 0x14001e03e
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1d38
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008f4c8
test byte [rdi + 0x154], 4
je 0x14001e0dc
test rsi, rsi
je 0x14001e064
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x11], 0
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x17]
xor edx, edx
mov rcx, qword [rdi + 0x1d8]
call fcn.140119d54
mov ebx, eax
test eax, eax
js 0x14001e2f1
test r15, r15
je 0x14001e0a5
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 9], 0
lea rdx, [rbp - 9]
mov rcx, qword [rbp - 0x11]
call fcn.1401069f0
mov ebx, eax
mov r15, qword [rbp - 9]
test eax, eax
js 0x14001e2f1
test r15, r15
je 0x14001e0dc
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
je 0x14001e27f
test r12, r12
je 0x14001e0f5
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 1], 0
lea rsi, [rdi + 0x128]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x17]
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.140119d54
mov ebx, eax
test eax, eax
js 0x14001e3be
test r14, r14
je 0x14001e13e
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x21], 0
mov r12, qword [rbp - 1]
test byte [rdi + 0x154], 1
je 0x14001e15c
xor r8d, r8d
lea rdx, [rbp - 0x21]
mov rcx, r12
call fcn.14009039c
jmp 0x14001e17b
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rbp + 0x17]
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.140119d54
test eax, eax
mov ebx, eax
mov r14, qword [rbp - 0x21]
js 0x14001e2f1
mov r13, qword [rbp - 0x19]
mov r9, r13
mov r8d, dword [rdi + 0x150]
mov rdx, r14
mov rcx, r12
call fcn.140106048
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14001e2ea
test byte [rdi + 0x154], 0x80
je 0x14001e262
cmp byte [rdi + 0x114], dl
je 0x14001e262
lea ecx, [rdx + 0x40]
call fcn.140153084
mov qword [rbp + 0xf], rax
test rax, rax
je 0x14001e1e5
mov rcx, rax
call fcn.14003c1ac
mov rsi, rax
jmp 0x14001e1e7
xor esi, esi
mov rdx, r12
mov rcx, rsi
call fcn.140011788
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14001e2d1
or r8, 0xffffffffffffffff
inc r8
cmp word [r13 + r8*2], dx
jne 0x14001e202
lea r8, [r8*2 + 2]
mov rdx, r13
mov rcx, rsi
call fcn.140011adc
mov ebx, eax
test eax, eax
js 0x14001e2d1
lea r14, [rdi + 0x308]
mov r13, qword [r14 + 8]
cmp r13, qword [r14 + 0x10]
jb 0x14001e24f
lea rdx, [r13 + 1]
mov rcx, r14
call fcn.14000fe30
test al, al
je 0x14001e3c7
mov rax, qword [r14]
mov qword [rax + r13*8], rsi
inc qword [r14 + 8]
mov r14, qword [rbp - 0x21]
mov r13, qword [rbp - 0x19]
mov ecx, dword [rbp - 0x29]
inc ecx
mov dword [rbp - 0x29], ecx
mov rax, qword [rdi + 0x1c8]
cmp ecx, dword [rax + 8]
jae 0x14001e2ea
mov rsi, qword [rbp - 0x11]
jmp 0x14001dfd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x140183048]
cmp rcx, r13
je 0x14001e2c1
test byte [rcx + 0x1c], 1
je 0x14001e2c1
cmp byte [rcx + 0x19], 2
jb 0x14001e2c1
mov edx, 0x168
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x14015d600]
mov rcx, qword [rcx + 0x10]
call fcn.140005f80
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14001e2f1
test rsi, rsi
je 0x14001e2ea
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140005df3.0]
lea r13, [0x140183048]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14001e306
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x14001e31a
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14001e32e
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x11]
test rax, rax
je 0x14001e346
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14001e35a
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14001e38e
mov rcx, qword [0x140183048]
cmp rcx, r13
je 0x14001e38e
test byte [rcx + 0x1c], 1
je 0x14001e38e
cmp byte [rcx + 0x19], 2
jb 0x14001e38e
mov edx, 0x169
mov r9d, ebx
lea r8, [0x14015d600]
mov rcx, qword [rcx + 0x10]
call fcn.140004e7c
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401534b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r12, qword [rbp - 1]
jmp 0x14001e2f1
mov ecx, 0x8007000e
call fcn.140001b90
int3