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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400c0200]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
cmp qword [rcx + 0x18], 8
jb 0x140019fe4
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001a35e
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140019fff
mov rdx, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001a00c
mov rcx, qword [rbx]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001a35e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r9, [rbp + 0x32]
nop dword [rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8w
shl ax, 2
lea edx, [rax + r8]
add dx, dx
sub cx, dx
add cx, 0x30
mov word [r9], cx
mov ecx, r8d
test r8d, r8d
jne 0x14001a030
lea r8, [rbp + 0x32]
mov rdx, r9
lea rcx, [rbp - 0x18]
call fcn.140018f30
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xe
jb 0x14001a385
cmp qword [rbx + 0x18], 8
jb 0x14001a09a
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 - 0x58]
call fcn.140011150
nop
lea rdx, str.____
lea rcx, [rbp - 0x58]
call fcn.1400186e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400110c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [0x1400afc50]
lea rcx, [rsp + 0x40]
call fcn.1400186e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140018d10
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14001a1d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a1cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a38b
call fcn.140052b20
movdqa xmm0, xmmword [0x1400b2bb0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14001a223
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a21d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a391
call fcn.140052b20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001a265
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a260
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a397
call fcn.140052b20
movdqa xmm0, xmmword [0x1400b2bb0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001a2ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a2b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a39d
call fcn.140052b20
movdqa xmm0, xmmword [0x1400b2bb0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14001a30d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a308
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a3a3
call fcn.140052b20
movdqa xmm0, xmmword [0x1400b2bb0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14001a35a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a355
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a37f
call fcn.140052b20
xor al, al
jmp 0x14001a360
mov al, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140052ab0
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
call fcn.14005e9d0
nop
call fcn.140009730
nop
call fcn.14005e9d0
nop
call fcn.14005e9d0
nop
call fcn.14005e9d0
nop
call fcn.14005e9d0
nop
call fcn.14005e9d0
int3