Function at 0x14001fed4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x140
call fcn.14003a5c0
xor ebx, ebx
mov qword [rbp - 0x58], reloc.WSOCK32.dll_ntohs
xor r8d, r8d
mov qword [rbp - 0x60], rbx
lea rdx, [0x14009d610]
mov byte [rbp - 0x70], bl
lea rcx, [rbp - 0x70]
call fcn.140004d8c
mov eax, dword [rbp + 0x130]
test eax, eax
je 0x14001ff45
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test rsi, rsi
je 0x14001ff91
cmp byte [rsi], bl
je 0x14001ff91
cmp qword [rdi + 0x18], 0x10
mov rsi, qword [rdi + 0x10]
jb 0x14001ff5e
mov rbx, qword [rdi]
jmp 0x14001ff61
mov rbx, rdi
mov rcx, qword [rbp + 0x118]
call fcn.140045e50
mov r8, qword [rbp + 0x118]
mov r9, rax
mov edx, esi
mov rcx, rbx
call fcn.140014768
cmp eax, 1
je 0x140020370
mov rsi, qword [rbp + 0x118]
lea r8, [0x1400a0aa8]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000145c
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x14001ffea
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001ffcd
mov rcx, qword [rbp - 0x70]
inc rdx
mov r8d, 1
call fcn.140004554
and qword [rbp - 0x60], 0
lea rcx, [rbp - 0x70]
mov rdx, rbx
mov qword [rbp - 0x58], reloc.WSOCK32.dll_ntohs
mov byte [rbp - 0x70], 0
call fcn.140004354
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140020007
mov rcx, qword [rsp + 0x70]
inc rdx
mov r8d, 1
call fcn.140004554
cmp qword [rbp - 0x58], 0x10
lea rcx, [rbp - 0x70]
lea rdx, [rbp - 0x50]
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rax
mov qword [rbp + 0x118], rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140020363
mov rbx, qword [rbp + 0x120]
test byte [rbp - 0x50], 0x10
je 0x1400201d7
lea rdx, [0x1400a0a48]
lea rcx, [rbp - 0x24]
call fcn.14007f078
test eax, eax
je 0x14002034a
lea rdx, [0x1400a0914]
lea rcx, [rbp - 0x24]
call fcn.14007f078
test eax, eax
je 0x14002034a
and qword [rbp - 0x80], 0
lea rcx, [0x14009db0c]
mov qword [rbp - 0x78], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x70], 0
call fcn.140045e50
mov r8, rax
lea rdx, [0x14009db0c]
lea rcx, [rsp + 0x70]
call fcn.140004d8c
or qword [rsp + 0x20], 0xffffffffffffffff
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov r8, rdi
xor edx, edx
call fcn.140005138
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x68], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x50], 0
call fcn.140004354
cmp byte [rbp - 0x24], 0
jne 0x1400200f1
xor eax, eax
jmp 0x1400200fa
lea rcx, [rbp - 0x24]
call fcn.140045e50
mov r8, rax
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x50]
call fcn.140004b2c
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
mov rdx, rax
mov qword [rsp + 0x48], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x30], 0
call fcn.140004354
mov eax, dword [rbp + 0x130]
lea rcx, [rsp + 0x30]
mov r9, qword [rbp + 0x128]
mov r8, rbx
mov rdx, rsi
mov dword [rsp + 0x20], eax
call fcn.14001fed4
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14002016b
mov rcx, qword [rsp + 0x30]
inc rdx
mov r8d, 1
call fcn.140004554
and qword [rsp + 0x40], 0
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x48], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x30], 0
cmp rdx, 0x10
jb 0x14002019d
mov rcx, qword [rsp + 0x50]
inc rdx
mov r8d, 1
call fcn.140004554
and qword [rsp + 0x60], 0
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x68], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x50], 0
cmp rdx, 0x10
jb 0x14002034a
mov rcx, qword [rsp + 0x70]
inc rdx
mov r8d, 1
call fcn.140004554
jmp 0x14002034a
mov rcx, rbx
call fcn.140045e50
lea rcx, [rbp - 0x24]
mov rbx, rax
call fcn.140045e50
mov r8, qword [rbp + 0x120]
lea rcx, [rbp - 0x24]
mov rdx, rax
mov r9d, ebx
call fcn.140014768
cmp eax, 1
jne 0x140020343
xor ebx, ebx
mov qword [rbp - 0x78], reloc.WSOCK32.dll_ntohs
lea rcx, [0x14009db0c]
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
call fcn.140045e50
mov r8, rax
lea rdx, [0x14009db0c]
lea rcx, [rsp + 0x70]
call fcn.140004d8c
or qword [rsp + 0x20], 0xffffffffffffffff
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov r8, rdi
xor edx, edx
call fcn.140005138
mov rdx, rax
mov qword [rsp + 0x48], reloc.WSOCK32.dll_ntohs
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x30], bl
call fcn.140004354
cmp byte [rbp - 0x24], bl
jne 0x14002027c
mov eax, ebx
jmp 0x140020285
lea rcx, [rbp - 0x24]
call fcn.140045e50
mov r8, rax
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x30]
call fcn.140004b2c
mov rdx, rax
mov qword [rsp + 0x68], reloc.WSOCK32.dll_ntohs
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
call fcn.140004354
mov rcx, qword [rbp + 0x128]
lea rdx, [rsp + 0x50]
call fcn.140009638
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400202e4
mov rcx, qword [rsp + 0x50]
inc rdx
mov r8d, 1
call fcn.140004554
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x68], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
cmp rdx, 0x10
jb 0x140020314
mov rcx, qword [rsp + 0x30]
inc rdx
mov r8d, 1
call fcn.140004554
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x48], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x30], bl
cmp rdx, 0x10
jb 0x140020343
mov rcx, qword [rsp + 0x70]
inc rdx
mov r8d, 1
call fcn.140004554
mov rbx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x118]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140020042
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002038c
mov rcx, qword [rbp - 0x70]
inc rdx
mov r8d, 1
call fcn.140004554
mov eax, 1
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret