Function at 0x14002a960
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 0x14002aaea
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140129398]
sub eax, dword [0x140132168]
cmp eax, dword [rcx + 0x88]
jbe 0x14002aa09
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 0x14002a9f6
mov edx, 1
mov ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140129398]
mov dword [0x140132168], eax
test byte [rsp + 0x60], 0x10
je 0x14002aa4c
cmp word [rsp + 0x8c], 0x2e
jne 0x14002aa41
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14002aacb
cmp ax, 0x2e
jne 0x14002aa41
cmp word [rsp + 0x90], r13w
je 0x14002aacb
cmp dword [rdi + 0x10228], 1
jne 0x14002aa55
jmp 0x14002aacb
cmp dword [rdi + 0x10228], 2
je 0x14002aacb
lea rdx, [rsp + 0x8c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x14002aa64
cmp rax, r14
jbe 0x14002aa7c
mov dword [rcx + 0x64], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14002aac9
lea rax, [rsp + 0x8c]
mov rdx, r15
sub rdx, rax
lea rcx, [rsp + 0x8c]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002aaa0
mov r8, qword [rdi + 0x10220]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [rdi + 0x10218]
test eax, eax
jne 0x14002aacb
inc ebp
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002a9b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rdi + 0x1022c], r13b
je 0x14002ac5d
cmp r14, 1
jbe 0x14002ac5d
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 0x14002ac32
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140129398]
sub eax, dword [0x140132168]
cmp eax, dword [rcx + 0x88]
jbe 0x14002ab82
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 0x14002ab76
mov edx, 1
mov ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140132168], eax
test byte [rsp + 0x60], 0x10
je 0x14002ac13
cmp word [rsp + 0x8c], 0x2e
jne 0x14002abb6
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14002ac13
cmp ax, 0x2e
jne 0x14002abb6
cmp word [rsp + 0x90], r13w
je 0x14002ac13
lea rax, [rsp + 0x8c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x14002abc5
mov rcx, qword [rdi + 0x10210]
add rcx, rbx
cmp rcx, r14
jae 0x14002ac13
lea r9, [rdi + 0x10000]
mov rcx, r15
lea r8, [rsp + 0x8c]
lea rdx, [0x14010b4b8]
call fcn.140006e40
lea rax, [r12 + 1]
mov rcx, rdi
add rax, rbx
mov qword [rdi + 0x10208], rax
call fcn.14002a960
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002ab30
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 0x14002ac40