Function at 0x14009da60
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 r14
lea rbp, [rsp - 0x203d0]
mov eax, 0x204d0
call fcn.1400f7000
sub rsp, rax
movzx r14d, r8b
mov rbx, rdx
lea r8, [rbp + 0x3d0]
mov edx, 0x8000
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x3d0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14009dab0
xor r12d, r12d
test rax, rax
je 0x14009dad6
cmp word [rbp + rax*2 + 0x3ce], 0x5c
jne 0x14009dad6
mov word [rbp + rax*2 + 0x3ce], r12w
xor r9d, r9d
lea r8, [rbp + 0x103d0]
mov edx, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x103d0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14009db00
test rax, rax
je 0x14009db23
cmp word [rbp + rax*2 + 0x103ce], 0x5c
jne 0x14009db23
mov word [rbp + rax*2 + 0x103ce], r12w
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009db66
test al, 0x10
je 0x14009db66
lea rcx, [rbp + 0x3d0]
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x14009db44
movsd xmm0, qword [0x14011ad40]
movzx eax, word [0x14011ad48]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009dbb2
test al, 0x10
je 0x14009dbb2
lea rcx, [rbp + 0x103d0]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x14009db90
movsd xmm0, qword [0x14011ad40]
movzx eax, word [0x14011ad48]
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 rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14009dbed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x20420]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x204d0
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x20500], rdi
lea rcx, [rbp + 0x3d0]
mov rdi, qword [rbp + 0x20420]
mov edx, 0x5c
mov qword [rsp + 0x20508], r13
mov qword [rsp + 0x20510], r15
mov dword [rdi], r12d
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov edx, 0x5c
lea rcx, [rbp + 0x103d0]
mov r13, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rcx, [r13 + 2]
mov r8d, 0x103
mov r15, rax
lea rax, [rbp + 0x3d0]
sub rcx, rax
mov eax, 0x7fff
sar rcx, 1
sub rax, rcx
lea rcx, [rbp + 0x1c0]
lea rdx, [r15 + 2]
mov qword [rsp + 0x30], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x3c6], r12w
mov ebx, r12d
mov r12d, dword gs:[0x48]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012f240]
sub eax, dword [0x140136c64]
cmp eax, dword [rcx + 0x118]
jbe 0x14009dce0
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 0x14009dcd4
cmp dword [0x140136030], r12d
jne 0x14009dcd4
mov edx, 1
mov ecx, 0xffffffff
call fcn.140001b00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140136c64], eax
test byte [rsp + 0x70], 0x10
jne 0x14009ddbc
lea rcx, [rbp - 0x64]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14009dcf6
cmp rax, qword [rsp + 0x30]
jbe 0x14009dd12
mov dword [rdi], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14009ddba
lea rcx, [rbp - 0x64]
lea rdx, [r13 + 2]
sub rdx, rcx
lea rax, [rbp - 0x64]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rax + rdx], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14009dd30
lea r8, [r15 + 2]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x64]
call fcn.14009de10
cmp byte [rbp + 0x20418], 0
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp + 0x3d0]
je 0x14009dda1
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14009ddbc
test r14b, r14b
je 0x14009ddb2
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14009ddb2
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14009ddae
mov r8d, r14d
xor r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14009ddbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
inc ebx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14009dc82
mov r15, qword [rsp + 0x20510]
mov rcx, rsi
mov r13, qword [rsp + 0x20508]
mov rdi, qword [rsp + 0x20500]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
add rsp, 0x204d0
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret