Function at 0x1400c18d0
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 [0x1402b8d08]
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 0x1400c19b1
lea rcx, [rax + 1]
test rcx, rcx
jne 0x1400c198c
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0xc0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xc0]
mov word [rax], bx
jmp 0x1400c19a1
cmp rdx, rcx
jae 0x1400c19b1
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 0x1400c19f9
call fcn.140008d80
int3
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x18], 8
jb 0x1400c1a09
mov rcx, qword [rdi]
jmp 0x1400c1a0c
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 0x1400c1cfa
nop word [rax + rax]
movzx ecx, word [rsp + 0x14c]
movzx eax, word [rsp + 0x14e]
cmp cx, word [0x140261d24]
jne 0x1400c1a76
cmp ax, word [0x140261d26]
je 0x1400c1cd3
cmp cx, word [0x140231ac0]
jne 0x1400c1a9d
cmp ax, word [0x140231ac2]
jne 0x1400c1a9d
movzx eax, word [rsp + 0x150]
cmp ax, word [0x140231ac4]
je 0x1400c1cd3
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 0x1400c1ad0
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.140050c70
nop
cmp rax, 0xffffffffffffffff
jne 0x1400c1b74
mov rcx, qword [0x1402b9860]
lea rax, [0x1402b9860]
cmp rcx, rax
je 0x1400c1cd3
test dword [rcx + 0x44], 0x1000000
je 0x1400c1cd3
cmp byte [rcx + 0x41], 2
jb 0x1400c1cd3
mov edx, 0xd
lea r8, [0x140235088]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
jmp 0x1400c1cd3
mov rdx, rax
mov rcx, rsi
test byte [rsp + 0x120], 0x10
je 0x1400c1cae
call fcn.1400c1d80
test eax, eax
jne 0x1400c1cd3
lea r8, [0x14025b630]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140032c90
nop
lea r8, [rsp + 0x14c]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14003fb30
nop
lea r8, [0x14025b630]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14003fb30
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400c1bf5
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 0x1400c1c25
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.1400c18d0
nop
mov r8, qword [rsp + 0xf8]
cmp r8, 8
jb 0x1400c1cd3
inc r8
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
call fcn.140007b00
jmp 0x1400c1cd3
mov r8, qword [rsp + 0x20]
call fcn.1400c2f30
jmp 0x1400c1cd3
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 0x1400c1a50
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 0x1400c1d20
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 0x1400c1d54
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.1401b1920
add rsp, 0x380
pop rdi
pop rsi
pop rbx
ret