Function at 0x14005010c
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 [0x1400d7c88]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
call fcn.140019a14
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 0x140050164
test rax, rax
je 0x140050293
cmp rax, qword [rbp - 0x80]
jne 0x140050293
lea rax, [0x1400a7e18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140050bdc
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14004cf50
nop
lea rcx, [rsp + 0x50]
call fcn.14001d774
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x1400501f5
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1400501f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
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 0x14005022d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140050285
mov rbx, qword [rbp - 0x70]
cmp word [rbp - 0x3c], 0x2e
jne 0x140050267
movzx eax, word [rbp - 0x3a]
test ax, ax
je 0x14005024a
cmp ax, 0x2e
jne 0x140050267
cmp word [rbp - 0x38], r14w
jne 0x140050267
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14005022d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14005022d
jmp 0x14005026a
mov eax, r14d
test eax, eax
jne 0x140050285
mov byte [rsp + 0x30], 1
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov dword [rsp + 0x34], r14d
jmp 0x1400502a2
cmp eax, 0x12
jne 0x140050298
xor eax, eax
mov qword [rsp + 0x30], rax
jmp 0x1400502a2
mov eax, 2
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e8], rax
test al, al
je 0x14005036d
mov ecx, 0x58
call fcn.140084040
mov rdi, rax
mov qword [rsp + 0x30], 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 + 0x28], r14
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], r15
mov qword [rbx + 0x40], rax
lea rdx, [rsp + 0x70]
call fcn.140019984
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.14004d938
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov qword [rsi], rbx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x48], rax
mov qword [rsi + 8], rdi
lea rcx, [rsp + 0x40]
call fcn.14004e988
lea rcx, [rsp + 0x30]
call fcn.14004e988
mov ebx, dword [rbp + 0x1ec]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x14005038d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x14005038d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rcx, [rsp + 0x70]
call fcn.14001d774
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140083d20
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret