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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov r13, qword [rdx + 0x10208]
mov rdi, rdx
xor esi, esi
mov r15d, 0x7fff
mov rcx, rdi
mov dword [rsp + 0x2f8], esi
sub r15, r13
mov ebp, esi
lea r12, [rdx + r13*2]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14d, dword gs:[0x48]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006e461
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401101f0]
sub eax, dword [0x140117bb4]
cmp eax, dword [rcx + 0x118]
jbe 0x14006e381
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006e36e
cmp dword [0x140116f80], r14d
jne 0x14006e36e
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001b10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401101f0]
mov dword [0x140117bb4], eax
test byte [rsp + 0x60], 0x10
je 0x14006e3c3
cmp word [rsp + 0x8c], 0x2e
jne 0x14006e3b8
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14006e43b
cmp ax, 0x2e
jne 0x14006e3b8
cmp word [rsp + 0x90], si
je 0x14006e43b
cmp dword [rdi + 0x10228], 1
jne 0x14006e3cc
jmp 0x14006e43b
cmp dword [rdi + 0x10228], 2
je 0x14006e43b
lea rdx, [rsp + 0x8c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], si
jne 0x14006e3e0
cmp rax, r15
jbe 0x14006e3f7
mov dword [rcx + 0x40], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14006e439
lea rcx, [rsp + 0x8c]
mov rdx, r12
sub rdx, rcx
lea rax, [rsp + 0x8c]
nop dword [rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14006e410
mov r8, qword [rdi + 0x10220]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [rdi + 0x10218]
test eax, eax
jne 0x14006e43b
inc ebp
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006e322
mov rcx, rbx
mov dword [rsp + 0x2f8], ebp
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rdi + 0x1022c], sil
je 0x14006e5b8
cmp r15, 1
jbe 0x14006e5b8
lea rdx, [rsp + 0x60]
mov dword [r12], 0x2a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006e5b8
mov rbp, qword [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401101f0]
sub eax, dword [0x140117bb4]
cmp eax, dword [rcx + 0x118]
jbe 0x14006e4ff
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006e4f3
cmp dword [0x140116f80], r14d
jne 0x14006e4f3
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001b10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140117bb4], eax
test byte [rsp + 0x60], 0x10
je 0x14006e592
cmp word [rsp + 0x8c], 0x2e
jne 0x14006e533
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14006e592
cmp ax, 0x2e
jne 0x14006e533
cmp word [rsp + 0x90], 0
je 0x14006e592
lea rax, [rsp + 0x8c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14006e542
mov rcx, qword [rdi + 0x10210]
add rcx, rbx
cmp rcx, r15
jae 0x14006e592
lea r9, [rdi + 0x10000]
mov rcx, r12
lea r8, [rsp + 0x8c]
lea rdx, str._s_s
call fcn.140006ca0
lea rax, [r13 + 1]
mov rdx, rdi
add rax, rbx
mov rcx, rbp
mov qword [rdi + 0x10208], rax
call fcn.14006e2c0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006e4a3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [rsp + 0x2f8]
add dword [rdi + 0x10230], ebp
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret