Function at 0x1400249f0
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], xmm6
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0xa0]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x14026cc70]
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 rsi, [rsp + 0x70]
mov rcx, rsi
mov r9d, 0x8b
call fcn.1400ed1b0
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
call fcn.140116070
lea r13, [rdi + 4]
lea rax, [rdi + 0x260]
mov qword [rsp + 0x38], rax
lea rsi, [rdi + 0x280]
lea rax, [rdi + 0x30]
mov qword [rsp + 0x58], rax
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x48], rax
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r12, [rsp + 0x60]
mov r14, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov qword [rsp + 0x40], rdi
cmp byte [rdi], 0
je 0x140024d97
mov rcx, qword [rdi + 0x258]
mov rdx, r13
call r14
test eax, eax
je 0x140024cd2
call r15
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140024cfc
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x70], xmm6
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x140025085
mov rbp, r15
mov r15, rsi
mov rcx, rdi
call fcn.140183fc8
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov rdx, r12
call fcn.14010a8d0
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.140025120
test al, al
jne 0x140024cae
mov r14, r13
mov r13d, dword [r13]
movzx ecx, byte [rsp + 0x87]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x78]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
cmovns rcx, rsi
movups xmmword [rbx], xmm6
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
test rax, rax
js 0x1400250b1
mov rbp, rsi
test rcx, rcx
mov rdi, qword [rsp + 0x40]
jne 0x140024bbf
test rax, rax
jne 0x140025059
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
lea r8, [rsp + 0x90]
call fcn.140122400
mov esi, 1
test r13b, 0x10
jne 0x140024d57
test dword [rdi + 0x27c], esi
mov rsi, r15
mov rcx, rbp
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r12, [rsp + 0x60]
mov rbp, qword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x140024c91
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x140024cef
cmp byte [rdi + 0x297], 0
mov rdx, rsi
js 0x140025051
cmp byte [rsp + 0x87], 0
jns 0x140024c36
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
jne 0x140024c91
cmp byte [rsp + 0x87], 0
jns 0x140024c55
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
lea rcx, [rsp + 0xa0]
call fcn.140115ba0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140186020
mov rax, rbx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r13, r14
mov rax, rbx
mov r14, rbp
mov rbp, r15
mov r15, rsi
cmp byte [rbx + 0x17], 0
jns 0x140024cae
mov rcx, qword [rbx]
call fcn.1401833ec
cmp byte [rsp + 0x87], 0
jns 0x140024cc2
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
mov rsi, r15
mov r15, rbp
mov rdi, qword [rsp + 0x40]
jmp 0x140024ac6
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140024ae4
test eax, eax
je 0x140024c41
jmp 0x1400250dd
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x140024d21
cmp byte [rdi + 0x297], 0
js 0x140024d6e
mov byte [rdi + 0x297], 1
mov rcx, rsi
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140024ac6
cmp dword [rdi + 0x29c], 0
je 0x140024ac6
mov ecx, eax
call fcn.14000e120
mov dword [rdi + 0x2a0], eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
jmp 0x140024c55
mov esi, 2
cmp byte [rdi + 0x278], 0
je 0x140024be3
jmp 0x1400250e7
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x140024d1b
mov rax, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x140024e04
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x140024d44
mov rcx, qword [rdi + 0x2b0]
test rax, rax
je 0x140024fa9
dec rax
cmp rcx, rax
jb 0x140025048
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
cmp qword [rsp + 0x38], rdx
je 0x140024e04
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x140024f88
test r8b, r8b
jns 0x140024d82
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
call fcn.1400201c0
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
je 0x140024fb1
lea rcx, [rdx - 1]
mov qword [rdi + 0x2c0], rcx
cmp rax, rdx
jb 0x140025045
cmp rax, rcx
jb 0x14002504b
movabs r8, 0x8000000000000000
cmp rdx, r8
je 0x14002504e
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx]
lea rcx, [rcx + rcx*2]
cmp byte [rdx + rcx*8 + 0x17], 0
jns 0x140024e71
lea rax, [rdx + rcx*8]
mov rcx, qword [rax]
call fcn.1401833ec
mov rax, qword [rdi + 0x2b0]
cmp rax, 5
jae 0x140024fe7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x70], xmm6
mov eax, dword [rdi + 0x298]
test eax, eax
mov qword [rsp + 0x50], rsi
jne 0x140024eea
movzx eax, byte [rdi + 0x297]
test al, al
js 0x140024eb4
and eax, 0x7f
mov rcx, rsi
jmp 0x140024ec2
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x280]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
test rax, rax
js 0x1400250b1
test rcx, rcx
jne 0x140024f0e
test rax, rax
je 0x140024f0e
jmp 0x140025059
cmp eax, 1
jne 0x140024fc4
lea rax, [0x14027b492]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov rcx, qword [rsp + 0x38]
lea rsi, [rsp + 0x70]
mov rdx, rsi
lea r8, [rsp + 0x90]
call fcn.140122400
cmp byte [rsp + 0x87], 0
jns 0x140024f37
mov rsi, qword [rsp + 0x70]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov rcx, rsi
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
cmp byte [rsp + 0x87], 0
mov rsi, qword [rsp + 0x50]
jns 0x140024ae4
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
jmp 0x140024ae4
test r8b, r8b
js 0x140024f93
and r8d, 0x7f
jmp 0x140024f9a
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x38]
call fcn.1400207a0
jmp 0x140024e04
mov rax, rcx
jmp 0x140024db7
lea rcx, [rax - 1]
mov qword [rdi + 0x2c0], rcx
mov rdx, rax
jmp 0x140024e2f
call fcn.1401c56f0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
lea rsi, [rsp + 0x70]
jmp 0x140024f28
mov rdx, qword [rdi + 0x2b8]
mov r8, qword [rdi + 0x2c0]
xor ecx, ecx
cmp rdx, r8
cmova rcx, rax
sub rcx, rdx
add rcx, r8
dec rax
mov rdx, rax
sub rdx, rcx
cmp rdx, rcx
jb 0x140024e7b
mov r8, rcx
shr r8, 2
add r8, rcx
cmp r8, 4
mov edx, 3
cmovae rdx, r8
cmp rdx, rax
jae 0x140024e7b
mov rcx, qword [rsp + 0x48]
call fcn.1402002d0
jmp 0x140024e7b
int3
int3
int3
int3
mov rdx, qword [rsi]
jmp 0x140024c27
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401c1450
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1401c1450
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401c1450
call fcn.1401c56f0
jmp 0x140024c91
mov rcx, rbx
cmp byte [rbx + 0x17], 0
jns 0x1400250f3
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14002510c
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.140024740
mov rdi, qword [rsp + 0x40]
jmp 0x140024be3