Function at 0x140028ed0
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov r12, qword [rcx + 0x10208]
lea rdx, [rsp + 0x60]
mov r14d, 0x7fff
xor r13d, r13d
mov rdi, rcx
sub r14, r12
mov ebp, r13d
lea r15, [rcx + r12*2]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002904a
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [0x140127dd8]
cmp eax, dword [rcx + 0x88]
jbe 0x140028f77
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140028f64
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400016f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
mov dword [0x140127dd8], eax
test byte [rsp + 0x60], 0x10
je 0x140028fba
cmp word [rsp + 0x8c], 0x2e
jne 0x140028faf
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14002902b
cmp ax, 0x2e
jne 0x140028faf
cmp word [rsp + 0x90], r13w
je 0x14002902b
cmp dword [rdi + 0x10228], 1
jne 0x140028fc3
jmp 0x14002902b
cmp dword [rdi + 0x10228], 2
je 0x14002902b
lea rdx, [rsp + 0x8c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140028fd2
cmp rax, r14
jbe 0x140028fea
mov dword [rcx + 0x64], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x140029029
lea rax, [rsp + 0x8c]
mov rdx, r15
sub rdx, rax
lea rcx, [rsp + 0x8c]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140029000
mov r8, qword [rdi + 0x10220]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [rdi + 0x10218]
test eax, eax
jne 0x14002902b
inc ebp
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140028f20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rdi + 0x1022c], r13b
je 0x1400291bb
cmp r14, 1
jbe 0x1400291bb
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x2e0], rsi
mov rcx, rdi
mov dword [r15], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140029190
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [0x140127dd8]
cmp eax, dword [rcx + 0x88]
jbe 0x1400290e0
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400290d4
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400016f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127dd8], eax
test byte [rsp + 0x60], 0x10
je 0x140029171
cmp word [rsp + 0x8c], 0x2e
jne 0x140029114
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x140029171
cmp ax, 0x2e
jne 0x140029114
cmp word [rsp + 0x90], r13w
je 0x140029171
lea rax, [rsp + 0x8c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x140029123
mov rcx, qword [rdi + 0x10210]
add rcx, rbx
cmp rcx, r14
jae 0x140029171
lea r9, [rdi + 0x10000]
mov rcx, r15
lea r8, [rsp + 0x8c]
lea rdx, [0x140102288]
call fcn.140006dc0
lea rax, [r12 + 1]
mov rcx, rdi
add rax, rbx
mov qword [rdi + 0x10208], rax
call fcn.140028ed0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140029090
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
add dword [rdi + 0x10230], ebp
mov rsi, qword [rsp + 0x2e0]
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add dword [rdi + 0x10230], ebp
jmp 0x14002919e