Function at 0x1400a2c3c
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 [0x140173950]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
call fcn.140052628
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 0x1400a2c94
test rax, rax
je 0x1400a2de3
cmp rax, qword [rbp - 0x80]
jne 0x1400a2de3
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 1
lea rdx, [0x14012cc40]
lea rcx, [rsp + 0x48]
call fcn.1400449b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400a3908
nop
lea rcx, [rsp + 0x48]
call fcn.140045590
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x1400a2d1c
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1400a2f35
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 0x1400a2d54
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a2dbd
mov rbx, qword [rbp - 0x70]
cmp word [rbp - 0x3c], 0x2e
jne 0x1400a2d8e
movzx eax, word [rbp - 0x3a]
test ax, ax
je 0x1400a2d71
cmp ax, 0x2e
jne 0x1400a2d8e
cmp word [rbp - 0x38], r14w
jne 0x1400a2d8e
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a2d54
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400a2d54
jmp 0x1400a2d91
mov eax, r14d
test eax, eax
jne 0x1400a2dbd
mov byte [rsp + 0x30], 1
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov cl, 1
mov word [rbp + 0x1e9], ax
mov byte [rbp + 0x1eb], al
mov dword [rbp + 0x1ec], r14d
jmp 0x1400a2e0d
cmp eax, 0x12
jne 0x1400a2de8
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov word [rbp + 0x1e9], ax
mov byte [rbp + 0x1eb], al
mov dword [rbp + 0x1ec], r14d
jmp 0x1400a2e06
mov eax, 2
xor edx, edx
mov word [rsp + 0x31], dx
mov byte [rsp + 0x33], dl
mov word [rbp + 0x1e9], dx
mov byte [rbp + 0x1eb], dl
mov dword [rbp + 0x1ec], eax
mov cl, r14b
mov byte [rsp + 0x30], cl
mov byte [rbp + 0x1e8], cl
test cl, cl
je 0x1400a2ee4
mov ecx, 0x58
call fcn.140030f88
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.140052ef4
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.1400a5300
nop
mov qword [rsi], rbx
mov rbx, qword [rsi + 8]
mov qword [rsi + 8], rdi
test rbx, rbx
je 0x1400a2ee4
mov eax, r15d
lock xadd dword [rbx + 8], eax
add eax, r15d
jne 0x1400a2ee4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call fcn.140107c30
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x1400a2ee4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call fcn.140107c30
mov ebx, dword [rbp + 0x1ec]
mov rcx, qword [rbp - 0x70]
cmp rcx, r15
je 0x1400a2efd
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1400a2f2f
lea rcx, [rsp + 0x70]
call fcn.140045590
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140030b80
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14001bb88
nop
call fcn.14001bb88
nop
int3