Function at 0x140009b70
Capabilities:
Check for time delay via queryperformancecounter
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x6f8
mov rax, qword [0x14001d138]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov qword [rsp + 0x50], rcx
xor eax, eax
mov qword [rsp + 0x60], r8
mov r8, rcx
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
mov qword [rsp + 0x58], r9
xor r9d, r9d
not rcx
mov rbp, rdx
mov dword [rsp + 0x48], r9d
cmp word [rdx + rcx*2 - 4], 0x5c
mov dword [rsp + 0x30], r9d
jne 0x140009bcc
mov word [rdx + rcx*2 - 4], ax
mov rcx, r8
call fcn.1400091b0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx + rcx + 0x246]
mov rcx, rdi
mov qword [rsp + 0x68], rdi
call sub.msvcrt.dll_malloc
mov rcx, rdi
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_malloc
mov rcx, qword [rsp + 0x40]
mov r8, rdi
xor edx, edx
mov rbx, rax
call sub.msvcrt.dll_memset
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
lea rdx, [0x14001a778]
mov r8d, 3
mov rcx, rbp
call sub.msvcrt.dll_wcsncmp
mov rcx, rbp
test eax, eax
jne 0x140009c66
mov rdx, qword [rsp + 0x40]
sub rdx, rbp
nop
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
mov word [rdx + rcx - 2], ax
jne 0x140009c50
jmp 0x140009d02
lea rdx, [0x14001a770]
mov r8d, 2
call sub.msvcrt.dll_wcsncmp
mov rdi, qword [rsp + 0x40]
test eax, eax
mov rdx, rdi
jne 0x140009cc5
lea rcx, str._UNC
sub rdx, rcx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
mov word [rdx + rcx - 2], ax
jne 0x140009c90
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor ecx, ecx
nop
movzx eax, word [rcx + rbp + 2]
add rcx, 2
test ax, ax
mov word [rdi + rcx - 4], ax
jne 0x140009cb0
jmp 0x140009d02
lea rcx, [0x14001a750]
sub rdx, rcx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
mov word [rdx + rcx - 2], ax
jne 0x140009cd0
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor edx, edx
nop
movzx eax, word [rdx + rbp]
add rdx, 2
test ax, ax
mov word [rdi + rdx - 4], ax
jne 0x140009cf0
mov rdi, qword [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str..]
lea rcx, [rsp + 0x70]
mov qword [rdi - 2], rax
movzx eax, word [0x14001a748]
mov word [rdi + 6], ax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
je 0x14000a010
mov rsi, qword [rsp + 0x60]
mov rdi, rax
nop
test byte [rsp + 0x90], 0x10
jne 0x140009dd2
mov rdi, qword [rsp + 0x68]
mov r8, rbp
mov rcx, rbx
mov rdx, rdi
call fcn.14000b5d0
lea r8, [0x140019494]
mov rdx, rdi
mov rcx, rbx
call fcn.14000b640
lea r8, [rsp + 0xbc]
mov rdx, rdi
mov rcx, rbx
call fcn.14000b640
test rsi, rsi
je 0x140009db3
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call rsi
jmp 0x140009dcd
mov rcx, qword [rsp + 0x50]
add dword [rsp + 0x48], 1
lea r8, [rsp + 0x2c4]
mov rdx, rbx
call fcn.140009310
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140009df4
cmp byte [0x14001d040], 0
jne 0x140009d60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
je 0x140009f51
mov rdi, rax
test byte [rsp + 0x90], 0x10
je 0x140009f21
cmp byte [0x14001f548], 0
je 0x140009f21
lea rsi, [rsp + 0xbc]
lea rdi, [0x140018364]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140009f18
lea rsi, [rsp + 0xbc]
lea rdi, [0x14001a734]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140009f18
mov rdi, qword [rsp + 0x68]
mov r8, rbp
mov rcx, rbx
mov rdx, rdi
call fcn.14000b5d0
lea r8, [0x140019494]
mov rdx, rdi
mov rcx, rbx
call fcn.14000b640
lea r8, [rsp + 0xbc]
mov rdx, rdi
mov rcx, rbx
call fcn.14000b640
bt dword [rsp + 0x90], 0xa
jae 0x140009f12
lea rdx, [rsp + 0xbc]
mov rcx, rbp
call fcn.140007060
mov esi, dword [rsp + 0x30]
test al, al
jne 0x140009f1c
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
add esi, 1
mov rdx, rbx
mov dword [rsp + 0x30], esi
call fcn.140009b70
jmp 0x140009f1c
mov esi, dword [rsp + 0x30]
jmp 0x140009ef2
mov esi, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140009f43
cmp byte [0x14001d040], 0
jne 0x140009e42
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [0x14001f4d8]
test rdx, rdx
je 0x14000a010
mov r9d, dword [rsp + 0x48]
test r9d, r9d
je 0x140009fc2
mov rax, qword [rsp + 0x80]
lea rdx, str.Directory__files__t_s_t_lu_t_I64d_r_n
lea rcx, [rsp + 0x2e0]
sub rax, qword [rsp + 0x70]
mov r8, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x14001f4d8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x2e0]
xor r8d, r8d
call qword [rax + 0x28]
mov rdx, qword [0x14001f4d8]
test rdx, rdx
je 0x14000a010
test esi, esi
je 0x14000a010
mov rax, qword [rsp + 0x88]
lea rdx, str.Directory__subdirs__t_s_t_lu_t_I64d_r_n
lea rcx, [rsp + 0x2e0]
sub rax, qword [rsp + 0x78]
mov r9d, esi
mov r8, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x14001f4d8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x2e0]
xor r8d, r8d
call qword [rax + 0x28]
mov rcx, rdi
call sub.msvcrt.dll_free
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.14000b700
add rsp, 0x6f8
pop rdi
pop rsi
pop rbp
pop rbx
ret