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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov byte [rsp + 0x20], r9b
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x70], rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x68], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14032967c]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400d1690
nop
cmp dword [rsp + 0x68], 0
jle 0x1401d1f57
mov rcx, qword [rsp + 0x60]
call fcn.140298600
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x1401d21f0
lea rdx, [0x140323de0]
mov rbx, rax
nop
test byte [rbp - 0x40], 0x10
je 0x1401d2070
movzx ecx, word [rbp - 0x14]
movzx eax, word [rbp - 0x12]
cmp cx, word [0x140322fd0]
jne 0x1401d1fa8
cmp ax, word [0x140322fd2]
je 0x1401d21ca
cmp cx, word [0x14032968c]
jne 0x1401d1fcb
cmp ax, word [0x14032968e]
jne 0x1401d1fcb
movzx eax, word [rbp - 0x10]
cmp ax, word [0x140329690]
je 0x1401d21ca
lea rax, [rbp - 0x14]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d1fd3
xor eax, eax
mov qword [rsp + 0x58], rax
test ebx, ebx
jne 0x1401d1fef
mov qword [rsp + 0x50], rdx
jmp 0x1401d2015
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x14]
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.1400d1690
nop
cmp dword [rsp + 0x58], 0
jle 0x1401d2047
mov rcx, qword [rsp + 0x50]
call fcn.140298600
movzx r9d, byte [rsp + 0x20]
mov r8, rsi
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1401d1eb0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401d21c5
mov rcx, qword [rbp - 0x68]
jmp 0x1401d21c0
lea rax, [rbp - 0x14]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d2080
xor eax, eax
mov qword [rsp + 0x48], rax
test ebx, ebx
jne 0x1401d209c
mov qword [rsp + 0x40], rdx
jmp 0x1401d20c2
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x14]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.1400dfeb0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d20ef
mov rcx, qword [rsp + 0x40]
call fcn.140298600
xor r8d, r8d
lea rdx, str..txt
lea rcx, [rbp - 0x78]
call fcn.1401e9310
test al, al
je 0x1401d21b6
lea rax, [rbp - 0x14]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d2112
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401d2135
lea rax, [0x140323de0]
mov qword [rsp + 0x30], rax
jmp 0x1401d215b
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x14]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1400d1690
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d218e
mov rcx, qword [rsp + 0x30]
call fcn.140298600
movzx r9d, byte [rsp + 0x20]
mov r8, rsi
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1401d2220
nop
cmp dword [rbp - 0x80], 0
jle 0x1401d21b6
mov rcx, qword [rsp + 0x78]
call fcn.140298600
nop
cmp dword [rbp - 0x70], 0
jle 0x1401d21c5
mov rcx, qword [rbp - 0x78]
call fcn.140298600
mov rbx, qword [rsp + 0x28]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
lea rdx, [0x140323de0]
jne 0x1401d1f80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rbp - 0x50], 0
jle 0x1401d21ff
mov rcx, qword [rbp - 0x58]
call fcn.140298600
mov al, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x328
pop rdi
pop rsi
pop rbx
pop rbp
ret