Function at 0x1401b7050
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 [0x140418a10]
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.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401b70fb
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401b73b3
or rdi, 0xffffffffffffffff
lea rdx, [0x140348ca0]
test byte [rbp - 0x60], 0x10
je 0x1401b721a
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140347c20]
jne 0x1401b714a
cmp ax, word [0x140347c22]
je 0x1401b72cb
cmp cx, word [0x14034e8ac]
jne 0x1401b716d
cmp ax, word [0x14034e8ae]
jne 0x1401b716d
movzx eax, word [rbp - 0x30]
cmp ax, word [0x14034e8b0]
je 0x1401b72cb
lea rax, [rbp - 0x34]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b7174
xor eax, eax
mov qword [rsp + 0x48], rax
test ebx, ebx
jne 0x1401b7190
mov qword [rsp + 0x40], rdx
jmp 0x1401b71b6
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401b71e9
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.1401b7050
test al, al
jne 0x1401b72e5
cmp dword [rsp + 0x38], 0
jle 0x1401b72cb
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x1401b72cb
cmp word [rbp - 0x34], 0x40
je 0x1401b72cb
lea rax, [rbp - 0x34]
mov rbx, rdi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b7230
xor eax, eax
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x1401b724c
mov qword [rsp + 0x20], rdx
jmp 0x1401b7272
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 - 0x34]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400e32e0
nop
mov r8d, 1
lea rdx, [0x140361e7c]
mov rcx, rax
call fcn.1401ff540
movzx ebx, al
cmp dword [rbp - 0x78], 0
jle 0x1401b72b6
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b72c7
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
test bl, bl
je 0x1401b7301
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401b73a7
jmp 0x1401b711b
mov bl, 1
cmp dword [rsp + 0x38], 0
jle 0x1401b73a9
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x1401b73a9
lea rax, [rbp - 0x34]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401b7305
xor eax, eax
mov qword [rsp + 0x28], rax
test edi, edi
jne 0x1401b7328
lea rax, [0x140348ca0]
mov qword [rsp + 0x20], rax
jmp 0x1401b734e
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x28], 0
jle 0x1401b7381
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
mov rdx, qword [rsp + 0x30]
lea rcx, str._tFile_in_folder:__s_r_n
call fcn.1401b34f0
mov bl, 1
cmp dword [rsp + 0x38], 0
jle 0x1401b73a9
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x1401b73a9
xor bl, bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rsp + 0x78], 0
jle 0x1401b73c4
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret