Function at 0x140008210
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 [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x50], r14
movaps xmm6, xmmword [0x1402ae190]
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.1400c0870
mov rcx, rsi
mov rdx, r15
xor r8d, r8d
call fcn.1400c3400
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 0x14000830b
mov rcx, qword [rdi + 0x258]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000848e
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14000848e
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x140008660
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x1400086e0
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, rsi
call fcn.1400f0080
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x140008373
lea rax, [rcx - 1]
mov qword [rdi + 0x2c0], rax
mov rdx, rcx
jmp 0x140008387
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
cmp rcx, rdx
jb 0x1400086e3
cmp rcx, rax
jb 0x1400086e6
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x1400086e9
mov rbx, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsi]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.1400e1350
mov rcx, rsi
call fcn.1401d1370
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x70], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14000840d
test eax, eax
mov rsi, rbx
jne 0x140008437
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 0x140008428
lea rax, [0x1402bd620]
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.14000cf90
jmp 0x140008448
movaps xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x80], 0
cmp byte [rsp + 0x87], 0
mov rcx, r15
jns 0x14000845a
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.1400e1350
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x1400084bf
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x60], r12
test r12, r12
je 0x1400084e5
mov rcx, r12
call fcn.1401124ec
jmp 0x1400084e7
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x1400085ae
cmp byte [rbp + 0x17], 0
js 0x140008596
mov byte [rbp + 0x17], 1
mov rcx, rbp
jmp 0x1400085a8
xor eax, eax
mov qword [rsp + 0x68], rax
mov rcx, r15
lea rdx, [rsp + 0x60]
call fcn.1400e4ea0
mov rcx, rdi
mov rdx, r15
call fcn.1400e6b80
test al, al
je 0x140008515
mov rcx, r15
call fcn.1400e1350
jmp 0x1400082d1
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.1400c8320
test r14b, 0x10
je 0x140008565
cmp byte [rdi + 0x278], 0
je 0x140008565
cmp byte [rsp + 0x57], 0
lea rcx, [rsp + 0x40]
jns 0x140008559
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jae 0x1400085dd
and r14d, 0x10
shr r14d, 4
mov rcx, rdi
mov edx, r14d
call fcn.140291e70
test al, al
jne 0x1400085c9
lea rcx, [rsp + 0x40]
call fcn.1400e1350
mov rcx, r15
call fcn.1400e1350
mov r14, rbx
jmp 0x1400082d1
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x1400082d1
cmp dword [rdi + 0x29c], 0
je 0x1400082d1
jmp 0x140008653
mov rcx, rdi
mov rdx, r15
call fcn.14015a5b0
test al, al
je 0x14000857c
jmp 0x1400086b7
mov rcx, qword [rsp + 0x38]
call fcn.1401586c0
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x1400086ec
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x40]
call fcn.1400c8820
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 0x140008565
int3
mov ecx, eax
call fcn.140163000
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.1400c20a0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140115e50
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.1400c8820
mov rcx, rsi
call fcn.1400e1350
lea rcx, [rsp + 0x70]
call fcn.1400e1350
jmp 0x140008673
int3
int3
int3
int3
int3