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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x380
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x14029fbf8]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rax, r8
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0xc0]
call fcn.140007d50
nop
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
cmp rax, rdx
jne 0x1400c19c1
lea rcx, [rax + 1]
test rcx, rcx
jne 0x1400c199c
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0xc0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xc0]
mov word [rax], bx
jmp 0x1400c19b1
cmp rdx, rcx
jae 0x1400c19c1
mov rdx, rcx
lea rcx, [rsp + 0xc0]
call fcn.1400086b0
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xc0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xc0]
mov edx, 0x2a
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0xd0]
inc rax
mov qword [rsp + 0xd0], rax
mov word [rcx + rax*2], bx
mov rax, qword [rdi + 0x10]
dec rax
cmp qword [rdi + 0x10], rax
jae 0x1400c1a09
call fcn.140008d80
int3
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x18], 8
jb 0x1400c1a19
mov rcx, qword [rdi]
jmp 0x1400c1a1c
mov rcx, rdi
mov word [rcx + rax*2], bx
lea rcx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rcx, qword [rsp + 0xc0]
lea rdx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x1400c1d0a
nop word [rax + rax]
movzx ecx, word [rsp + 0x14c]
movzx eax, word [rsp + 0x14e]
cmp cx, word [0x140249764]
jne 0x1400c1a86
cmp ax, word [0x140249766]
je 0x1400c1ce3
cmp cx, word [0x140219ac0]
jne 0x1400c1aad
cmp ax, word [0x140219ac2]
jne 0x1400c1aad
movzx eax, word [rsp + 0x150]
cmp ax, word [0x140219ac4]
je 0x1400c1ce3
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rsp + 0x14c]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c1ae0
lea rdx, [rsp + 0x14c]
lea rcx, [rsp + 0x48]
call fcn.140006bd0
nop
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140007d50
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140050c80
nop
cmp rax, 0xffffffffffffffff
jne 0x1400c1b84
mov rcx, qword [str.P_a_]
lea rax, str.P_a_
cmp rcx, rax
je 0x1400c1ce3
test dword [rcx + 0x44], 0x1000000
je 0x1400c1ce3
cmp byte [rcx + 0x41], 2
jb 0x1400c1ce3
mov edx, 0xd
lea r8, [0x14021d088]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
jmp 0x1400c1ce3
mov rdx, rax
mov rcx, rsi
test byte [rsp + 0x120], 0x10
je 0x1400c1cbe
call fcn.1400c1d90
test eax, eax
jne 0x1400c1ce3
lea r8, [0x140243070]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140032ca0
nop
lea r8, [rsp + 0x14c]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14003fb40
nop
lea r8, [0x140243070]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14003fb40
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400c1c05
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140007b00
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1400c1c35
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140007b00
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x88]
call fcn.140007d50
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.1400c18e0
nop
mov r8, qword [rsp + 0xf8]
cmp r8, 8
jb 0x1400c1ce3
inc r8
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
call fcn.140007b00
jmp 0x1400c1ce3
mov r8, qword [rsp + 0x20]
call fcn.1400c2f40
jmp 0x1400c1ce3
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400c1a60
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x1400c1d30
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.140007b00
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x1400c1d64
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.140007b00
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.140199a10
add rsp, 0x380
pop rdi
pop rsi
pop rbx
ret