Function at 0x14003c190
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 [0x14017a608]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
xor ecx, ecx
mov ebx, ecx
mov esi, ecx
mov qword [rbp - 0x38], rcx
mov r15d, ecx
mov qword [rbp - 0x30], rcx
mov r12d, ecx
mov qword [rbp - 0x28], rcx
mov r14d, ecx
mov qword [rbp - 0x48], rcx
mov r13d, ecx
mov qword [rbp - 0x40], rcx
mov rax, qword [rdi + 0x1c8]
test rax, rax
jne 0x14003c23a
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x14003c606
test byte [rcx + 0x1c], 1
je 0x14003c606
cmp byte [rcx + 0x19], 4
jb 0x14003c606
mov edx, 0x167
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.140006b98
jmp 0x14003c606
mov dword [rbp - 0x50], ecx
xor edx, edx
cmp dword [rax + 8], edx
jbe 0x14003c606
xor ebx, ebx
test r13, r13
je 0x14003c26c
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x40], rbx
mov rax, qword [rdi + 0x1c8]
mov ecx, dword [rbp - 0x50]
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x18]
mov edx, ecx
mov rcx, rax
call fcn.1401313c8
mov ebx, eax
lea r13, [0x14017a048]
xor eax, eax
test ebx, ebx
js 0x14003c569
cmp qword [rdi + 0x1d8], rax
jne 0x14003c2b2
lea r8, str.m_wszBackupSetDirectory
mov edx, 0x1d38
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008ac24
test byte [rdi + 0x154], 4
je 0x14003c3a4
test rsi, rsi
je 0x14003c2d9
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor esi, esi
mov qword [rbp - 0x38], rsi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x18]
xor edx, edx
mov rcx, qword [rdi + 0x1d8]
call fcn.140117e80
mov ebx, eax
test eax, eax
js 0x14003c569
test r15, r15
je 0x14003c319
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x30], rsi
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
call fcn.140105250
mov ebx, eax
mov r15, qword [rbp - 0x30]
test eax, eax
js 0x14003c569
test r15, r15
je 0x14003c3a6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003c3a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14003c38e
test byte [rcx + 0x1c], 1
je 0x14003c38e
cmp byte [rcx + 0x19], 2
jb 0x14003c38e
mov edx, 0x168
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.14003d060
test ebx, ebx
jle 0x14003c569
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14003c569
xor esi, esi
test r12, r12
je 0x14003c3be
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x28], rsi
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.140117e80
mov ebx, eax
xor r12d, r12d
test eax, eax
js 0x14003c636
test r14, r14
je 0x14003c409
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x48], r12
mov r12, qword [rbp - 0x28]
test byte [rdi + 0x154], 1
je 0x14003c427
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, r12
call fcn.14008c1cc
jmp 0x14003c446
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rbp - 0x18]
mov rdx, rsi
mov rcx, qword [rdi + 0x1d8]
call fcn.140117e80
xor esi, esi
test eax, eax
mov ebx, eax
mov r14, qword [rbp - 0x48]
js 0x14003c569
mov r13, qword [rbp - 0x40]
mov r9, r13
mov r8d, dword [rdi + 0x150]
mov rdx, r14
mov rcx, r12
call fcn.140106b08
mov ebx, eax
test eax, eax
js 0x14003c562
test byte [rdi + 0x154], 0x80
je 0x14003c522
cmp byte [rdi + 0x114], sil
je 0x14003c522
lea ecx, [rsi + 0x40]
call fcn.140001950
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14003c4af
mov rcx, rax
call fcn.1400118e0
mov rsi, rax
mov rdx, r12
mov rcx, rsi
call fcn.1400276b8
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x14003c53f
or r8, 0xffffffffffffffff
inc r8
cmp word [r13 + r8*2], ax
jne 0x14003c4c6
lea r8, [r8*2 + 2]
mov rdx, r13
mov rcx, rsi
call fcn.1400350a4
mov ebx, eax
test eax, eax
js 0x14003c53f
lea r14, [rdi + 0x308]
mov r13, qword [r14 + 8]
cmp r13, qword [r14 + 0x10]
jb 0x14003c50f
lea rdx, [r13 + 1]
mov rcx, r14
call fcn.14000c0fc
test al, al
je 0x14003c63f
mov rax, qword [r14]
mov qword [rax + r13*8], rsi
inc qword [r14 + 8]
mov r14, qword [rbp - 0x48]
mov r13, qword [rbp - 0x40]
mov ecx, dword [rbp - 0x50]
inc ecx
mov dword [rbp - 0x50], ecx
mov rax, qword [rdi + 0x1c8]
cmp ecx, dword [rax + 8]
jae 0x14003c562
mov rsi, qword [rbp - 0x38]
jmp 0x14003c248
test rsi, rsi
je 0x14003c562
mov rax, qword [rsi]
movabs r10, 0xf4ec1f86505c1b70
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [vtable.H_MA8HI.0]
lea r13, [0x14017a048]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14003c57e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x14003c592
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14003c5a6
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14003c5be
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14003c5d2
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14003c606
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14003c606
test byte [rcx + 0x1c], 1
je 0x14003c606
cmp byte [rcx + 0x19], 2
jb 0x14003c606
mov edx, 0x169
mov r9d, ebx
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001d90
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 r12, qword [rbp - 0x28]
jmp 0x14003c569
mov ecx, 0x8007000e
call fcn.140003714
int3