Function at 0x140061aa0
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.1400bcc10
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 0x140061af5
xor r12d, r12d
test rax, rax
je 0x140061b15
cmp word [rsp + rax*2 + 0x6e], 0x5c
jne 0x140061b15
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 0x140061b40
test rax, rax
je 0x140061b63
cmp word [rbp + rax*2 + 0x17e], 0x5c
jne 0x140061b63
mov word [rbp + rax*2 + 0x17e], r12w
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140061ba2
test al, 0x10
je 0x140061ba2
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140061b80
movsd xmm0, qword [str..]
movzx eax, word [0x1400e80b0]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140061be5
test al, 0x10
je 0x140061be5
lea rcx, [rbp + 0x180]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140061bc3
movsd xmm0, qword [str..]
movzx eax, word [0x1400e80b0]
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 0x140061c16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x1290]
mov dword [rcx], eax
xor eax, eax
jmp 0x140061dec
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.1400b0798
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.140087720
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 [0x1400fcaa8]
sub eax, dword [0x140105f4c]
cmp eax, dword [rcx + 0x118]
jbe 0x140061ce4
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 0x140061cd8
mov edx, 1
or ecx, 0xffffffff
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105f4c], eax
test byte [rbp + 0x390], 0x10
jne 0x140061dc1
lea rcx, [rbp + 0x3bc]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140061d00
cmp rax, r15
jbe 0x140061d1a
mov dword [rdi], WSAStartup
jmp 0x140061dbf
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 0x140061d30
lea r8, [rbp + 0x5e0]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x3bc]
call fcn.140061e10
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
test r13b, r13b
je 0x140061da3
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140061dc1
test r14b, r14b
je 0x140061db7
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140061db7
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140061db3
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140061dc1
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 0x140061c91
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