Function at 0x1400201b0
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 [0x1400bf230]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400201e8
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140020697
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140020203
mov rdx, qword [rsi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140020210
mov rcx, qword [rbx]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140020697
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 0x140020231
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 0x14002029b
lea r8, [rbp + 0xa]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.140015180
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xe
jb 0x1400206c3
cmp qword [rbx + 0x18], 8
jb 0x1400202c0
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.140017b30
nop
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14002032e
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.140059ea0
mov word [rbx + rdi*2], r14w
lea rax, [rbp - 0x80]
jmp 0x14002034c
mov qword [rsp + 0x20], 6
lea r9, str.____
mov edx, 6
lea rcx, [rbp - 0x80]
call fcn.140017f90
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 0x14002038a
mov rsi, qword [rsi]
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400203d3
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.140059ea0
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x60]
jmp 0x1400203e5
mov qword [rsp + 0x20], rdx
mov r9, rsi
lea rcx, [rsp + 0x60]
call fcn.140017f90
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 0x140020465
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, [0x1400b1950]
call fcn.140059ea0
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x40]
jmp 0x140020484
mov qword [rsp + 0x20], 0xa
lea r9, [0x1400b1950]
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.140017f90
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.14001f0b0
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 0x140020508
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020503
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206c9
call fcn.140057c60
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14002055a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206cf
call fcn.140057c60
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002059c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020597
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206d5
call fcn.140057c60
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400205f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400205ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206db
call fcn.140057c60
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140020646
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206e1
call fcn.140057c60
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140020693
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002068e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206bd
call fcn.140057c60
xor al, al
jmp 0x140020699
mov al, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140057c40
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.140061590
nop
call fcn.1400171b0
nop
call fcn.140061590
nop
call fcn.140061590
nop
call fcn.140061590
nop
call fcn.140061590
nop
call fcn.140061590
int3