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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x2b8
mov rcx, qword [rdx + 0x10208]
mov rbx, rdx
mov edi, 0x7fff
sub rdi, rcx
mov qword [rsp + 0x2f0], rcx
lea rdx, [rsp + 0x60]
xor ebp, ebp
mov rcx, rbx
mov qword [rsp + 0x2f8], rdi
mov dword [rsp + 0x2e8], ebp
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140074464
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rdx, qword [0x1401255c8]
sub eax, dword [0x14012d1a4]
cmp eax, dword [rdx + 0x118]
jbe 0x140074370
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14007435d
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b60
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rdx, qword [0x1401255c8]
mov dword [0x14012d1a4], eax
test byte [rsp + 0x60], 0x10
je 0x1400743b6
cmp word [rsp + 0x8c], 0x2e
jne 0x1400743a8
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x14007443c
cmp ax, 0x2e
jne 0x1400743a8
cmp word [rsp + 0x90], 0
je 0x14007443c
cmp dword [rbx + 0x10228], 1
jne 0x1400743bf
jmp 0x14007443c
cmp dword [rbx + 0x10228], 2
je 0x14007443c
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x8c]
repne scasw ax, word [rdi]
mov rdi, qword [rsp + 0x2f8]
not rcx
dec rcx
cmp rcx, rdi
jbe 0x1400743ec
mov dword [rdx + 0x40], reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14007443a
mov rdx, qword [rsp + 0x2f0]
lea r8, [rsp + 0x8c]
lea rcx, [rsp + 0x8c]
lea rdx, [rbx + rdx*2]
sub rdx, r8
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140074410
mov r8, qword [rbx + 0x10220]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rbx + 0x10218]
test eax, eax
jne 0x14007443c
inc ebp
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140074316
mov rcx, rsi
mov dword [rsp + 0x2e8], ebp
call qword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x140074480
mov rax, qword [0x1401255c8]
cmp dword [rax + 0x40], ebp
jne 0x140074480
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [0x1401255c8]
mov dword [rcx + 0x40], eax
cmp byte [rbx + 0x1022c], 0
je 0x140074609
cmp rdi, 1
jbe 0x140074609
mov rdx, qword [rsp + 0x2f0]
lea rcx, [0x1400f894c]
lea rdx, [rbx + rdx*2]
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x1400744b0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140074609
mov rbp, qword [rsp + 0x2f8]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x1401255c8]
sub eax, dword [0x14012d1a4]
cmp eax, dword [rcx + 0x118]
jbe 0x140074537
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14007452b
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b60
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012d1a4], eax
test byte [rsp + 0x60], 0x10
je 0x1400745e3
cmp word [rsp + 0x8c], 0x2e
jne 0x14007456f
movzx eax, word [rsp + 0x8e]
test ax, ax
je 0x1400745e3
cmp ax, 0x2e
jne 0x14007456f
cmp word [rsp + 0x90], 0
je 0x1400745e3
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x8c]
repne scasw ax, word [rdi]
mov rax, qword [rbx + 0x10210]
not rcx
lea rdx, [rcx + rax - 1]
lea rdi, [rcx - 1]
cmp rdx, rbp
jae 0x1400745e3
mov rcx, qword [rsp + 0x2f0]
lea r9, [rbx + 0x10000]
lea r8, [rsp + 0x8c]
lea rcx, [rbx + rcx*2]
lea rdx, str._s_s
call fcn.1400d77f8
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2e0]
lea rdx, [rdi + rax + 1]
mov qword [rbx + 0x10208], rdx
mov rdx, rbx
call fcn.1400742c0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400744e4
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov ebp, dword [rsp + 0x2e8]
add dword [rbx + 0x10230], ebp
add rsp, 0x2b8
pop rdi
pop rsi
pop rbp
pop rbx
ret