Function at 0x14009cc5c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140168900]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
call fcn.1400523d4
nop
or r15, 0xffffffffffffffff
mov qword [rbp - 0x70], r15
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov rax, r15
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14009ccb4
test rax, rax
je 0x14009cde3
cmp rax, qword [rbp - 0x80]
jne 0x14009cde3
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 1
lea rdx, [0x140123950]
lea rcx, [rsp + 0x48]
call fcn.140044a80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14009d8f8
nop
lea rcx, [rsp + 0x48]
call fcn.140045650
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x14009cd3c
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x14009cf2a
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x68]
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rbp - 0x70], rax
cmp rax, r15
jne 0x14009cd74
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14009cdcc
mov rbx, qword [rbp - 0x70]
cmp word [rbp - 0x3c], 0x2e
jne 0x14009cdae
movzx eax, word [rbp - 0x3a]
test ax, ax
je 0x14009cd91
cmp ax, 0x2e
jne 0x14009cdae
cmp word [rbp - 0x38], r14w
jne 0x14009cdae
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14009cd74
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14009cd74
jmp 0x14009cdb1
mov eax, r14d
test eax, eax
jne 0x14009cdcc
mov byte [rsp + 0x30], 1
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov dword [rsp + 0x34], r14d
jmp 0x14009cdfc
cmp eax, 0x12
jne 0x14009cde8
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov dword [rsp + 0x34], r14d
jmp 0x14009cdf7
mov eax, 2
xor ecx, ecx
mov word [rsp + 0x31], cx
mov byte [rsp + 0x33], cl
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x30], r14b
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e8], rax
test al, al
je 0x14009ced9
mov ecx, 0x58
call fcn.140031048
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x40], rbx
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], r15
mov qword [rbx + 0x40], rax
lea rdx, [rsp + 0x70]
call fcn.140052ca0
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.14009f290
nop
mov qword [rsi], rbx
mov rbx, qword [rsi + 8]
mov qword [rsi + 8], rdi
test rbx, rbx
je 0x14009ced9
mov eax, r15d
lock xadd dword [rbx + 8], eax
add eax, r15d
jne 0x14009ced9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call fcn.1400fece0
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x14009ced9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call fcn.1400fece0
mov ebx, dword [rbp + 0x1ec]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x14009cef2
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x14009cf24
lea rcx, [rsp + 0x70]
call fcn.140045650
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140030c40
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14001bc48
nop
call fcn.14001bc48
nop