Function at 0x14005cdf0
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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14005ce22
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005d047
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005ce3d
mov rdx, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005ce4a
mov rcx, qword [rbx]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14005d047
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r9, [rbp + 0xa]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x14005ce70
xor esi, esi
mov qword [rbp - 0x80], rsi
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
lea rax, [rbp + 0xa]
cmp r9, rax
je 0x14005ced6
lea r8, [rbp + 0xa]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.140028220
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xe
jb 0x14005d068
cmp qword [rbx + 0x18], 8
jb 0x14005cefb
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], SafeArrayUnlock
lea r9, str.Error_moving_
lea rcx, [rbp - 0x40]
call fcn.1400264d0
nop
mov r8d, 6
lea rdx, [0x14019a270]
lea rcx, [rbp - 0x40]
call fcn.140025c40
mov qword [rsp + 0x60], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
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 0x14005cf71
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140025c40
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
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, str.._Error:
lea rcx, [rsp + 0x40]
call fcn.140025c40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14004c3f0
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call fcn.1400285b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400285b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400285b0
nop
lea rcx, [rsp + 0x60]
call fcn.1400285b0
nop
lea rcx, [rbp - 0x40]
call fcn.1400285b0
nop
lea rcx, [rbp - 0x80]
call fcn.1400285b0
xor al, al
jmp 0x14005d049
mov al, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
call fcn.140028c60
nop
int3