Function at 0x14001d1d4
Capabilities:
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rsi, rcx
xor ebx, ebx
mov byte [rbp + 0x48], bl
mov byte [rbp + 0x50], bl
mov qword [rbp + 0x60], rbx
mov r13d, ebx
mov qword [rbp + 0x58], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
lea rdx, [rcx + 0x188]
lea r8, [rbp + 0x60]
mov rcx, qword [rcx + 0x238]
call fcn.140114f08
mov edi, eax
lea r12, [0x14017b048]
test eax, eax
js 0x14001d446
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.1400349d8
mov edi, eax
test eax, eax
js 0x14001d446
mov r14, qword [rbp + 0x60]
test byte [rsi + 0x154], 4
je 0x14001d35d
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.140100650
mov edi, eax
test eax, eax
js 0x14001d44a
cmp byte [rbp + 0x48], bl
jne 0x14001d35d
cmp byte [rbp + 0x50], bl
jne 0x14001d35d
lea r8, [rbp + 0x58]
xor edx, edx
mov rcx, qword [rsi + 0x238]
call fcn.140114f08
mov edi, eax
mov r13, qword [rbp + 0x58]
test eax, eax
js 0x14001d3a6
lea r15, [rsi + 0x1e0]
mov rdx, r15
mov rcx, r13
call fcn.1400ff164
mov edi, eax
test eax, eax
js 0x14001d3a6
cmp qword [r15], rbx
je 0x14001d35d
mov rcx, rsi
call fcn.140033ed8
mov edi, eax
test eax, eax
js 0x14001d3a6
mov dword [rbp + 0x48], ebx
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.CsvHacks
lea rcx, str.CsvSupportSettings
call fcn.140094c10
cmp byte [rsi + 0x428], bl
je 0x14001d3c3
cmp dword [rbp + 0x48], ebx
je 0x14001d3c3
mov rdx, r14
mov rcx, qword [r15]
call fcn.14011740c
test eax, eax
jns 0x14001d35d
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14001d35d
test byte [rcx + 0x1c], 1
je 0x14001d35d
cmp byte [rcx + 0x19], 2
jb 0x14001d35d
mov edx, 0x155
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, qword [r15]
lea r8, [0x1401563e0]
mov rcx, qword [rcx + 0x10]
call fcn.140005e80
cmp dword [rsi + 0x150], 4
setne dl
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.140100484
mov edi, eax
test eax, eax
js 0x14001d3a6
cmp qword [rsi + 0x1d8], rbx
je 0x14001d39c
lea r8, str.m_wszBackupSetDirectory__NULL
mov edx, 0x1ba6
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140087b08
mov qword [rsi + 0x1d8], r14
mov r14, rbx
test r13, r13
je 0x14001d44a
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14001d44a
mov rdx, r14
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001d35d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r12d, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14001d429
test byte [rcx + 0x1c], 1
je 0x14001d429
cmp byte [rcx + 0x19], 2
jb 0x14001d429
mov edx, 0x156
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
mov r9, qword [r15]
lea r8, [0x1401563e0]
mov rcx, qword [rcx + 0x10]
call fcn.140005e80
movzx edi, r12w
or edi, 0x80070000
test r12d, r12d
cmovle edi, r12d
lea r12, [0x14017b048]
jmp 0x14001d3a6
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x14001d45e
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test edi, edi
jns 0x14001d4d0
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [rsi + 0x20], ebx
jl 0x14001d487
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 [0x14017b048]
cmp rcx, r12
je 0x14001d4d0
test byte [rcx + 0x1c], 1
je 0x14001d4d0
cmp byte [rcx + 0x19], 2
jb 0x14001d4d0
mov edx, 0x157
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x20]
lea r8, [0x1401563e0]
mov rcx, qword [rcx + 0x10]
call fcn.140010290
nop
mov eax, edi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret