Function at 0x14018e610
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xfa0
mov qword [rsp + 0xf88], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0xf90], rax
mov rax, qword [rsp + 0xfb0]
cmp qword [rax + 8], 0
jne 0x14018e65b
xor al, al
jmp 0x14018e9d1
mov rax, qword [rsp + 0xfb0]
mov ecx, dword [rax + 0x220]
add ecx, 1
mov rax, qword [rsp + 0xfb0]
mov dword [rax + 0x220], ecx
mov rdx, qword [rsp + 0xfb8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xfb0]
call fcn.14018cd00
mov dword [rsp + 0x8f4], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x8f8], eax
mov r8b, 1
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x70]
call fcn.14018cc00
mov dword [rsp + 0x8f0], 0
movzx eax, word [rsp + 0x480]
mov dword [rsp + 0x8ec], eax
movzx eax, word [rsp + 0x482]
sub eax, 1
mov dword [rsp + 0x8e8], eax
movzx eax, word [rsp + 0x486]
mov dword [rsp + 0x8e4], eax
movzx eax, word [rsp + 0x488]
mov dword [rsp + 0x8e0], eax
movzx eax, word [rsp + 0x48a]
mov dword [rsp + 0x8dc], eax
movzx eax, word [rsp + 0x48c]
mov dword [rsp + 0x8d8], eax
movzx eax, word [0x140255cfc]
mov word [rsp + 0x910], ax
lea rdi, [rsp + 0x912]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0xfc0]
test eax, eax
je 0x14018e787
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x910]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400ad33c
jmp 0x14018e7e4
mov rcx, qword [rsp + 0xfb0]
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0xfb0]
add rdx, 0x10
lea rcx, [rsp + 0x70]
call fcn.1400aab6c
test eax, eax
je 0x14018e7bd
xor al, al
jmp 0x14018e9d1
mov rcx, qword [rsp + 0xfb0]
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
lea rdx, [rsp + rax*2 + 0x70]
lea rcx, [rsp + 0x910]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x910]
lea rcx, [rsp + 0x8b0]
call fcn.14018d5f0
nop
lea rcx, [rsp + 0x8b0]
call fcn.14000be60
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x8d8]
mov rdx, rax
mov rcx, qword [rsp + 0xfb0]
mov rcx, qword [rcx + 8]
call fcn.1400603f0
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0xfb0]
mov rcx, qword [rcx + 8]
call fcn.140061110
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400ad33c
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140255d24]
mov qword [rsp + 0x20], rdx
lea r9, [0x140255d94]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x490]
call fcn.1400ad3cc
lea rdx, [rsp + 0xb20]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x900], rax
cmp qword [rsp + 0x900], 0xffffffffffffffff
je 0x14018e9b5
movzx eax, word [rsp + 0xb4c]
cmp eax, 0x2e
je 0x14018e989
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4c]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd70]
call fcn.1400ad3cc
mov eax, dword [rsp + 0xb20]
and eax, 0x10
test eax, eax
je 0x14018e96b
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.14018e610
jmp 0x14018e989
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.14018dfa0
lea rdx, [rsp + 0xb20]
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14018e905
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0xf80], 1
lea rcx, [rsp + 0x8b0]
call fcn.14000c820
mov al, byte [rsp + 0xf80]
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0xfa0
pop rdi
ret