Function at 0x14003486c
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
lea r12, [0x14015a530]
cmp rcx, r14
je 0x1400348c0
test byte [rcx + 0x1c], 1
je 0x1400348c0
cmp byte [rcx + 0x19], 4
jb 0x1400348c0
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r8, r12
call fcn.140006b98
test byte [rdi + 0x154], 4
jne 0x1400348e1
lea r8, str.OVERWRITE_m_ulFeatures_
mov edx, 0x1be2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008ac24
mov rcx, qword [rdi + 0x238]
lea rdx, [rdi + 0x188]
lea r8, [rsp + 0x40]
call fcn.14011777c
mov ebx, eax
test eax, eax
js 0x140034a8b
mov rax, qword [rdi + 0x1e0]
test rax, rax
je 0x1400349ce
mov rcx, qword [0x14017a048]
mov rdx, rax
cmp rcx, r14
je 0x140034950
test byte [rcx + 0x1c], 1
je 0x140034950
cmp byte [rcx + 0x19], 4
jb 0x140034950
mov r9, qword [rsp + 0x40]
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.1400113b0
mov rdx, qword [rdi + 0x1e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400349ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400349b8
test byte [rcx + 0x1c], 1
je 0x1400349b8
cmp byte [rcx + 0x19], 2
jb 0x1400349b8
mov rax, qword [rdi + 0x1e0]
mov edx, 0x15a
mov r9, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14003d2dc
mov rcx, qword [0x14017a048]
test ebx, ebx
jle 0x140034a92
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140034a92
cmp dword [rdi + 0x150], 4
je 0x140034a8b
mov rax, qword [rdi + 0x240]
test rax, rax
je 0x140034a8b
mov rcx, qword [0x14017a048]
mov rdx, rax
cmp rcx, r14
je 0x140034a2a
test byte [rcx + 0x1c], 1
je 0x140034a2a
cmp byte [rcx + 0x19], 4
jb 0x140034a2a
mov r9, qword [rdi + 0x238]
mov edx, 0x15b
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.1400113b0
mov rdx, qword [rdi + 0x240]
mov rcx, qword [rdi + 0x238]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140034a8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400349b8
test byte [rcx + 0x1c], 1
je 0x1400349b8
cmp byte [rcx + 0x19], 2
jb 0x1400349b8
mov rax, qword [rdi + 0x240]
mov edx, 0x15c
mov r9, qword [rdi + 0x238]
jmp 0x14003499c
mov rcx, qword [0x14017a048]
cmp qword [rsp + 0x40], 0
je 0x140034ab2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x140034ae2
cmp rcx, r14
je 0x140034b04
test byte [rcx + 0x1c], 1
je 0x140034ae2
cmp byte [rcx + 0x19], 2
jb 0x140034ae2
mov rcx, qword [rcx + 0x10]
mov edx, 0x15d
mov r9d, ebx
mov r8, r12
call fcn.140006cec
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140034b04
test byte [rcx + 0x1c], 1
je 0x140034b04
cmp byte [rcx + 0x19], 4
jb 0x140034b04
mov rcx, qword [rcx + 0x10]
mov edx, 0x15e
mov r8, r12
call fcn.140006b98
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret