Function at 0x1400246b0
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, 0x108
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movaps xmm6, xmmword [0x1401213c0]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea r15, [rsp + 0x60]
mov rcx, r15
mov r9d, 0x8b
call fcn.1400754d0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140098080
lea r14, [rdi + 4]
lea rax, [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov qword [rsp + 0x38], rax
lea r12, [rdi + 0x260]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x30], rax
lea rax, [rdi + 0x30]
mov qword [rsp + 0x48], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
xorps xmm7, xmm7
mov qword [rsp + 0x40], rsi
jmp 0x1400248f8
movzx ecx, al
lea r8, [rsp + 0x60]
mov qword [r8], 0
lea rdx, [rsp + 0xc8]
mov r9d, 2
call fcn.1400754f0
jmp 0x1400247ef
test eax, eax
jne 0x140024cae
cmp byte [rsp + 0x77], 0
jns 0x1400247d9
mov rcx, qword [rsp + 0x60]
call fcn.1400b4d44
jmp 0x1400247d9
mov ecx, eax
call fcn.14001a4b0
mov dword [rdi + 0x2a0], eax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsp + 0xc8], 0xa
mov al, byte [0x14015765a]
test al, al
jne 0x14002477f
lea rcx, [rsp + 0x80]
call fcn.140097660
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400b7310
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x140024868
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x14002486e
cmp byte [rdi + 0x297], 0
js 0x140024833
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x1400248f8
cmp dword [rdi + 0x29c], 0
je 0x1400248f8
jmp 0x1400247be
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.1400242a0
test dword [rdi + 0x27c], ebp
je 0x1400248d9
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x1400247a3
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x30]
js 0x140024c40
cmp byte [rsp + 0x77], 0
mov rcx, r15
jns 0x1400248ca
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x1400247ab
cmp byte [rsi + 0x17], 0
jns 0x1400248e7
mov rcx, qword [rsi]
call fcn.1400b4d44
cmp byte [rsp + 0x77], 0
jns 0x1400248f8
mov rcx, qword [rsp + 0x60]
call fcn.1400b4d44
cmp byte [rdi], 0
je 0x140024a16
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002492d
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140024847
mov qword [rsp + 0x70], r13
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
call fcn.1400b5304
mov qword [rsp + 0x58], rax
mov rcx, r15
lea rdx, [rsp + 0x50]
call fcn.1400a9970
mov rcx, rdi
mov rdx, r15
call fcn.140064700
test al, al
jne 0x1400248e7
mov bl, byte [r14]
mov qword [rsi + 0x10], r13
movups xmmword [rsi], xmm6
movzx eax, byte [rsp + 0x77]
test al, al
cmovs rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmovns rcx, r15
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
mov rcx, r12
mov rdx, rsi
lea r8, [rsp + 0xc8]
call fcn.14002a9b0
mov ebp, 1
test bl, 0x10
je 0x140024892
mov ebp, 2
cmp byte [rdi + 0x278], 0
je 0x140024892
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400249ee
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x140024892
jmp 0x140024885
mov rax, qword [rdx + 0x10]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [r12], xmm0
jmp 0x140024a82
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x1400247cb
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x140024c21
lea rdx, [rax + rax*2]
shl rdx, 3
mov rax, qword [rsp + 0x38]
add rdx, qword [rax]
cmp r12, rdx
je 0x140024a82
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x140024c08
test r8b, r8b
jns 0x140024a03
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, r12
mov rdx, rax
call fcn.14000f2e0
mov rax, qword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x2c0]
test rcx, rcx
je 0x140024c2d
lea rdx, [rcx - 1]
mov qword [rdi + 0x2c0], rdx
cmp rax, rcx
jb 0x140024c2a
cmp rax, rdx
jb 0x140024c24
movabs r8, 0x8000000000000000
cmp rcx, r8
je 0x140024c27
cmp rdx, rcx
je 0x140024b19
mov rsi, r14
mov r14, r15
mov rax, qword [rsp + 0x38]
mov rbp, qword [rax]
shl rdx, 3
lea r15, [rdx + rdx*2]
shl rcx, 3
lea rbx, [rcx + rcx*2]
cmp byte [rbp + r15 + 0x17], 0
jns 0x140024afe
mov rcx, qword [rbp + r15]
call fcn.1400b4d44
add r15, 0x18
cmp rbx, r15
jne 0x140024aec
mov rax, qword [rdi + 0x2b0]
mov r15, r14
mov r14, rsi
mov rsi, qword [rsp + 0x40]
cmp rax, 5
jae 0x140024c4d
mov qword [rsp + 0x70], r13
movaps xmmword [rsp + 0x60], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140024b70
test eax, eax
jne 0x140024bf3
movzx eax, byte [rdi + 0x297]
mov rcx, qword [rsp + 0x30]
test al, al
jns 0x140024b5e
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x280]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
jmp 0x140024b8b
lea rax, [0x140135d5a]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
mov rcx, r12
mov rdx, r15
lea r8, [rsp + 0xc8]
call fcn.14002a9b0
cmp byte [rsp + 0x77], 0
mov rcx, r15
jns 0x140024bad
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
cmp byte [rsp + 0x77], 0
jns 0x14002492d
mov rcx, qword [rsp + 0x60]
call fcn.1400b4d44
jmp 0x14002492d
call fcn.1400ec9a0
movaps xmmword [rsp + 0x60], xmm7
mov qword [rsp + 0x70], 0
jmp 0x140024b9e
test r8b, r8b
jns 0x140024c14
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, r12
call fcn.14000f3a0
jmp 0x140024a82
int3
int3
int3
int3
lea rdx, [rax - 1]
mov qword [rdi + 0x2c0], rdx
mov rcx, rax
jmp 0x140024aad
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax]
jmp 0x1400248bb
mov rdx, qword [rdi + 0x2b8]
mov r8, qword [rdi + 0x2c0]
cmp rdx, r8
mov ecx, 0
cmova rcx, rax
sub rcx, rdx
add rcx, r8
dec rax
mov rdx, rax
sub rdx, rcx
cmp rdx, rcx
jb 0x140024b23
mov rdx, rcx
shr rdx, 2
add rdx, rcx
cmp rdx, 4
mov ecx, 3
cmovb rdx, rcx
cmp rdx, rax
jae 0x140024b23
mov rcx, qword [rsp + 0x38]
call fcn.1401091f0
jmp 0x140024b23
call fcn.1400ec9a0
jmp 0x1400248d9