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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rdi
lea rbp, [rsp - 0x608]
sub rsp, 0x708
mov r10, qword [0x1400fca58]
xor edi, edi
cmp byte [rbp + 0x650], dil
jne 0x14004cdba
cmp word [rdx], di
jne 0x14004cda4
mov rax, r10
mov dl, 1
mov dword [rax + 0x40], 0x57
call fcn.140035700
xor eax, eax
add rsp, 0x708
pop rdi
pop rbp
ret
test r8d, r8d
mov dword [r10 + 0x40], edi
mov eax, 1
cmovne eax, r8d
mov dword [rbp + 0x630], eax
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], di
jne 0x14004cdc0
cmp rax, 0x104
jb 0x14004cdec
mov dl, 1
mov dword [r10 + 0x40], WSAStartup
call fcn.140035700
xor eax, eax
add rsp, 0x708
pop rdi
pop rbp
ret
lea r8, [rbp + 0x3f0]
mov qword [rsp + 0x728], rbx
sub r8, rdx
mov qword [rsp + 0x700], rsi
mov rcx, rdx
nop dword [rax]
movzx eax, word [rcx]
mov word [r8 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14004ce10
lea rcx, [rbp + 0x1e0]
sub rcx, rdx
nop dword [rax + rax]
movzx eax, word [rdx]
mov word [rcx + rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14004ce30
mov edx, 0x5c
lea rcx, [rbp + 0x1e0]
call fcn.1400a5f0c
test rax, rax
je 0x14004ce70
mov word [rax + 2], di
lea rcx, [rbp + 0x1e0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14004ce65
jmp 0x14004ce7a
mov word [rbp + 0x1e0], di
mov rax, rdi
lea rcx, [rbp + 0x1e0]
mov ebx, 0x103
lea rcx, [rcx + rax*2]
sub rbx, rax
mov qword [rsp + 0x50], rcx
mov edx, 0x5c
lea rcx, [rbp + 0x3f0]
mov qword [rsp + 0x40], rbx
call fcn.1400a5f0c
test rax, rax
je 0x14004ceb3
add rax, 2
jmp 0x14004ceba
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x48], rax
mov r8, rax
test rax, rax
je 0x14004cf00
movzx edx, word [rax]
test dx, dx
je 0x14004cf00
nop
lea rcx, [0x1400e65b8]
mov eax, 0x3f
nop dword [rax]
cmp dx, ax
je 0x14004cf0a
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14004cee0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14004ced0
mov dword [rbp + 0x630], 3
lea rdx, [rbp - 0x70]
mov esi, edi
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004d051
movsxd rbx, dword [rbp + 0x630]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
sub eax, dword [0x140105eec]
cmp eax, dword [rcx + 0x118]
jbe 0x14004cf8b
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004cf78
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
mov dword [0x140105eec], eax
test byte [rbp - 0x70], 0x10
je 0x14004cfba
cmp word [rbp - 0x44], 0x2e
jne 0x14004cfb2
movzx eax, word [rbp - 0x42]
test ax, ax
je 0x14004d02e
cmp ax, 0x2e
jne 0x14004cfb2
cmp word [rbp - 0x40], 0
je 0x14004d02e
cmp rbx, 1
jne 0x14004cfc0
jmp 0x14004d02e
cmp rbx, 2
je 0x14004d02e
lea rdx, [rbp - 0x44]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004cfd0
cmp rax, qword [rsp + 0x40]
jbe 0x14004cfea
mov dword [rcx + 0x40], WSAStartup
jmp 0x14004d02c
mov rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x44]
sub rdx, rax
lea rcx, [rbp - 0x44]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14004d000
mov r8, qword [rbp + 0x648]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1e0]
call qword [rbp + 0x640]
test eax, eax
jne 0x14004d02e
inc esi
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004cf31
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x40]
cmp byte [rbp + 0x638], 0
je 0x14004d1c3
cmp rbx, 2
jbe 0x14004d1c3
mov rax, qword [rsp + 0x50]
lea rdx, [rbp - 0x70]
movabs rcx, 0x2a002e002a
mov qword [rax], rcx
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004d1c3
mov rax, qword [rsp + 0x48]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14004d0a1
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
sub eax, dword [0x140105eec]
cmp eax, dword [rcx + 0x118]
jbe 0x14004d103
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004d0f7
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105eec], eax
test byte [rbp - 0x70], 0x10
je 0x14004d1a5
cmp word [rbp - 0x44], 0x2e
jne 0x14004d12e
movzx eax, word [rbp - 0x42]
test ax, ax
je 0x14004d1a5
cmp ax, 0x2e
jne 0x14004d12e
cmp word [rbp - 0x40], 0
je 0x14004d1a5
lea rcx, [rbp - 0x44]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004d136
add rax, rbx
cmp rax, qword [rsp + 0x40]
jae 0x14004d1a5
mov r9, qword [rsp + 0x48]
lea r8, [rbp - 0x44]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400e1520]
call fcn.140004af0
mov rax, qword [rbp + 0x648]
lea rdx, [rbp + 0x1e0]
movzx r9d, byte [rbp + 0x638]
mov r8d, dword [rbp + 0x630]
mov rcx, qword [rbp + 0x620]
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x640]
mov qword [rsp + 0x20], rax
call fcn.14004cd50
add esi, eax
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004d0b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rbp + 0x650], 0
mov rbx, qword [rsp + 0x728]
jne 0x14004d1e2
mov rcx, qword [rbp + 0x620]
mov edx, esi
call fcn.1400357e0
mov eax, esi
mov rsi, qword [rsp + 0x700]
add rsp, 0x708
pop rdi
pop rbp
ret