Function at 0x140184270
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 [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0xf90], rax
mov rax, qword [rsp + 0xfb0]
cmp qword [rax + 8], 0
jne 0x1401842bb
xor al, al
jmp 0x140184631
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.140182a30
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.140182930
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 [0x14023ed1c]
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 0x1401843e7
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x910]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400ab96c
jmp 0x140184444
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.1400a939c
test eax, eax
je 0x14018441d
xor al, al
jmp 0x140184631
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.140183320
nop
lea rcx, [rsp + 0x8b0]
call fcn.14000d0b0
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.14005edb0
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0xfb0]
mov rcx, qword [rcx + 8]
call fcn.14005fad0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400ab96c
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x14023ed44]
mov qword [rsp + 0x20], rdx
lea r9, [0x14023edb4]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x490]
call fcn.1400ab9fc
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 0x140184615
movzx eax, word [rsp + 0xb4c]
cmp eax, 0x2e
je 0x1401845e9
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4c]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd70]
call fcn.1400ab9fc
mov eax, dword [rsp + 0xb20]
and eax, 0x10
test eax, eax
je 0x1401845cb
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.140184270
jmp 0x1401845e9
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.140183cd0
lea rdx, [rsp + 0xb20]
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140184565
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0xf80], 1
lea rcx, [rsp + 0x8b0]
call fcn.14000dac0
mov al, byte [rsp + 0xf80]
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0xfa0
pop rdi
ret