Function at 0x140061b00
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.1400bde80
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 0x140061b55
xor r12d, r12d
test rax, rax
je 0x140061b75
cmp word [rsp + rax*2 + 0x6e], 0x5c
jne 0x140061b75
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 0x140061ba0
test rax, rax
je 0x140061bc3
cmp word [rbp + rax*2 + 0x17e], 0x5c
jne 0x140061bc3
mov word [rbp + rax*2 + 0x17e], r12w
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140061c02
test al, 0x10
je 0x140061c02
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140061be0
movsd xmm0, qword [str..]
movzx eax, word [0x1400e9308]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140061c45
test al, 0x10
je 0x140061c45
lea rcx, [rbp + 0x180]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140061c23
movsd xmm0, qword [str..]
movzx eax, word [0x1400e9308]
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 0x140061c76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x1290]
mov dword [rcx], eax
xor eax, eax
jmp 0x140061e4c
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.1400b1994
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.140088db0
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 [0x1400fda58]
sub eax, dword [0x140106fe4]
cmp eax, dword [rcx + 0x118]
jbe 0x140061d44
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 0x140061d38
mov edx, 1
or ecx, 0xffffffff
call fcn.140001710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140106fe4], eax
test byte [rbp + 0x390], 0x10
jne 0x140061e21
lea rcx, [rbp + 0x3bc]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140061d60
cmp rax, r15
jbe 0x140061d7a
mov dword [rdi], WSAStartup
jmp 0x140061e1f
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 0x140061d90
lea r8, [rbp + 0x5e0]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x3bc]
call fcn.140061e70
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
test r13b, r13b
je 0x140061e03
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140061e21
test r14b, r14b
je 0x140061e17
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140061e17
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140061e13
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140061e21
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 0x140061cf1
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