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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rax, rcx
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp + 0x440]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbp + 0x448]
mov rsi, rdx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp + 0x2e0]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], 1
sub rcx, rax
mov rdx, rax
nop dword [rax + rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rcx + rdx - 1], al
test al, al
jne 0x1400d3110
lea rcx, [rbp + 0x2e0]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2e0]
lea rdx, [rbp - 0x80]
repne scasb al, byte [rdi]
mov eax, dword [0x1401eefbc]
lea rcx, [rbp + 0x2e0]
mov dword [rdi - 1], eax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x1400d3367
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x520], rbx
lea rbx, [rbp + 0x1d0]
sub rbx, rdi
nop dword [rax]
lea rcx, [rbp + 0x1d1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x1d0], 0
call fcn.14010da60
lea rcx, [rbp + 0xc1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0xc0], 0
call fcn.14010da60
mov rdx, rdi
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rbx + rdx - 1], al
test al, al
jne 0x1400d31c0
lea rcx, [rbp + 0x1d0]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1d0]
lea rdx, [rbp - 0x54]
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1400d31f0
test rsi, rsi
je 0x1400d324f
lea rdx, [rbp + 0xc0]
mov rcx, rsi
sub rdx, rsi
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x1400d3211
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xc0]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rbp - 0x54]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1400d3240
mov eax, dword [rbp - 0x80]
and eax, 0x10
jne 0x1400d3261
cmp dword [rsp + 0x44], eax
je 0x1400d332b
lea rsi, [rbp - 0x54]
lea rdi, [0x1401ee614]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x1400d3331
lea rsi, [rbp - 0x54]
lea rdi, [0x1401eefb8]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x1400d3331
test eax, eax
je 0x1400d32a1
lea rcx, [rbp + 0xc0]
call fcn.1400c9bc0
mov edi, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
lea rax, [rbp + 0xc0]
lea rcx, [rbp + 0x1d0]
test edi, edi
cmove rcx, rax
call qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400d335a
cmp dword [rbp + 0x450], 0
je 0x1400d3335
test byte [rbp - 0x80], 0x10
mov rsi, qword [rsp + 0x48]
je 0x1400d333a
mov r8d, dword [rsp + 0x44]
test rsi, rsi
mov eax, 0
mov dword [rsp + 0x30], 1
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x1d0]
cmove rdx, rax
mov rax, qword [rsp + 0x70]
mov r9d, edi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.1400d30a0
mov dword [rsp + 0x40], eax
jmp 0x1400d333a
mov eax, dword [rsp + 0x40]
jmp 0x1400d333a
mov eax, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
test eax, eax
je 0x1400d335a
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov rdi, qword [rsp + 0x60]
test eax, eax
jne 0x1400d3180
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x500
pop rdi
pop rsi
pop rbp
ret