Function at 0x14001e3b4
Capabilities:
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rsi, rcx
xor ebx, ebx
mov byte [rbp + 0x40], bl
mov byte [rbp + 0x48], bl
mov qword [rbp + 0x58], rbx
mov r12d, ebx
mov qword [rbp + 0x50], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov dword [rbp - 8], ebx
lea rdx, [rcx + 0x188]
lea r8, [rbp + 0x58]
mov rcx, qword [rcx + 0x238]
call fcn.14011777c
mov edi, eax
lea r15, [0x14017a048]
test eax, eax
js 0x14001e6b5
lea rdx, [rbp + 0x48]
mov rcx, rsi
call fcn.14002aac4
mov edi, eax
test eax, eax
js 0x14001e6b5
mov r14, qword [rbp + 0x58]
test byte [rsi + 0x154], 4
je 0x14001e53a
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.140103ce4
mov edi, eax
test eax, eax
js 0x14001e59e
cmp byte [rbp + 0x40], bl
jne 0x14001e53a
cmp byte [rbp + 0x48], bl
jne 0x14001e53a
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rsi + 0x238]
call fcn.14011777c
mov edi, eax
mov r12, qword [rbp + 0x50]
test eax, eax
js 0x14001e583
lea r15, [rsi + 0x1e0]
mov rdx, r15
mov rcx, r12
call fcn.14010598c
mov edi, eax
test eax, eax
js 0x14001e583
cmp qword [r15], rbx
je 0x14001e53a
mov rcx, rsi
call fcn.140023538
mov edi, eax
test eax, eax
js 0x14001e583
mov dword [rbp + 0x40], ebx
lea r9, [rbp + 0x40]
xor r8d, r8d
lea rdx, str.CsvHacks
lea rcx, str.CsvSupportSettings
call fcn.140097bb0
cmp byte [rsi + 0x428], bl
je 0x14001e637
cmp dword [rbp + 0x40], ebx
je 0x14001e637
mov rdx, r14
mov rcx, qword [r15]
call fcn.14011bffc
test eax, eax
jns 0x14001e53a
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x14001e53a
test byte [rcx + 0x1c], 1
je 0x14001e53a
cmp byte [rcx + 0x19], 2
jb 0x14001e53a
mov edx, 0x155
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, qword [r15]
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.140011464
cmp dword [rsi + 0x150], 4
setne dl
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.140103b1c
mov edi, eax
test eax, eax
js 0x14001e583
cmp qword [rsi + 0x1d8], rbx
je 0x14001e579
lea r8, str.m_wszBackupSetDirectory__NULL
mov edx, 0x1ba6
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008ac24
mov qword [rsi + 0x1d8], r14
mov r14, rbx
test r12, r12
je 0x14001e597
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r15, [0x14017a048]
test r14, r14
je 0x14001e5b3
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
test edi, edi
jns 0x14001e625
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [rsi + 0x20], ebx
jl 0x14001e5dc
mov eax, 0x8078014b
mov dword [rsi + 0x20], eax
cmp edi, eax
cmovne ebx, edi
mov dword [rsi + 0x24], ebx
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14001e625
test byte [rcx + 0x1c], 1
je 0x14001e625
cmp byte [rcx + 0x19], 2
jb 0x14001e625
mov edx, 0x157
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x20]
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.14003c7a4
nop
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, r14
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001e53a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x14001e69f
test byte [rcx + 0x1c], 1
je 0x14001e69f
cmp byte [rcx + 0x19], 2
jb 0x14001e69f
mov edx, 0x156
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, qword [r15]
lea r8, [0x14015a530]
mov rcx, qword [rcx + 0x10]
call fcn.14003d2dc
test edi, edi
jle 0x14001e583
movzx edi, di
or edi, 0x80070000
jmp 0x14001e583
mov r14, qword [rbp + 0x58]
jmp 0x14001e59e