Function at 0x14003ef48
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
xor ecx, ecx
mov ebx, ecx
mov esi, ecx
mov qword [rbp - 0x50], rcx
mov r15d, ecx
mov qword [rbp - 0x30], rcx
mov r12d, ecx
mov qword [rbp - 0x28], rcx
mov r13d, ecx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], rcx
lea rax, [0x140173048]
cmp qword [rdi + 0x1c8], rcx
jne 0x14003f0b3
mov rcx, qword [0x140173048]
cmp rcx, rax
je 0x14003efdf
test byte [rcx + 0x1c], 1
je 0x14003efdf
cmp byte [rcx + 0x19], 4
jb 0x14003efdf
mov edx, 0x167
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
mov r14, qword [rbp - 0x50]
lea rdi, [0x140173048]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14003efff
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x14003f013
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14003f027
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x14003f03b
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14003f04f
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14003f083
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14003f083
test byte [rcx + 0x1c], 1
je 0x14003f083
cmp byte [rcx + 0x19], 2
jb 0x14003f083
mov edx, 0x169
mov r9d, ebx
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000c47c
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x80]
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 r14d, ecx
mov dword [rbp - 0x38], ecx
mov rax, qword [rdi + 0x1c8]
cmp r14d, dword [rax + 8]
jae 0x14003efdf
mov rcx, qword [rbp - 0x48]
xor ebx, ebx
test rcx, rcx
je 0x14003f0e5
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x48], rbx
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x18]
mov edx, r14d
mov rcx, qword [rdi + 0x1c8]
call fcn.14012c748
mov ebx, eax
xor r14d, r14d
test eax, eax
js 0x14003efdf
cmp qword [rdi + 0x1d8], r14
jne 0x14003f12a
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1d38
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
test byte [rdi + 0x154], 4
je 0x14003f226
test rsi, rsi
je 0x14003f14f
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x50], r14
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x18]
xor edx, edx
mov rcx, qword [rdi + 0x1d8]
call fcn.14011371c
mov ebx, eax
test eax, eax
js 0x14003efdf
test r15, r15
je 0x14003f18f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x30], r14
lea rdx, [rbp - 0x30]
mov r14, qword [rbp - 0x50]
mov rcx, r14
call fcn.14010258c
mov ebx, eax
mov r15, qword [rbp - 0x30]
test eax, eax
js 0x14003efe3
xor ebx, ebx
test r15, r15
je 0x14003f22c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003f22c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x14003f210
test byte [rcx + 0x1c], 1
je 0x14003f210
cmp byte [rcx + 0x19], 2
jb 0x14003f210
mov edx, 0x168
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
call fcn.14003fe00
test ebx, ebx
jle 0x14003efea
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14003efea
mov r14, qword [rbp - 0x50]
xor ebx, ebx
test r12, r12
je 0x14003f244
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x28], rbx
lea rsi, [rdi + 0x128]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x18]
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.14011371c
mov ebx, eax
xor r12d, r12d
test eax, eax
js 0x14003f3f4
test r13, r13
je 0x14003f28f
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x40], r12
mov r12, qword [rbp - 0x28]
test byte [rdi + 0x154], 1
je 0x14003f2ad
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.140091bf0
jmp 0x14003f2cc
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rbp - 0x18]
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.14011371c
test eax, eax
mov ebx, eax
mov r13, qword [rbp - 0x40]
js 0x14003efe3
mov r9, qword [rbp - 0x48]
mov r8d, dword [rdi + 0x150]
mov rdx, r13
mov rcx, r12
call fcn.140103cf4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14003efe3
test byte [rdi + 0x154], 0x80
je 0x14003f3a9
cmp byte [rdi + 0x114], cl
je 0x14003f3a9
mov ecx, 0x40
call fcn.140006fcc
mov qword [rbp - 0x20], rax
xor ecx, ecx
test rax, rax
je 0x14003f337
mov rcx, rax
call fcn.1400157ec
mov rsi, rax
jmp 0x14003f33a
mov rsi, rcx
mov rdx, r12
mov rcx, rsi
call fcn.14002b260
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14003f3c8
mov rax, qword [rbp - 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], cx
jne 0x14003f355
lea r8, [r8*2 + 2]
mov rdx, qword [rbp - 0x48]
mov rcx, rsi
call fcn.140037ee0
mov ebx, eax
test eax, eax
js 0x14003f3c8
lea r14, [rdi + 0x308]
mov r13, qword [r14 + 8]
cmp r13, qword [r14 + 0x10]
jb 0x14003f39a
lea rdx, [r13 + 1]
mov rcx, r14
call fcn.1400109ec
test al, al
je 0x14003f3bd
mov rax, qword [r14]
mov qword [rax + r13*8], rsi
inc qword [r14 + 8]
mov r13, qword [rbp - 0x40]
mov r14d, dword [rbp - 0x38]
inc r14d
mov dword [rbp - 0x38], r14d
mov rsi, qword [rbp - 0x50]
jmp 0x14003f0b9
mov ecx, 0x8007000e
call fcn.140008e64
int3
test rsi, rsi
je 0x14003efe3
mov rax, qword [rsi]
movabs r10, 0xf4ec1f86505c1b70
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [vtable.H_MA8HI.0]
jmp 0x14003efe3
mov r12, qword [rbp - 0x28]
jmp 0x14003efe3