Function at 0x14000be50
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov rax, qword [0x140131038]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x50], r14
movaps xmm6, xmmword [0x1401146a0]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea r15, [rsp + 0x70]
mov rcx, r15
mov r9d, 0x83
call fcn.1400498a0
mov rcx, rsi
mov rdx, r15
xor r8d, r8d
call fcn.140048980
lea r13, [rdi + 4]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x38], rax
lea rsi, [rdi + 0x260]
lea rbp, [rdi + 0x280]
lea r12, [rdi + 0x30]
xorps xmm7, xmm7
cmp byte [rdi], 0
je 0x14000bf4b
mov rcx, qword [rdi + 0x258]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c0ce
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14000c0ce
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14000c2a0
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14000c320
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, rsi
call fcn.140060af0
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x14000bfb3
lea rax, [rcx - 1]
mov qword [rdi + 0x2c0], rax
mov rdx, rcx
jmp 0x14000bfc7
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
cmp rcx, rdx
jb 0x14000c323
cmp rcx, rax
jb 0x14000c326
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x14000c329
mov rbx, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsi]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.14004e350
mov rcx, rsi
call fcn.1400e5120
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x70], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14000c04d
test eax, eax
mov rsi, rbx
jne 0x14000c077
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, rbp
mov qword [rsp + 0x40], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x48], rax
mov rcx, rsi
jmp 0x14000c068
lea rax, [0x140117dba]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov rsi, rbx
mov rcx, rbx
mov rdx, r15
lea r8, [rsp + 0x40]
call fcn.140009c60
jmp 0x14000c088
movaps xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x80], 0
cmp byte [rsp + 0x87], 0
mov rcx, r15
jns 0x14000c09a
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r13
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r15
call fcn.14004e350
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14000c0ff
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x60], r12
test r12, r12
je 0x14000c125
mov rcx, r12
call fcn.140077408
jmp 0x14000c127
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x14000c1ee
cmp byte [rbp + 0x17], 0
js 0x14000c1d6
mov byte [rbp + 0x17], 1
mov rcx, rbp
jmp 0x14000c1e8
xor eax, eax
mov qword [rsp + 0x68], rax
mov rcx, r15
lea rdx, [rsp + 0x60]
call fcn.14005d160
mov rcx, rdi
mov rdx, r15
call fcn.14005e760
test al, al
je 0x14000c155
mov rcx, r15
call fcn.14004e350
jmp 0x14000bf11
mov rax, r14
mov r14d, dword [rdi + 4]
mov rbx, rax
mov qword [rsp + 0x50], rax
movaps xmmword [rsp + 0x40], xmm6
mov rcx, rsi
lea rdx, [rsp + 0x40]
mov r8, r15
call fcn.140049e80
test r14b, 0x10
je 0x14000c1a5
cmp byte [rdi + 0x278], 0
je 0x14000c1a5
cmp byte [rsp + 0x57], 0
lea rcx, [rsp + 0x40]
jns 0x14000c199
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jae 0x14000c21d
and r14d, 0x10
shr r14d, 4
mov rcx, rdi
mov edx, r14d
call fcn.140102330
test al, al
jne 0x14000c209
lea rcx, [rsp + 0x40]
call fcn.14004e350
mov rcx, r15
call fcn.14004e350
mov r14, rbx
jmp 0x14000bf11
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x14000bf11
cmp dword [rdi + 0x29c], 0
je 0x14000bf11
jmp 0x14000c293
mov rcx, rdi
mov rdx, r15
call fcn.1400b4330
test al, al
je 0x14000c1bc
jmp 0x14000c2f7
mov rcx, qword [rsp + 0x38]
call fcn.1400bf560
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x14000c32c
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x40]
call fcn.14004a380
mov rax, qword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rax - 1]
lea r8, [rcx + 1]
cmp rcx, rdx
mov ecx, 0
cmovne rcx, r8
mov qword [rdi + 0x2c0], rcx
test rcx, rcx
cmove rcx, rax
dec rcx
cmp rax, rcx
jae 0x14000c1a5
int3
mov ecx, eax
call fcn.1400aba30
mov dword [rdi + 0x2a0], eax
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
lea rcx, [rsp + 0x90]
call fcn.140043a50
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140079ea0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.14004a380
mov rcx, rsi
call fcn.14004e350
lea rcx, [rsp + 0x70]
call fcn.14004e350
jmp 0x14000c2b3
int3
int3
int3
int3
int3