Function at 0x1400293b0
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, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x118], rax
movaps xmm6, xmmword [0x140270080]
lea r14, [rsp + 0xb0]
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 rbx, [rsp + 0x90]
mov rcx, rbx
mov r9d, Ordinal_142
call fcn.14012d160
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.14011b270
mov qword [rsp + 0xf8], 0xa
mov al, byte [0x1402c68da]
test al, al
jne 0x140029afa
lea rbp, [rdi + 0x260]
lea r8, [rdi + 4]
lea rax, [rdi + 0x30]
mov qword [rsp + 0x78], rax
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x60], rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x80]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x58], rax
lea rax, [rdi + 0x2b8]
mov qword [rsp + 0x50], rax
lea rax, [rdi + 0x2c0]
mov qword [rsp + 0x30], rax
cmp byte [rdi], 0
je 0x14002974f
mov rcx, qword [rdi + 0x258]
mov r14, r8
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140029676
call r13
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x1400296ce
mov qword [rsp + 0xa0], rsi
movaps xmmword [rsp + 0x90], xmm6
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x80], rcx
call fcn.14018ff68
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov rdx, r12
call fcn.140177b70
mov rcx, rdi
mov rdx, rbx
call fcn.140029bc0
test al, al
mov r8, r14
jne 0x1400296a8
mov r14, r13
mov r13d, dword [r8]
movsx rcx, byte [rsp + 0xa7]
test rcx, rcx
cmovs rcx, qword [rsp + 0x98]
mov qword [r15 + 0x10], rsi
mov rax, qword [rsp + 0x90]
cmovns rax, rbx
movups xmmword [r15], xmm6
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rcx
test rcx, rcx
js 0x140029ad2
mov qword [rsp + 0x38], r8
sete cl
test rax, rax
setne al
or al, cl
je 0x140029aad
mov qword [rsp + 0x40], rbp
mov rcx, rbp
mov rdx, r15
lea r8, [rsp + 0x108]
call fcn.140156450
mov ebx, 1
test r13b, 0x10
mov r13, r14
jne 0x140029939
test dword [rdi + 0x27c], ebx
mov rbp, qword [rsp + 0x40]
lea rbx, [rsp + 0x90]
mov r8, qword [rsp + 0x38]
je 0x140029693
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14002966d
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x60]
js 0x140029ae5
mov r14, r8
cmp byte [rsp + 0xa7], 0
mov rcx, rbx
jns 0x14002960c
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov r8, r14
jne 0x140029693
cmp byte [rsp + 0xa7], 0
jns 0x140029631
mov rcx, qword [rsp + 0x90]
call fcn.14018fb90
lea rcx, [rsp + 0xb0]
call fcn.140159a80
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140192360
mov rax, r15
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test eax, eax
je 0x14002961a
jmp 0x140029b2c
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x1400294d1
cmp byte [r15 + 0x17], 0
jns 0x1400296a8
mov rcx, qword [r15]
mov r14, r8
call fcn.14018fb90
mov r8, r14
cmp byte [rsp + 0xa7], 0
jns 0x1400294ad
mov rcx, qword [rsp + 0x90]
mov r14, r8
call fcn.14018fb90
mov r8, r14
jmp 0x1400294ad
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
mov r8, r14
jne 0x1400296f8
cmp byte [rdi + 0x297], 0
js 0x140029713
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x60]
mov dword [rcx], Ordinal_46
cmp eax, 0x12
je 0x1400294ad
cmp dword [rdi + 0x29c], 0
je 0x1400294ad
jmp 0x140029ac0
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x1400296f2
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
jmp 0x140029631
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rbp
mov rdx, rax
call fcn.14000ae50
jmp 0x1400297b8
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x140029727
mov rcx, qword [rdi + 0x2b0]
test rax, rax
je 0x140029af2
dec rax
cmp rcx, rax
jb 0x140029aa1
mov r14, r8
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
cmp rbp, rdx
je 0x1400297b8
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x140029a88
test r8b, r8b
js 0x14002973b
mov rax, qword [rdx + 0x10]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rbp], xmm0
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
je 0x140029b3c
lea rcx, [rdx - 1]
mov r8, qword [rsp + 0x30]
mov qword [r8], rcx
cmp rax, rdx
jb 0x140029aa4
cmp rax, rcx
jb 0x140029aa7
movabs r8, 0x8000000000000000
cmp rdx, r8
je 0x140029aaa
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
lea rcx, [rcx + rcx*2]
cmp byte [rdx + rcx*8 + 0x17], 0
jns 0x140029826
lea rax, [rdx + rcx*8]
mov rcx, qword [rax]
call fcn.14018fb90
mov rax, qword [rdi + 0x2b0]
cmp rax, 5
jae 0x14002997a
mov qword [rsp + 0xa0], rsi
movaps xmmword [rsp + 0x90], xmm6
mov eax, dword [rdi + 0x298]
test eax, eax
jne 0x140029910
movsx rax, byte [rdi + 0x297]
test rax, rax
js 0x140029864
lea rcx, [rdi + 0x280]
jmp 0x140029872
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x280]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rax
test rax, rax
js 0x140029ad2
sete al
test rcx, rcx
setne cl
or cl, al
je 0x140029aad
mov rcx, rbp
mov rdx, rbx
lea r8, [rsp + 0x108]
call fcn.140156450
cmp byte [rsp + 0xa7], 0
mov rcx, rbx
mov r8, r14
jns 0x1400298c7
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
cmp byte [rsp + 0xa7], 0
jns 0x1400294d1
mov rcx, qword [rsp + 0x90]
call fcn.14018fb90
jmp 0x1400294d1
cmp eax, 1
jne 0x140029b50
lea rax, [0x140282c36]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 1
jmp 0x14002989c
mov ebx, 2
cmp byte [rdi + 0x278], 1
jne 0x1400295b5
mov rcx, r15
cmp byte [r15 + 0x17], 0
jns 0x140029958
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x1400295b5
mov rcx, qword [rsp + 0x58]
mov rdx, r15
call fcn.14002f050
jmp 0x1400295b5
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rcx]
cmp r9, r8
mov ecx, 0
cmova rcx, rax
sub rcx, r9
add rcx, r8
dec rax
mov rdx, rax
sub rdx, rcx
cmp rdx, rcx
jb 0x140029830
mov rdx, rcx
shr rdx, 2
add rdx, rcx
cmp rdx, 4
mov r10d, 3
cmovae r10, rdx
cmp r10, rax
jae 0x140029830
inc r10
mov ecx, Ordinal_26
mov rax, r10
mul rcx
mov qword [rsp + 0x48], rax
jo 0x140029b9a
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x70], r9
lea rcx, fcn.14011fd50
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
call fcn.14011fd50
test rax, rax
mov qword [rsp + 0x68], rax
je 0x140029b71
lea r9, [rsp + 0x90]
mov qword [r9], rax
mov rcx, qword [rsp + 0x40]
mov qword [r9 + 8], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x38]
call fcn.14002f240
mov rdx, qword [rdi + 0x2a8]
lea rcx, fcn.14011fd50
xor r8d, r8d
call fcn.14011de30
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x2b0], rax
jmp 0x140029830
test r8b, r8b
jns 0x140029a94
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rbp
call fcn.14000af50
jmp 0x1400297b8
int3
int3
int3
int3
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401cf0c0
mov ecx, eax
call fcn.140012320
mov dword [rdi + 0x2a0], eax
jmp 0x140029727
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401cf0c0
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
jmp 0x1400295f4
mov rax, rcx
jmp 0x14002976f
movzx ecx, al
lea r9, [rsp + 0x108]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x100]
mov qword [r8], rax
lea rdx, [rsp + 0xf8]
call fcn.1401f63e0
jmp 0x140029450
mov r14, r8
call fcn.1401d1710
mov r8, r14
jmp 0x140029693
lea rcx, [rax - 1]
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rcx
mov rdx, rax
jmp 0x1400297e4
call fcn.1401d1710
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
jmp 0x1400298af
cmp byte [0x1402c6c98], 1
jne 0x140029a19
mov rcx, qword [rsp + 0x48]
call fcn.140208090
test al, al
mov rax, qword [rsp + 0x68]
jne 0x1400299f7
jmp 0x140029a19
int3