Function at 0x140064be0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x203c0]
mov eax, 0x204c0
call fcn.1400bfa50
sub rsp, rax
movzx r14d, r8b
mov rbx, rdx
lea r8, [rbp + 0x3c0]
mov edx, 0x8000
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
lea rcx, [rbp + 0x3c0]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140064c30
xor r15d, r15d
test rax, rax
je 0x140064c56
cmp word [rbp + rax*2 + 0x3be], 0x5c
jne 0x140064c56
mov word [rbp + rax*2 + 0x3be], r15w
xor r9d, r9d
lea r8, [rbp + 0x103c0]
mov edx, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
lea rcx, [rbp + 0x103c0]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140064c80
test rax, rax
je 0x140064ca3
cmp word [rbp + rax*2 + 0x103be], 0x5c
jne 0x140064ca3
mov word [rbp + rax*2 + 0x103be], r15w
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140064ce6
test al, 0x10
je 0x140064ce6
lea rcx, [rbp + 0x3c0]
sub rcx, 2
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064cc4
movsd xmm0, qword [str..]
movzx eax, word [0x1400eb768]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x103c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140064d32
test al, 0x10
je 0x140064d32
lea rcx, [rbp + 0x103c0]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064d10
movsd xmm0, qword [str..]
movzx eax, word [0x1400eb768]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140064d6d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [rbp + 0x20410]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x204c0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x204f0], rdi
lea rcx, [rbp + 0x3c0]
mov rdi, qword [rbp + 0x20410]
mov edx, 0x5c
mov qword [rsp + 0x204f8], r12
mov qword [rsp + 0x20500], r13
mov dword [rdi], r15d
call fcn.1400aa0cc
mov edx, 0x5c
lea rcx, [rbp + 0x103c0]
mov r12, rax
call fcn.1400aa0cc
mov r15, rax
lea rcx, [r12 + 2]
lea rax, [rbp + 0x3c0]
mov r13d, 0x7fff
sub rcx, rax
mov r8d, 0x103
sar rcx, 1
sub r13, rcx
lea rdx, [r15 + 2]
lea rcx, [rbp + 0x1b0]
call fcn.1400b3da4
xor eax, eax
mov word [rbp + 0x3b6], ax
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x140100a58]
sub eax, dword [0x140107e7c]
cmp eax, dword [rcx + 0x118]
jbe 0x140064e46
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140064e3a
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016f0
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x140107e7c], eax
test byte [rsp + 0x60], 0x10
jne 0x140064f1f
lea rcx, [rbp - 0x74]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140064e60
cmp rax, r13
jbe 0x140064e7a
mov dword [rdi], WSACleanup
jmp 0x140064f1d
lea rcx, [rbp - 0x74]
lea rdx, [r12 + 2]
sub rdx, rcx
lea rax, [rbp - 0x74]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140064e90
lea r8, [r15 + 2]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x74]
call fcn.140064f70
cmp byte [rbp + 0x20408], 0
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
je 0x140064f01
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x140064f1f
test r14b, r14b
je 0x140064f15
lea rcx, [rbp + 0x103c0]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x140064f15
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x140064f11
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
jne 0x140064f1f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi], eax
inc ebx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140064df3
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov r13, qword [rsp + 0x20500]
mov eax, ebx
mov r12, qword [rsp + 0x204f8]
mov rdi, qword [rsp + 0x204f0]
add rsp, 0x204c0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret