Function at 0x140019e80
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 [0x1400cd200]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
cmp qword [rcx + 0x18], 8
jb 0x140019eb4
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001a244
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140019ecf
mov rdx, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140019edc
mov rcx, qword [rbx]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001a244
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x32]
nop dword [rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dx
shl cx, 2
lea eax, [rcx + rdx]
add ax, ax
sub r8w, ax
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140019f00
lea r8, [rbp + 0x32]
mov rdx, r9
lea rcx, [rbp - 0x18]
call fcn.140018de0
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xe
jb 0x14001a26b
cmp qword [rbx + 0x18], 8
jb 0x140019f66
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.1400110d0
nop
mov r8d, 6
lea rdx, str.____
lea rcx, [rbp - 0x58]
call fcn.140011210
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 r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140019fdf
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140011210
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
mov r8d, 0xa
lea rdx, [0x1400bc450]
lea rcx, [rsp + 0x40]
call fcn.140011210
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.140018bc0
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 0x14001a0b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a0b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a271
call fcn.140056410
movdqa xmm0, xmmword [0x1400bf4f0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14001a109
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a103
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a277
call fcn.140056410
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001a14b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a146
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a27d
call fcn.140056410
movdqa xmm0, xmmword [0x1400bf4f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001a1a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a19b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a283
call fcn.140056410
movdqa xmm0, xmmword [0x1400bf4f0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14001a1f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a1ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a289
call fcn.140056410
movdqa xmm0, xmmword [0x1400bf4f0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14001a240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a23b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a265
call fcn.140056410
xor al, al
jmp 0x14001a246
mov al, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400563a0
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a8a0
nop
call fcn.140009730
nop
call fcn.14006a8a0
nop
call fcn.14006a8a0
nop
call fcn.14006a8a0
nop
call fcn.14006a8a0
nop
call fcn.14006a8a0
int3