Function at 0x14001cbc4
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r13
push r15
sub rsp, 0x30
and qword [rsp + 0x50], 0
mov rbx, rcx
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
lea r13, [0x14014be60]
cmp rcx, r15
je 0x14001cc17
test byte [rcx + 0x1c], 1
je 0x14001cc17
cmp byte [rcx + 0x19], 4
jb 0x14001cc17
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r8, r13
call fcn.140004b74
test byte [rbx + 0x154], 4
jne 0x14001cc38
lea r8, str.OVERWRITE_m_ulFeatures_
mov edx, 0x1be2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008410c
mov rcx, qword [rbx + 0x238]
lea rdx, [rbx + 0x188]
lea r8, [rsp + 0x50]
call fcn.14010e4fc
mov edi, eax
test eax, eax
js 0x14001cdc5
mov rax, qword [rbx + 0x1e0]
test rax, rax
je 0x14001cd13
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14001cc9d
test byte [rcx + 0x1c], 1
je 0x14001cc9d
cmp byte [rcx + 0x19], 4
jb 0x14001cc9d
mov r9, qword [rsp + 0x50]
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140005bdc
mov rdx, qword [rbx + 0x1e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14001cd13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14001cd00
test byte [rcx + 0x1c], 1
je 0x14001cd00
cmp byte [rcx + 0x19], 2
jb 0x14001cd00
mov r9, qword [rsp + 0x50]
mov edx, 0x15a
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x1e0]
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140005c9c
mov rcx, qword [0x1401720a0]
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x14001cdcc
cmp dword [rbx + 0x150], 4
je 0x14001cdc5
mov rax, qword [rbx + 0x240]
test rax, rax
je 0x14001cdc5
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14001cd65
test byte [rcx + 0x1c], 1
je 0x14001cd65
cmp byte [rcx + 0x19], 4
jb 0x14001cd65
mov r9, qword [rbx + 0x238]
mov edx, 0x15b
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140005bdc
mov rdx, qword [rbx + 0x240]
mov rcx, qword [rbx + 0x238]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14001cdc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14001cd00
test byte [rcx + 0x1c], 1
je 0x14001cd00
cmp byte [rcx + 0x19], 2
jb 0x14001cd00
mov r9, qword [rbx + 0x238]
mov edx, 0x15c
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x240]
jmp 0x14001cce8
mov rcx, qword [0x1401720a0]
cmp qword [rsp + 0x50], 0
je 0x14001cde6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401720a0]
test edi, edi
jns 0x14001ce16
cmp rcx, r15
je 0x14001ce38
test byte [rcx + 0x1c], 1
je 0x14001ce16
cmp byte [rcx + 0x19], 2
jb 0x14001ce16
mov rcx, qword [rcx + 0x10]
mov edx, 0x15d
mov r9d, edi
mov r8, r13
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14001ce38
test byte [rcx + 0x1c], 1
je 0x14001ce38
cmp byte [rcx + 0x19], 4
jb 0x14001ce38
mov rcx, qword [rcx + 0x10]
mov edx, 0x15e
mov r8, r13
call fcn.140004b74
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r13
pop rdi
ret