Function at 0x14003ed08
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 [0x14016a508]
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, [0x14016a048]
cmp qword [rdi + 0x1c8], rcx
jne 0x14003ee73
mov rcx, qword [0x14016a048]
cmp rcx, rax
je 0x14003ed9f
test byte [rcx + 0x1c], 1
je 0x14003ed9f
cmp byte [rcx + 0x19], 4
jb 0x14003ed9f
mov edx, 0x167
lea r8, [0x14014a790]
mov rcx, qword [rcx + 0x10]
call fcn.14000c0e8
mov r14, qword [rbp - 0x50]
lea rdi, [0x14016a048]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14003edbf
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x14003edd3
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14003ede7
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x14003edfb
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14003ee0f
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14003ee43
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x14003ee43
test byte [rcx + 0x1c], 1
je 0x14003ee43
cmp byte [rcx + 0x19], 2
jb 0x14003ee43
mov edx, 0x169
mov r9d, ebx
lea r8, [0x14014a790]
mov rcx, qword [rcx + 0x10]
call fcn.14000c23c
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400071e0
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 0x14003ed9f
mov rcx, qword [rbp - 0x48]
xor ebx, ebx
test rcx, rcx
je 0x14003eea5
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.140124fc8
mov ebx, eax
xor r14d, r14d
test eax, eax
js 0x14003ed9f
cmp qword [rdi + 0x1d8], r14
jne 0x14003eeea
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1d38
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
test byte [rdi + 0x154], 4
je 0x14003efe6
test rsi, rsi
je 0x14003ef0f
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.14010bf9c
mov ebx, eax
test eax, eax
js 0x14003ed9f
test r15, r15
je 0x14003ef4f
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.1400fae0c
mov ebx, eax
mov r15, qword [rbp - 0x30]
test eax, eax
js 0x14003eda3
xor ebx, ebx
test r15, r15
je 0x14003efec
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003efec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x14003efd0
test byte [rcx + 0x1c], 1
je 0x14003efd0
cmp byte [rcx + 0x19], 2
jb 0x14003efd0
mov edx, 0x168
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x14014a790]
mov rcx, qword [rcx + 0x10]
call fcn.14003fbc0
test ebx, ebx
jle 0x14003edaa
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14003edaa
mov r14, qword [rbp - 0x50]
xor ebx, ebx
test r12, r12
je 0x14003f004
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.14010bf9c
mov ebx, eax
xor r12d, r12d
test eax, eax
js 0x14003f1b4
test r13, r13
je 0x14003f04f
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 0x14003f06d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14008a470
jmp 0x14003f08c
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.14010bf9c
test eax, eax
mov ebx, eax
mov r13, qword [rbp - 0x40]
js 0x14003eda3
mov r9, qword [rbp - 0x48]
mov r8d, dword [rdi + 0x150]
mov rdx, r13
mov rcx, r12
call fcn.1400fc574
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14003eda3
test byte [rdi + 0x154], 0x80
je 0x14003f169
cmp byte [rdi + 0x114], cl
je 0x14003f169
mov ecx, 0x40
call fcn.140006d9c
mov qword [rbp - 0x20], rax
xor ecx, ecx
test rax, rax
je 0x14003f0f7
mov rcx, rax
call fcn.1400155ac
mov rsi, rax
jmp 0x14003f0fa
mov rsi, rcx
mov rdx, r12
mov rcx, rsi
call fcn.14002b020
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14003f188
mov rax, qword [rbp - 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], cx
jne 0x14003f115
lea r8, [r8*2 + 2]
mov rdx, qword [rbp - 0x48]
mov rcx, rsi
call fcn.140037ca0
mov ebx, eax
test eax, eax
js 0x14003f188
lea r14, [rdi + 0x308]
mov r13, qword [r14 + 8]
cmp r13, qword [r14 + 0x10]
jb 0x14003f15a
lea rdx, [r13 + 1]
mov rcx, r14
call fcn.1400107ac
test al, al
je 0x14003f17d
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 0x14003ee79
mov ecx, 0x8007000e
call fcn.140008c24
int3
test rsi, rsi
je 0x14003eda3
mov rax, qword [rsi]
movabs r10, 0xf4ec1f86505c1b70
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [vtable.H_MA8HI.0]
jmp 0x14003eda3
mov r12, qword [rbp - 0x28]
jmp 0x14003eda3