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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rdx
mov qword [rsp + 0x30], rcx
lea rax, [0x140346ce0]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034c84c]
mov rcx, qword [rsp + 0x20]
call fcn.1402ba94c
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x60]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x58]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1401fde50
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b5ffd
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b600e
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1401b6066
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b628c
mov rcx, rsi
call fcn.1401bb7e0
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1401b6066
xor bl, bl
jmp 0x1401b6390
or rdi, 0xffffffffffffffff
nop word [rax + rax]
test byte [rbp - 0x70], 0x10
je 0x1401b6168
movzx ecx, word [rbp - 0x44]
movzx eax, word [rbp - 0x42]
cmp cx, word [0x140345c60]
jne 0x1401b6098
cmp ax, word [0x140345c62]
je 0x1401b6259
cmp cx, word [0x14034c85c]
jne 0x1401b60bb
cmp ax, word [0x14034c85e]
jne 0x1401b60bb
movzx eax, word [rbp - 0x40]
cmp ax, word [0x14034c860]
je 0x1401b6259
lea rax, [rbp - 0x44]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b60c2
xor eax, eax
mov qword [rsp + 0x70], rax
test ebx, ebx
jne 0x1401b60e5
lea rax, [0x140346ce0]
mov qword [rsp + 0x68], rax
jmp 0x1401b610b
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x44]
mov rcx, qword [rsp + 0x68]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401fde50
nop
lea r8, [rsp + 0x68]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x70], 0
jle 0x1401b613c
mov rcx, qword [rsp + 0x68]
call fcn.1402b7350
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.1401b5f10
test al, al
je 0x1401b626f
cmp dword [rsp + 0x50], 0
jle 0x1401b6254
mov rcx, qword [rsp + 0x48]
jmp 0x1401b624f
lea rax, [rbp - 0x44]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b6170
xor eax, eax
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x1401b6193
lea rax, [0x140346ce0]
mov qword [rsp + 0x20], rax
jmp 0x1401b61b9
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x44]
mov rcx, qword [rsp + 0x20]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b61ea
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.1401b5de0
movzx eax, al
test eax, eax
jne 0x1401b6244
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b6227
lea rcx, [rsp + 0x78]
call fcn.1401bb7e0
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.1401b5de0
movzx eax, al
test eax, eax
jne 0x1401b6244
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d:__ls_r_n
call fcn.1401b1eb0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401b6254
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401b6293
jmp 0x1401b6070
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b628c
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
xor bl, bl
jmp 0x1401b6390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsi]
test rbx, rbx
jne 0x1401b62b0
xor eax, eax
mov edi, eax
mov qword [rsp + 0x38], rax
jmp 0x1401b62c5
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401b62b0
xor eax, eax
mov qword [rsp + 0x38], rax
test edi, edi
jne 0x1401b62d3
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1401b62f8
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov r8b, 1
lea rdx, [rsp + 0x30]
call fcn.1401b5de0
movzx edi, al
cmp dword [rsp + 0x38], 0
jle 0x1401b6326
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
test edi, edi
jne 0x1401b638a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b6370
mov rcx, rsi
call fcn.1401bb7e0
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call fcn.1401faae0
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
call fcn.1401b5de0
movzx edi, al
cmp dword [rsp + 0x50], 0
jle 0x1401b636c
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
test edi, edi
jne 0x1401b638a
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d:__ls_r_n
call fcn.1401b1eb0
cmp edi, 1
sete bl
cmp dword [rsp + 0x60], 0
jle 0x1401b63a1
mov rcx, qword [rsp + 0x58]
call fcn.1402b7350
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret