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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rsi, rdx
lea r8, [0x1400341c0]
mov r13, rcx
mov r9, rcx
mov r14d, 0x104
lea rcx, [rbp + 0x390]
mov edx, r14d
xor edi, edi
call fcn.1400025a4
lea rcx, [rbp + 0x390]
call fcn.140002710
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400070e9
movzx edx, word [rsp + 0x5c]
cmp dx, word [0x140032858]
movzx ecx, word [rsp + 0x5e]
jne 0x140006ef9
cmp cx, word [0x14003285a]
je 0x140007000
cmp dx, word [0x140032798]
jne 0x140006f1d
cmp cx, word [0x14003279a]
jne 0x140006f1d
movzx eax, word [rsp + 0x60]
cmp ax, word [0x14003279c]
je 0x140007000
lea rax, [rsp + 0x5c]
mov r9, r13
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rbp + 0x180]
call fcn.1400025a4
test byte [rsp + 0x30], 0x10
lea rcx, [rbp + 0x180]
je 0x140006f81
lea r9, [rbp + 0x180]
mov rdx, r14
lea r8, [0x1400341d8]
call fcn.1400025a4
mov rdx, rsi
lea rcx, [rbp + 0x180]
call fcn.140006e58
mov edi, eax
test eax, eax
jne 0x140007090
xor edi, edi
jmp 0x140007000
call fcn.1400028e0
mov r15, rax
test rax, rax
je 0x1400070e4
mov ecx, 0x30
call fcn.14000daac
mov r14, rax
mov rdx, r15
mov rcx, r14
mov dword [rax + 8], 1
mov qword [rax + 0x10], rdi
lea rax, [0x140034760]
mov qword [r14], rax
mov qword [r14 + 0x18], rdi
mov qword [r14 + 0x20], rdi
mov dword [r14 + 0x28], edi
mov r8, qword [r14]
call qword [r8 + 8]
mov edi, eax
test eax, eax
jne 0x1400070d3
mov rcx, r15
call fcn.140011538
mov rax, qword [rsi + 8]
xor edi, edi
test rax, rax
je 0x140006ff0
mov qword [rax + 0x10], r14
jmp 0x140006ff3
mov qword [rsi], r14
inc dword [rsi + 0x10]
mov qword [rsi + 8], r14
mov r14d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140006ed9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r13
call fcn.1400028e0
mov r15, rax
test rax, rax
je 0x1400070e4
mov ecx, 0x30
call fcn.14000daac
mov r14, rax
mov rdx, r15
mov rcx, r14
mov dword [rax + 8], 1
mov qword [rax + 0x10], rdi
lea rax, [0x1400347e0]
mov qword [r14], rax
mov qword [r14 + 0x18], rdi
mov qword [r14 + 0x20], rdi
mov dword [r14 + 0x28], edi
mov r8, qword [r14]
call qword [r8 + 8]
mov edi, eax
test eax, eax
je 0x1400070b0
call fcn.140002608
mov rcx, rax
lea rdx, str.add_dir_entries_Parse_error_on_close:__S__err:__d
mov r9d, edi
mov r8, r15
call fcn.14000a0ec
jmp 0x1400070c9
call fcn.140002608
lea r8, [rbp + 0x180]
lea rdx, str.add_dir_entries_error:__S__err:__d
mov r9d, edi
mov rcx, rax
call fcn.14000a0ec
jmp 0x1400070e9
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400070bf
mov qword [rax + 0x10], r14
jmp 0x1400070c2
mov qword [rsi], r14
inc dword [rsi + 0x10]
mov qword [rsi + 8], r14
mov rcx, r15
call fcn.140011538
jmp 0x1400070e9
call fcn.140002608
mov r8, r15
lea rdx, str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
jmp 0x1400070a3
mov edi, 5
test rbx, rbx
je 0x1400070f6
mov rcx, rbx
call fcn.14000dda4
mov eax, edi
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14000d4c0
mov rbx, qword [rsp + 0x700]
add rsp, 0x6b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret