Function at 0x140189be0
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xf90], rax
mov rax, qword [rsp + 0xfb0]
cmp qword [rax + 8], 0
jne 0x140189c2b
xor al, al
jmp 0x140189fa1
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.1401882d0
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.1401881d0
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 [0x14024488c]
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 0x140189d57
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x910]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400ac0b0
jmp 0x140189db4
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.1400ab814
test eax, eax
je 0x140189d8d
xor al, al
jmp 0x140189fa1
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.140188bc0
nop
lea rcx, [rsp + 0x8b0]
call fcn.14000b1e0
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.14005f330
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0xfb0]
mov rcx, qword [rcx + 8]
call fcn.140060050
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400ac0b0
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1402448b4]
mov qword [rsp + 0x20], rdx
lea r9, [0x140244924]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x490]
call fcn.1400ac140
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 0x140189f85
movzx eax, word [rsp + 0xb4c]
cmp eax, 0x2e
je 0x140189f59
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4c]
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd70]
call fcn.1400ac140
mov eax, dword [rsp + 0xb20]
and eax, 0x10
test eax, eax
je 0x140189f3b
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.140189be0
jmp 0x140189f59
movzx r8d, byte [rsp + 0xfc0]
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0xfb0]
call fcn.140189570
lea rdx, [rsp + 0xb20]
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140189ed5
mov rcx, qword [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0xf80], 1
lea rcx, [rsp + 0x8b0]
call fcn.14000bbd0
mov al, byte [rsp + 0xf80]
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0xfa0
pop rdi
ret