Function at 0x14001e470
Capabilities:
Check if file exists
Move file
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001e4a8
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e957
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001e4c3
mov rdx, qword [rsi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e4d0
mov rcx, qword [rbx]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001e957
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0xa]
sub r10, 2
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dx
shl cx, 2
lea r8d, [rcx + rdx]
add r8w, r8w
sub r9w, r8w
add r9w, 0x30
mov word [r10], r9w
mov r9d, edx
test edx, edx
jne 0x14001e4f1
xor r14d, r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
lea rax, [rbp + 0xa]
cmp r10, rax
je 0x14001e55b
lea r8, [rbp + 0xa]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.140013490
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xe
jb 0x14001e983
cmp qword [rbx + 0x18], 8
jb 0x14001e580
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0xe
lea r9, str.Error_moving_
lea rcx, [rbp - 0x80]
call fcn.140015e40
nop
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14001e5ee
lea rdi, [rcx + 6]
mov qword [rbp - 0x70], rdi
lea rbx, [rbp - 0x80]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + rcx*2]
mov r8d, 0xc
lea rdx, str.____
call fcn.140058190
mov word [rbx + rdi*2], r14w
lea rax, [rbp - 0x80]
jmp 0x14001e60c
mov qword [rsp + 0x20], 6
lea r9, str.____
mov edx, 6
lea rcx, [rbp - 0x80]
call fcn.1400162a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14001e64a
mov rsi, qword [rsi]
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14001e693
lea rdi, [rcx + rdx]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp r8, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, rsi
call fcn.140058190
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x60]
jmp 0x14001e6a5
mov qword [rsp + 0x20], rdx
mov r9, rsi
lea rcx, [rsp + 0x60]
call fcn.1400162a0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x14001e725
lea rdi, [rcx + 0xa]
mov qword [rsp + 0x50], rdi
lea rbx, [rsp + 0x40]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rcx*2]
mov r8d, 0x14
lea rdx, [0x1400ad220]
call fcn.140058190
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x40]
jmp 0x14001e744
mov qword [rsp + 0x20], 0xa
lea r9, [0x1400ad220]
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.1400162a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14001d370
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001e7c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e7c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e989
call fcn.140055f50
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14001e81a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e98f
call fcn.140055f50
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e85c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e995
call fcn.140055f50
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001e8b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e8ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e99b
call fcn.140055f50
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001e906
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9a1
call fcn.140055f50
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14001e953
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e94e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e97d
call fcn.140055f50
xor al, al
jmp 0x14001e959
mov al, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140055f30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14005f880
nop
call fcn.140014c70
nop
call fcn.14005f880
nop
call fcn.14005f880
nop
call fcn.14005f880
nop
call fcn.14005f880
nop
call fcn.14005f880
int3