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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x368], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov dword [rsp + 0x40], r8d
mov rbx, rdx
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor eax, eax
mov esi, eax
mov dword [rsp + 0x30], eax
mov ecx, 0x200
call fcn.14010a204
mov qword [rsp + 0x48], rax
mov ecx, 0x200
call fcn.14010a204
mov qword [rsp + 0x50], rax
mov ecx, 0x200
call fcn.14010a204
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0x214]
jle 0x1400cd331
mov dword [rdi + 0x214], eax
inc dword [rdi + 0x218]
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400cd070
test eax, eax
je 0x1400cd680
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400ccf50
test eax, eax
je 0x1400cd680
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
or rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rax
mov word [rsp + 0x78], ax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x78]
call fcn.1400056d0
nop
sub rsi, rbx
mov r9, rsi
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400ccf00
mov rdi, rax
lea rax, [rsp + 0x78]
cmp rax, rdi
je 0x1400cd44d
cmp qword [rbp - 0x70], 8
jb 0x1400cd3ee
mov rcx, qword [rsp + 0x78]
call fcn.140085540
mov qword [rbp - 0x70], 7
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
cmp qword [rdi + 0x18], 8
jae 0x1400cd421
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14010c9b0
jmp 0x1400cd42c
mov rax, qword [rdi]
mov qword [rsp + 0x78], rax
mov qword [rdi], rbx
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x78], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x70], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
jmp 0x1400cd44f
xor ebx, ebx
cmp qword [rbp - 0x48], 8
jb 0x1400cd45f
mov rcx, qword [rbp - 0x60]
call fcn.140085540
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x58]
mov rdx, rsi
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
add rcx, 2
test ax, ax
jne 0x1400cd490
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400cd658
mov rbx, qword [rsp + 0x60]
nop dword [rax]
mov r8d, 1
lea rdx, [0x14022ffd4]
lea rcx, [rbp - 4]
call fcn.140116244
test eax, eax
je 0x1400cd623
test byte [rbp - 0x30], 0x10
je 0x1400cd5e0
mov qword [rbp - 0x48], 7
xor eax, eax
mov qword [rbp - 0x50], rax
mov word [rbp - 0x60], ax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x60]
call fcn.1400056d0
mov r8d, 1
lea rdx, [0x14022ff70]
lea rcx, [rbp - 0x60]
call fcn.1400ccd40
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 4]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 4]
lea rcx, [rbp - 0x60]
call fcn.1400ccd40
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400ccd40
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8d, dword [rsp + 0x40]
inc r8d
mov rcx, rbx
call fcn.1400cd2a0
mov esi, eax
mov dword [rsp + 0x30], eax
cmp qword [rbp - 0x48], 8
jb 0x1400cd5c3
mov rcx, qword [rbp - 0x60]
call fcn.140085540
mov qword [rbp - 0x48], 7
xor eax, eax
mov qword [rbp - 0x50], rax
mov word [rbp - 0x60], ax
test esi, esi
jne 0x1400cd649
mov rdi, qword [rsp + 0x68]
jmp 0x1400cd627
test rdi, rdi
jne 0x1400cd623
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
lea r8, str._s_s
mov edx, 0xff
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400cc8d0
inc dword [rdi + 0x21c]
cmp dword [rdi + 0x220], 0
jne 0x1400cd644
mov rbx, rdi
mov rdi, qword [rsp + 0x68]
mov esi, dword [rsp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400cd649
mov rsi, qword [rsp + 0x58]
jmp 0x1400cd4e0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
jmp 0x1400cd65c
mov esi, dword [rsp + 0x30]
cmp qword [rbp - 0x70], 8
jb 0x1400cd66d
mov rcx, qword [rsp + 0x78]
call fcn.140085540
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
jmp 0x1400cd6c5
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400cd6c5
mov r9, rbx
lea r8, [0x14021ec68]
mov edx, 0xff
mov rcx, rdi
call fcn.1400cc8d0
mov esi, 1
inc dword [rdi + 0x21c]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x48]
call fcn.140085540
mov rcx, qword [rsp + 0x50]
call fcn.140085540
mov rcx, qword [rsp + 0x58]
call fcn.140085540
mov eax, esi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x368]
add rsp, 0x330
pop rdi
pop rsi
pop rbp
ret