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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x330], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
xor bl, bl
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034c84c]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401b5aeb
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401b5da3
or rdi, 0xffffffffffffffff
lea rdx, [0x140346ce0]
test byte [rbp - 0x60], 0x10
je 0x1401b5c0a
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140345c60]
jne 0x1401b5b3a
cmp ax, word [0x140345c62]
je 0x1401b5cbb
cmp cx, word [0x14034c85c]
jne 0x1401b5b5d
cmp ax, word [0x14034c85e]
jne 0x1401b5b5d
movzx eax, word [rbp - 0x30]
cmp ax, word [0x14034c860]
je 0x1401b5cbb
lea rax, [rbp - 0x34]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b5b64
xor eax, eax
mov qword [rsp + 0x48], rax
test ebx, ebx
jne 0x1401b5b80
mov qword [rsp + 0x40], rdx
jmp 0x1401b5ba6
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401b5bd9
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.1401b5a40
test al, al
jne 0x1401b5cd5
cmp dword [rsp + 0x38], 0
jle 0x1401b5cbb
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
jmp 0x1401b5cbb
cmp word [rbp - 0x34], 0x40
je 0x1401b5cbb
lea rax, [rbp - 0x34]
mov rbx, rdi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b5c20
xor eax, eax
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x1401b5c3c
mov qword [rsp + 0x20], rdx
jmp 0x1401b5c62
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 - 0x34]
mov rcx, qword [rsp + 0x20]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400e3270
nop
mov r8d, 1
lea rdx, [0x14035fac4]
mov rcx, rax
call fcn.1401fce20
movzx ebx, al
cmp dword [rbp - 0x78], 0
jle 0x1401b5ca6
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b5cb7
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
test bl, bl
je 0x1401b5cf1
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401b5d97
jmp 0x1401b5b0b
mov bl, 1
cmp dword [rsp + 0x38], 0
jle 0x1401b5d99
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
jmp 0x1401b5d99
lea rax, [rbp - 0x34]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401b5cf5
xor eax, eax
mov qword [rsp + 0x28], rax
test edi, edi
jne 0x1401b5d18
lea rax, [0x140346ce0]
mov qword [rsp + 0x20], rax
jmp 0x1401b5d3e
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x20]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1401fde50
nop
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b5d71
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
mov rdx, qword [rsp + 0x30]
lea rcx, str._tFile_in_folder:__s_r_n
call fcn.1401b1eb0
mov bl, 1
cmp dword [rsp + 0x38], 0
jle 0x1401b5d99
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
jmp 0x1401b5d99
xor bl, bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rsp + 0x78], 0
jle 0x1401b5db4
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret