Function at 0x14002aa70
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 0x14002abea
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012c398]
sub eax, dword [0x1401352b8]
cmp eax, dword [rcx + 0x88]
jbe 0x14002ab17
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 0x14002ab04
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001820
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012c398]
mov dword [0x1401352b8], eax
test byte [rsp + 0x60], 0x10
je 0x14002ab5a
cmp word [rsp + 0x8c], 0x2e
jne 0x14002ab4f
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14002abcb
cmp ax, 0x2e
jne 0x14002ab4f
cmp word [rsp + 0x90], r13w
je 0x14002abcb
cmp dword [rdi + 0x10228], 1
jne 0x14002ab63
jmp 0x14002abcb
cmp dword [rdi + 0x10228], 2
je 0x14002abcb
lea rdx, [rsp + 0x8c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x14002ab72
cmp rax, r14
jbe 0x14002ab8a
mov dword [rcx + 0x64], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14002abc9
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 0x14002aba0
mov r8, qword [rdi + 0x10220]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [rdi + 0x10218]
test eax, eax
jne 0x14002abcb
inc ebp
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002aac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rdi + 0x1022c], r13b
je 0x14002ad5b
cmp r14, 1
jbe 0x14002ad5b
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 0x14002ad30
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012c398]
sub eax, dword [0x1401352b8]
cmp eax, dword [rcx + 0x88]
jbe 0x14002ac80
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 0x14002ac74
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001820
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401352b8], eax
test byte [rsp + 0x60], 0x10
je 0x14002ad11
cmp word [rsp + 0x8c], 0x2e
jne 0x14002acb4
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14002ad11
cmp ax, 0x2e
jne 0x14002acb4
cmp word [rsp + 0x90], r13w
je 0x14002ad11
lea rax, [rsp + 0x8c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x14002acc3
mov rcx, qword [rdi + 0x10210]
add rcx, rbx
cmp rcx, r14
jae 0x14002ad11
lea r9, [rdi + 0x10000]
mov rcx, r15
lea r8, [rsp + 0x8c]
lea rdx, [0x14010d608]
call fcn.140006de0
lea rax, [r12 + 1]
mov rcx, rdi
add rax, rbx
mov qword [rdi + 0x10208], rax
call fcn.14002aa70
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002ac30
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 0x14002ad3e