Function at 0x14001d72c
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 rdi, rcx
mov rcx, qword [0x140183048]
lea r15, [0x140183048]
lea r13, [0x14015d600]
cmp rcx, r15
je 0x14001d77f
test byte [rcx + 0x1c], 1
je 0x14001d77f
cmp byte [rcx + 0x19], 4
jb 0x14001d77f
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r8, r13
call fcn.140004e50
test byte [rdi + 0x154], 4
jne 0x14001d7a0
lea r8, str.OVERWRITE_m_ulFeatures_
mov edx, 0x1be2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008f4c8
mov rcx, qword [rdi + 0x238]
lea rdx, [rdi + 0x188]
lea r8, [rsp + 0x50]
call fcn.14011c8c8
mov ebx, eax
test eax, eax
js 0x14001d947
mov rax, qword [rdi + 0x1e0]
test rax, rax
je 0x14001d88a
mov rcx, qword [0x140183048]
mov rdx, rax
cmp rcx, r15
je 0x14001d80f
test byte [rcx + 0x1c], 1
je 0x14001d80f
cmp byte [rcx + 0x19], 4
jb 0x14001d80f
mov r9, qword [rsp + 0x50]
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140006004
mov rdx, qword [rdi + 0x1e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001d88a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x140183048]
cmp rcx, r15
je 0x14001d877
test byte [rcx + 0x1c], 1
je 0x14001d877
cmp byte [rcx + 0x19], 2
jb 0x14001d877
mov rax, qword [rdi + 0x1e0]
mov edx, 0x15a
mov r9, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.1400060c0
mov rcx, qword [0x140183048]
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x14001d94e
cmp dword [rdi + 0x150], 4
je 0x14001d947
mov rax, qword [rdi + 0x240]
test rax, rax
je 0x14001d947
mov rcx, qword [0x140183048]
mov rdx, rax
cmp rcx, r15
je 0x14001d8e6
test byte [rcx + 0x1c], 1
je 0x14001d8e6
cmp byte [rcx + 0x19], 4
jb 0x14001d8e6
mov r9, qword [rdi + 0x238]
mov edx, 0x15b
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140006004
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 0x14001d947
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x140183048]
cmp rcx, r15
je 0x14001d877
test byte [rcx + 0x1c], 1
je 0x14001d877
cmp byte [rcx + 0x19], 2
jb 0x14001d877
mov rax, qword [rdi + 0x240]
mov edx, 0x15c
mov r9, qword [rdi + 0x238]
jmp 0x14001d85b
mov rcx, qword [0x140183048]
cmp qword [rsp + 0x50], 0
je 0x14001d96e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test ebx, ebx
jns 0x14001d99e
cmp rcx, r15
je 0x14001d9c0
test byte [rcx + 0x1c], 1
je 0x14001d99e
cmp byte [rcx + 0x19], 2
jb 0x14001d99e
mov rcx, qword [rcx + 0x10]
mov edx, 0x15d
mov r9d, ebx
mov r8, r13
call fcn.140004e7c
mov rcx, qword [0x140183048]
cmp rcx, r15
je 0x14001d9c0
test byte [rcx + 0x1c], 1
je 0x14001d9c0
cmp byte [rcx + 0x19], 4
jb 0x14001d9c0
mov rcx, qword [rcx + 0x10]
mov edx, 0x15e
mov r8, r13
call fcn.140004e50
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r13
pop rdi
ret