Function at 0x14003d0e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rdi, rcx
lea rsi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14003d12e
test byte [rcx + 0x1c], 1
je 0x14003d12e
cmp byte [rcx + 0x19], 4
jb 0x14003d12e
mov edx, 0x171
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
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 [rdi + 0x1d8], r15
jne 0x14003d164
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1f58
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
cmp qword [rdi + 0x358], r15
jne 0x14003d185
lea r8, str.m_wszBackupSpecs___NULL
mov edx, 0x1f59
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rdi + 0x1d8]
call fcn.14011319c
mov ebx, eax
mov r13, qword [rbp + 0x50]
test eax, eax
js 0x14003d475
test byte [rdi + 0x154], 4
je 0x14003d299
lea rdx, [rbp + 0x40]
mov rcx, r13
call fcn.14010258c
mov ebx, eax
test eax, eax
jns 0x14003d21d
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14003d214
test byte [rcx + 0x1c], 1
je 0x14003d214
cmp byte [rcx + 0x19], 2
jb 0x14003d214
mov edx, 0x172
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.140040084
mov r14, qword [rbp + 0x40]
mov rcx, qword [0x140173048]
jmp 0x14003d484
mov r14, qword [rbp + 0x40]
jmp 0x14003d484
mov r14, qword [rbp + 0x40]
test r14, r14
je 0x14003d299
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d299
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14003d254
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14003d47c
test byte [rcx + 0x1c], 1
je 0x14003d47c
cmp byte [rcx + 0x19], 2
jb 0x14003d47c
mov edx, 0x173
mov dword [rsp + 0x20], ebx
mov r9, r14
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.1400151b8
jmp 0x14003d475
test byte [rdi + 0x154], 1
je 0x14003d2b3
xor r8d, r8d
lea rdx, [rbp + 0x48]
mov rcx, r13
call fcn.140091bf0
jmp 0x14003d2c5
lea r8, [rbp + 0x48]
mov dl, 1
mov rcx, qword [rdi + 0x1d8]
call fcn.14011319c
test eax, eax
mov ebx, eax
mov r12, qword [rbp + 0x48]
js 0x14003d475
mov r9, qword [rdi + 0x358]
mov r8d, dword [rdi + 0x150]
mov rdx, r12
mov rcx, r13
call fcn.140103cf4
mov ebx, eax
test eax, eax
js 0x14003d475
test byte [rdi + 0x154], 0x80
je 0x14003d3ae
cmp byte [rdi + 0x114], r15b
je 0x14003d3ae
mov ecx, 0x40
call fcn.140006fcc
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14003d330
mov rcx, rax
call fcn.1400157ec
mov rsi, rax
jmp 0x14003d333
mov rsi, r15
mov rdx, r13
mov rcx, rsi
call fcn.14002b260
mov ebx, eax
test eax, eax
js 0x14003d44e
mov rdx, qword [rdi + 0x358]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14003d353
lea r8, [r8*2 + 2]
mov rcx, rsi
call fcn.140037ee0
mov ebx, eax
test eax, eax
js 0x14003d44e
add rdi, 0x308
mov r15, qword [rdi + 8]
cmp r15, qword [rdi + 0x10]
jb 0x14003d3a3
lea rdx, [r15 + 1]
mov rcx, rdi
call fcn.1400109ec
test al, al
jne 0x14003d3a3
mov ecx, 0x8007000e
call fcn.140008e64
int3
mov rax, qword [rdi]
mov qword [rax + r15*8], rsi
inc qword [rdi + 8]
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
test r13, r13
je 0x14003d3d7
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test r12, r12
je 0x14003d3f2
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test r14, r14
je 0x14003d40d
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14003d433
test byte [rcx + 0x1c], 1
je 0x14003d433
cmp byte [rcx + 0x19], 4
jb 0x14003d433
mov edx, 0x175
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rsi, rsi
je 0x14003d208
mov rax, qword [rsi]
movabs r10, 0xf4ec1f86505c1b70
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x14003d3b5
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x14003d3bc
test byte [rcx + 0x1c], 1
je 0x14003d3bc
cmp byte [rcx + 0x19], 2
jb 0x14003d3bc
mov edx, 0x174
mov r9d, ebx
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
mov rcx, qword [0x140173048]
jmp 0x14003d3bc