Function at 0x1401b7520
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 [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rdx
mov qword [rsp + 0x30], rcx
lea rax, [0x140348ca0]
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.1401ff260
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x58]
call fcn.140200570
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b760d
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b761e
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
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 0x1401b7676
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b789c
mov rcx, rsi
call fcn.1401bce00
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 0x1401b7676
xor bl, bl
jmp 0x1401b79a0
or rdi, 0xffffffffffffffff
nop word [rax + rax]
test byte [rbp - 0x70], 0x10
je 0x1401b7778
movzx ecx, word [rbp - 0x44]
movzx eax, word [rbp - 0x42]
cmp cx, word [0x140347c20]
jne 0x1401b76a8
cmp ax, word [0x140347c22]
je 0x1401b7869
cmp cx, word [0x14034e8ac]
jne 0x1401b76cb
cmp ax, word [0x14034e8ae]
jne 0x1401b76cb
movzx eax, word [rbp - 0x40]
cmp ax, word [0x14034e8b0]
je 0x1401b7869
lea rax, [rbp - 0x44]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b76d2
xor eax, eax
mov qword [rsp + 0x70], rax
test ebx, ebx
jne 0x1401b76f5
lea rax, [0x140348ca0]
mov qword [rsp + 0x68], rax
jmp 0x1401b771b
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x44]
mov rcx, qword [rsp + 0x68]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140200570
nop
lea r8, [rsp + 0x68]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x70], 0
jle 0x1401b774c
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.1401b7520
test al, al
je 0x1401b787f
cmp dword [rsp + 0x50], 0
jle 0x1401b7864
mov rcx, qword [rsp + 0x48]
jmp 0x1401b785f
lea rax, [rbp - 0x44]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b7780
xor eax, eax
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x1401b77a3
lea rax, [0x140348ca0]
mov qword [rsp + 0x20], rax
jmp 0x1401b77c9
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x44]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b77fa
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.1401b73f0
movzx eax, al
test eax, eax
jne 0x1401b7854
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b7837
lea rcx, [rsp + 0x78]
call fcn.1401bce00
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.1401b73f0
movzx eax, al
test eax, eax
jne 0x1401b7854
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.1401b34f0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401b7864
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401b78a3
jmp 0x1401b7680
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401b789c
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
xor bl, bl
jmp 0x1401b79a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsi]
test rbx, rbx
jne 0x1401b78c0
xor eax, eax
mov edi, eax
mov qword [rsp + 0x38], rax
jmp 0x1401b78d5
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401b78c0
xor eax, eax
mov qword [rsp + 0x38], rax
test edi, edi
jne 0x1401b78e3
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x1401b7908
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
mov r8b, 1
lea rdx, [rsp + 0x30]
call fcn.1401b73f0
movzx edi, al
cmp dword [rsp + 0x38], 0
jle 0x1401b7936
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
test edi, edi
jne 0x1401b799a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401b7980
mov rcx, rsi
call fcn.1401bce00
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call fcn.1401fd200
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
call fcn.1401b73f0
movzx edi, al
cmp dword [rsp + 0x50], 0
jle 0x1401b797c
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
test edi, edi
jne 0x1401b799a
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.1401b34f0
cmp edi, 1
sete bl
cmp dword [rsp + 0x60], 0
jle 0x1401b79b1
mov rcx, qword [rsp + 0x58]
call fcn.1402b9c20
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret