Function at 0x140064c60
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.1400c1030
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 0x140064cb0
xor r15d, r15d
test rax, rax
je 0x140064cd6
cmp word [rbp + rax*2 + 0x3be], 0x5c
jne 0x140064cd6
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 0x140064d00
test rax, rax
je 0x140064d23
cmp word [rbp + rax*2 + 0x103be], 0x5c
jne 0x140064d23
mov word [rbp + rax*2 + 0x103be], r15w
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140064d66
test al, 0x10
je 0x140064d66
lea rcx, [rbp + 0x3c0]
sub rcx, 2
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064d44
movsd xmm0, qword [str..]
movzx eax, word [0x1400ec708]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x103c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140064db2
test al, 0x10
je 0x140064db2
lea rcx, [rbp + 0x103c0]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], r15w
lea rcx, [rcx + 2]
jne 0x140064d90
movsd xmm0, qword [str..]
movzx eax, word [0x1400ec708]
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 0x140064ded
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.1400aa5ac
mov edx, 0x5c
lea rcx, [rbp + 0x103c0]
mov r12, rax
call fcn.1400aa5ac
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.1400b4dd4
xor eax, eax
mov word [rbp + 0x3b6], ax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140101a58]
sub eax, dword [0x140108edc]
cmp eax, dword [rcx + 0x118]
jbe 0x140064ec6
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 0x140064eba
mov edx, 1
or ecx, 0xffffffff
call fcn.140001720
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140108edc], eax
test byte [rsp + 0x60], 0x10
jne 0x140064f9f
lea rcx, [rbp - 0x74]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140064ee0
cmp rax, r13
jbe 0x140064efa
mov dword [rdi], WSAStartup
jmp 0x140064f9d
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 0x140064f10
lea r8, [r15 + 2]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x74]
call fcn.140064ff0
cmp byte [rbp + 0x20408], 0
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
je 0x140064f81
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140064f9f
test r14b, r14b
je 0x140064f95
lea rcx, [rbp + 0x103c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140064f95
lea rdx, [rbp + 0x103c0]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140064f91
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140064f9f
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 0x140064e73
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