Function at 0x14007afc0
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 byte [rsp + 0x20], r9b
push rbp
push rbx
push rsi
push r12
push r13
lea rbp, [rsp - 0x20c20]
mov eax, 0x20d20
call fcn.1400caa90
sub rsp, rax
movzx r13d, r8b
mov rbx, rdx
lea r8, [rbp + 0xc20]
mov edx, 0x8000
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0xc20]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14007b010
xor esi, esi
test rax, rax
je 0x14007b034
cmp word [rbp + rax*2 + 0xc1e], 0x5c
jne 0x14007b034
mov word [rbp + rax*2 + 0xc1e], si
xor r9d, r9d
lea r8, [rbp + 0x10c20]
mov edx, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x10c20]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14007b060
test rax, rax
je 0x14007b081
cmp word [rbp + rax*2 + 0x10c1e], 0x5c
jne 0x14007b081
mov word [rbp + rax*2 + 0x10c1e], si
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007b0c3
test al, 0x10
je 0x14007b0c3
lea rcx, [rbp + 0xc20]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x14007b0a2
movsd xmm0, qword [0x1400eb7f0]
movzx eax, word [0x1400eb7f8]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x10c20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007b105
test al, 0x10
je 0x14007b105
lea rcx, [rbp + 0x10c20]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x14007b0e4
movsd xmm0, qword [0x1400eb7f0]
movzx eax, word [0x1400eb7f8]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14007b142
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x20c70]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x20d20
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x20d50], rdi
lea rcx, [rbp + 0xc20]
mov qword [rsp + 0x20d58], r14
mov edx, 0x5c
mov r14, qword [rbp + 0x20c70]
mov qword [rsp + 0x20d60], r15
mov dword [r14], esi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov edx, 0x5c
lea rcx, [rbp + 0x10c20]
lea rdi, [rax + 2]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rcx, rdi
mov r8d, 0x103
lea r15, [rax + 2]
lea rax, [rbp + 0xc20]
mov rdx, r15
sub rcx, rax
mov eax, 0x7fff
sar rcx, 1
sub rax, rcx
lea rcx, [rbp + 0x190]
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x396], si
mov ebx, dword gs:[0x48]
mov dword [rsp + 0x30], ebx
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400ff050]
sub eax, dword [0x1401068ec]
cmp eax, dword [rcx + 0x118]
jbe 0x14007b239
xor eax, eax
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14007b22d
cmp dword [0x140105cc0], ebx
jne 0x14007b22d
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400019b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401068ec], eax
test byte [rbp + 0x3a0], 0x10
jne 0x14007b449
lea rcx, [rbp + 0x3cc]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14007b254
cmp rax, qword [rsp + 0x40]
jbe 0x14007b271
mov dword [r14], WSAStartup
jmp 0x14007b447
lea rax, [rbp + 0x3cc]
mov rdx, rdi
sub rdx, rax
lea rcx, [rbp + 0x3cc]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14007b290
mov edx, 0x2a
lea rcx, [rbp + 0x190]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x14007b2e5
lea rax, [rbp + 0x190]
mov rdx, r15
sub rdx, rax
lea rcx, [rbp + 0x190]
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14007b2d0
jmp 0x14007b3df
lea rax, [rbp + 0x5f0]
xor r8d, r8d
lea r9, [rbp + 0xa10]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x3cc]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
lea rax, [rbp - 0x80]
xor r8d, r8d
lea r9, [rbp + 0x800]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
cmp word [rbp + 0x5f0], 0x2e
jne 0x14007b350
lea rcx, [rbp + 0x5f2]
nop dword [rax]
movzx eax, word [rcx]
mov word [rcx - 2], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14007b340
cmp word [rbp - 0x80], 0x2e
jne 0x14007b370
lea rax, [rbp - 0x7e]
nop dword [rax + rax]
movzx ecx, word [rax]
mov word [rax - 2], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14007b360
mov r8, r15
lea rdx, [rbp + 0x800]
lea rcx, [rbp + 0xa10]
call fcn.14007b4a0
cmp word [rbp + 0x5f0], 0
jne 0x14007b397
cmp word [rbp - 0x80], 0
je 0x14007b3df
xor edx, edx
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
cmp word [rbp - 0x80], 0
mov rdi, rax
jne 0x14007b3b3
mov dword [rbp - 0x80], 0x2a
lea r8, [rax + 2]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x5f0]
call fcn.14007b4a0
cmp word [rdi + 2], 0
mov ebx, dword [rsp + 0x30]
je 0x14007b3da
mov eax, 0x2e
mov word [rdi], ax
mov rdi, qword [rsp + 0x38]
cmp byte [rbp + 0x20c68], 0
lea rdx, [rbp + 0x10c20]
lea rcx, [rbp + 0xc20]
je 0x14007b42c
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14007b449
test r13b, r13b
je 0x14007b43e
lea rcx, [rbp + 0x10c20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14007b43e
lea rdx, [rbp + 0x10c20]
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007b43a
movzx r8d, r13b
xor r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14007b449
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
inc esi
lea rdx, [rbp + 0x3a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007b1e0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r15, qword [rsp + 0x20d60]
mov eax, esi
mov r14, qword [rsp + 0x20d58]
mov rdi, qword [rsp + 0x20d50]
add rsp, 0x20d20
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret