Function at 0x1400622f0
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.1400be2f0
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 0x140062345
xor r12d, r12d
test rax, rax
je 0x140062365
cmp word [rsp + rax*2 + 0x6e], 0x5c
jne 0x140062365
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 0x140062390
test rax, rax
je 0x1400623b3
cmp word [rbp + rax*2 + 0x17e], 0x5c
jne 0x1400623b3
mov word [rbp + rax*2 + 0x17e], r12w
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400623f2
test al, 0x10
je 0x1400623f2
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x1400623d0
movsd xmm0, qword [str..]
movzx eax, word [0x1400e9408]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140062435
test al, 0x10
je 0x140062435
lea rcx, [rbp + 0x180]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140062413
movsd xmm0, qword [str..]
movzx eax, word [0x1400e9408]
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 0x140062466
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [rbp + 0x1290]
mov dword [rcx], eax
xor eax, eax
jmp 0x14006263c
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.1400b1e7c
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.140089190
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 [0x140106f5c]
cmp eax, dword [rcx + 0x118]
jbe 0x140062534
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 0x140062528
mov edx, 1
or ecx, 0xffffffff
call fcn.140001700
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x140106f5c], eax
test byte [rbp + 0x390], 0x10
jne 0x140062611
lea rcx, [rbp + 0x3bc]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140062550
cmp rax, r15
jbe 0x14006256a
mov dword [rdi], WSACleanup
jmp 0x14006260f
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 0x140062580
lea r8, [rbp + 0x5e0]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x3bc]
call fcn.140062660
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
test r13b, r13b
je 0x1400625f3
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x140062611
test r14b, r14b
je 0x140062607
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x140062607
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x140062603
xor r8d, r8d
test r14b, r14b
sete r8b
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
jne 0x140062611
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 0x1400624e1
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