Function at 0x140060dc0
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 qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1240]
mov eax, 0x1340
call fcn.1400bc990
sub rsp, rax
movzx r13d, r9b
movzx r14d, r8b
mov rbx, rdx
lea r9, [rsp + 0x30]
mov r15d, 0x104
lea r8, [rsp + 0x70]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rsp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140060e15
xor r12d, r12d
test rax, rax
je 0x140060e35
cmp word [rsp + rax*2 + 0x6e], 0x5c
jne 0x140060e35
mov word [rsp + rax*2 + 0x6e], r12w
lea r9, [rsp + 0x30]
mov edx, r15d
lea r8, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x180]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140060e60
test rax, rax
je 0x140060e83
cmp word [rbp + rax*2 + 0x17e], 0x5c
jne 0x140060e83
mov word [rbp + rax*2 + 0x17e], r12w
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060ec2
test al, 0x10
je 0x140060ec2
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140060ea0
movsd xmm0, qword [str..]
movzx eax, word [0x1400e80a8]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060f05
test al, 0x10
je 0x140060f05
lea rcx, [rbp + 0x180]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140060ee3
movsd xmm0, qword [str..]
movzx eax, word [0x1400e80a8]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140060f36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x1290]
mov dword [rcx], eax
xor eax, eax
jmp 0x14006110c
lea rax, [rbp + 0xe20]
mov qword [rsp + 0x1370], rdi
mov rdi, qword [rbp + 0x1290]
lea r9, [rbp + 0x1030]
lea r8, [rbp + 0xa00]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xc10]
lea rcx, [rsp + 0x70]
mov dword [rdi], r12d
call fcn.1400b04a0
lea rax, [rbp + 0xa00]
mov edx, 0x105
lea r9, [rbp + 0xc10]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x7f0]
call fcn.140087800
movsxd rcx, eax
lea r12, [rbp + 0x7f0]
sub r15, rcx
xor ebx, ebx
lea r12, [r12 + rcx*2]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
sub eax, dword [0x140105eec]
cmp eax, dword [rcx + 0x118]
jbe 0x140061004
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140060ff8
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105eec], eax
test byte [rbp + 0x390], 0x10
jne 0x1400610e1
lea rcx, [rbp + 0x3bc]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140061020
cmp rax, r15
jbe 0x14006103a
mov dword [rdi], WSAStartup
jmp 0x1400610df
lea rcx, [rbp + 0x3bc]
mov rdx, r12
sub rdx, rcx
lea rax, [rbp + 0x3bc]
nop
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140061050
lea r8, [rbp + 0x5e0]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x3bc]
call fcn.140061130
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
test r13b, r13b
je 0x1400610c3
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400610e1
test r14b, r14b
je 0x1400610d7
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400610d7
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x1400610d3
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400610e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
inc ebx
lea rdx, [rbp + 0x390]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140060fb1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x1370]
mov eax, ebx
lea r11, [rsp + 0x1340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret