Function at 0x140064ae0
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.1400bf950
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 0x140064b30
xor r15d, r15d
test rax, rax
je 0x140064b56
cmp word [rbp + rax*2 + 0x3be], 0x5c
jne 0x140064b56
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 0x140064b80
test rax, rax
je 0x140064ba3
cmp word [rbp + rax*2 + 0x103be], 0x5c
jne 0x140064ba3
mov word [rbp + rax*2 + 0x103be], r15w
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140064be6
test al, 0x10
je 0x140064be6
lea rcx, [rbp + 0x3c0]
sub rcx, 2
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064bc4
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 0x140064c32
test al, 0x10
je 0x140064c32
lea rcx, [rbp + 0x103c0]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064c10
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 0x140064c6d
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.1400a9fcc
mov edx, 0x5c
lea rcx, [rbp + 0x103c0]
mov r12, rax
call fcn.1400a9fcc
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.1400b3ca4
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 0x140064d46
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 0x140064d3a
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 0x140064e1f
lea rcx, [rbp - 0x74]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140064d60
cmp rax, r13
jbe 0x140064d7a
mov dword [rdi], WSAStartup
jmp 0x140064e1d
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 0x140064d90
lea r8, [r15 + 2]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x74]
call fcn.140064e70
cmp byte [rbp + 0x20408], 0
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
je 0x140064e01
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140064e1f
test r14b, r14b
je 0x140064e15
lea rcx, [rbp + 0x103c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140064e15
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140064e11
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140064e1f
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 0x140064cf3
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