Function at 0x14006b570
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 + 0x18], rbx
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x203d0]
mov eax, 0x204d0
call fcn.1400d8050
sub rsp, rax
movzx r15d, r8b
mov rdi, rdx
lea r8, [rbp + 0x3d0]
mov edx, 0x8000
xor r9d, r9d
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x3d0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14006b5c3
xor esi, esi
test rax, rax
je 0x14006b5e7
cmp word [rbp + rax*2 + 0x3ce], 0x5c
jne 0x14006b5e7
mov word [rbp + rax*2 + 0x3ce], si
xor r9d, r9d
lea r8, [rbp + 0x103d0]
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x103d0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14006b610
test rax, rax
je 0x14006b631
cmp word [rbp + rax*2 + 0x103ce], 0x5c
jne 0x14006b631
mov word [rbp + rax*2 + 0x103ce], si
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006b673
test al, 0x10
je 0x14006b673
lea rcx, [rbp + 0x3d0]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x14006b652
movsd xmm0, qword [0x140105c30]
movzx eax, word [0x140105c38]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006b6b5
test al, 0x10
je 0x14006b6b5
lea rcx, [rbp + 0x103d0]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x14006b694
movsd xmm0, qword [0x140105c30]
movzx eax, word [0x140105c38]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14006b740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rbp + 0x20420]
mov dword [rax], ecx
test rbx, rbx
je 0x14006b72f
movzx edx, word [rbx]
test dx, dx
je 0x14006b72f
mov r8d, 0x3f
nop dword [rax]
nop dword [rax + rax]
lea rcx, [0x1401001f0]
movzx eax, r8w
nop dword [rax + rax]
cmp dx, ax
je 0x14006b732
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14006b710
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x14006b700
mov rbx, rsi
test rbx, rbx
sete sil
mov eax, esi
jmp 0x14006b90e
mov rdi, qword [rbp + 0x20420]
lea rcx, [rbp + 0x3d0]
mov qword [rsp + 0x20500], r12
mov edx, 0x5c
mov qword [rsp + 0x20508], r13
mov dword [rdi], esi
call fcn.1400b9fdc
mov edx, 0x5c
lea rcx, [rbp + 0x103d0]
mov r13, rax
call fcn.1400b9fdc
mov r12, rax
lea rcx, [r13 + 2]
lea rax, [rbp + 0x3d0]
mov r8d, 0x103
sub rcx, rax
mov eax, 0x7fff
sar rcx, 1
sub rax, rcx
lea rdx, [r12 + 2]
lea rcx, [rbp + 0x1c0]
mov qword [rsp + 0x30], rax
call fcn.1400cd4c4
mov word [rbp + 0x3c6], si
mov ebx, esi
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011c188]
sub eax, dword [0x140124d58]
cmp eax, dword [rcx + 0x88]
jbe 0x14006b80f
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006b803
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140124d58], eax
test byte [rsp + 0x70], 0x10
jne 0x14006b8dd
lea rcx, [rbp - 0x64]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14006b825
cmp rax, qword [rsp + 0x30]
jbe 0x14006b840
mov dword [rdi], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14006b8db
lea rax, [rbp - 0x64]
lea rdx, [r13 + 2]
sub rdx, rax
lea rcx, [rbp - 0x64]
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14006b850
lea r8, [r12 + 2]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x64]
call fcn.14006b930
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp + 0x3d0]
cmp byte [rbp + 0x20418], sil
je 0x14006b8c2
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14006b8dd
test r15b, r15b
je 0x14006b8d3
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14006b8d3
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14006b8cf
mov r8d, r15d
xor r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14006b8dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
inc ebx
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006b7c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x20508]
mov eax, ebx
mov r12, qword [rsp + 0x20500]
mov rbx, qword [rsp + 0x20510]
add rsp, 0x204d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret