Function at 0x140037448
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 [0x14016a048]
lea r14, [0x14016a048]
lea r12, [0x14014a790]
cmp rcx, r14
je 0x14003749c
test byte [rcx + 0x1c], 1
je 0x14003749c
cmp byte [rcx + 0x19], 4
jb 0x14003749c
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r8, r12
call fcn.14000c0e8
test byte [rdi + 0x154], 4
jne 0x1400374bd
lea r8, str.OVERWRITE_m_ulFeatures_
mov edx, 0x1be2
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
mov rcx, qword [rdi + 0x238]
lea rdx, [rdi + 0x188]
lea r8, [rsp + 0x40]
call fcn.14010b880
mov ebx, eax
test eax, eax
js 0x140037661
mov rax, qword [rdi + 0x1e0]
test rax, rax
je 0x1400375a7
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x140037522
test byte [rcx + 0x1c], 1
je 0x140037522
cmp byte [rcx + 0x19], 4
jb 0x140037522
mov r9, qword [rsp + 0x40]
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.140014ff8
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 0x1400375a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x140037591
test byte [rcx + 0x1c], 1
je 0x140037591
cmp byte [rcx + 0x19], 2
jb 0x140037591
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.14003fe44
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x140037668
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140037668
cmp dword [rdi + 0x150], 4
je 0x140037661
mov rax, qword [rdi + 0x240]
test rax, rax
je 0x140037661
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x1400375f9
test byte [rcx + 0x1c], 1
je 0x1400375f9
cmp byte [rcx + 0x19], 4
jb 0x1400375f9
mov r9, qword [rdi + 0x238]
mov edx, 0x15b
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.140014ff8
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 0x140037661
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x140037591
test byte [rcx + 0x1c], 1
je 0x140037591
cmp byte [rcx + 0x19], 2
jb 0x140037591
mov rax, qword [rdi + 0x240]
mov edx, 0x15c
mov r9, qword [rdi + 0x238]
jmp 0x140037575
mov rcx, qword [0x14016a048]
cmp qword [rsp + 0x40], 0
je 0x140037688
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test ebx, ebx
jns 0x1400376b8
cmp rcx, r14
je 0x1400376da
test byte [rcx + 0x1c], 1
je 0x1400376b8
cmp byte [rcx + 0x19], 2
jb 0x1400376b8
mov rcx, qword [rcx + 0x10]
mov edx, 0x15d
mov r9d, ebx
mov r8, r12
call fcn.14000c23c
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x1400376da
test byte [rcx + 0x1c], 1
je 0x1400376da
cmp byte [rcx + 0x19], 4
jb 0x1400376da
mov rcx, qword [rcx + 0x10]
mov edx, 0x15e
mov r8, r12
call fcn.14000c0e8
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret