Function at 0x14002e6b0
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 [0x140231028]
xor rax, rsp
mov qword [rsp + 0x118], rax
movaps xmm6, xmmword [0x1401fd0c0]
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, 0x8b
call fcn.1400c8fe0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400b4360
mov qword [rsp + 0xf8], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x14002edfa
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 0x14002ea4f
mov rcx, qword [rdi + 0x258]
mov r14, r8
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002e976
call r13
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14002e9ce
mov qword [rsp + 0xa0], rsi
movaps xmmword [rsp + 0x90], xmm6
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x80], rcx
call fcn.140129e00
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov rdx, r12
call fcn.140111fe0
mov rcx, rdi
mov rdx, rbx
call fcn.14002eec0
test al, al
mov r8, r14
jne 0x14002e9a8
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 0x14002edd2
mov qword [rsp + 0x38], r8
sete cl
test rax, rax
setne al
or al, cl
je 0x14002edad
mov qword [rsp + 0x40], rbp
mov rcx, rbp
mov rdx, r15
lea r8, [rsp + 0x108]
call fcn.1400f16c0
mov ebx, 1
test r13b, 0x10
mov r13, r14
jne 0x14002ec39
test dword [rdi + 0x27c], ebx
mov rbp, qword [rsp + 0x40]
lea rbx, [rsp + 0x90]
mov r8, qword [rsp + 0x38]
je 0x14002e993
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14002e96d
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x60]
js 0x14002ede5
mov r14, r8
cmp byte [rsp + 0xa7], 0
mov rcx, rbx
jns 0x14002e90c
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov r8, r14
jne 0x14002e993
cmp byte [rsp + 0xa7], 0
jns 0x14002e931
mov rcx, qword [rsp + 0x90]
call fcn.1401298a0
lea rcx, [rsp + 0xb0]
call fcn.1400f4cf0
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14012c2d0
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 0x14002e91a
jmp 0x14002ee2c
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14002e7d1
cmp byte [r15 + 0x17], 0
jns 0x14002e9a8
mov rcx, qword [r15]
mov r14, r8
call fcn.1401298a0
mov r8, r14
cmp byte [rsp + 0xa7], 0
jns 0x14002e7ad
mov rcx, qword [rsp + 0x90]
mov r14, r8
call fcn.1401298a0
mov r8, r14
jmp 0x14002e7ad
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
mov r8, r14
jne 0x14002e9f8
cmp byte [rdi + 0x297], 0
js 0x14002ea13
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x60]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x14002e7ad
cmp dword [rdi + 0x29c], 0
je 0x14002e7ad
jmp 0x14002edc0
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x14002e9f2
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
jmp 0x14002e931
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rbp
mov rdx, rax
call fcn.140013420
jmp 0x14002eab8
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14002ea27
mov rcx, qword [rdi + 0x2b0]
test rax, rax
je 0x14002edf2
dec rax
cmp rcx, rax
jb 0x14002eda1
mov r14, r8
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
cmp rbp, rdx
je 0x14002eab8
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x14002ed88
test r8b, r8b
js 0x14002ea3b
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 0x14002ee3c
lea rcx, [rdx - 1]
mov r8, qword [rsp + 0x30]
mov qword [r8], rcx
cmp rax, rdx
jb 0x14002eda4
cmp rax, rcx
jb 0x14002eda7
movabs r8, 0x8000000000000000
cmp rdx, r8
je 0x14002edaa
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
lea rcx, [rcx + rcx*2]
cmp byte [rdx + rcx*8 + 0x17], 0
jns 0x14002eb26
lea rax, [rdx + rcx*8]
mov rcx, qword [rax]
call fcn.1401298a0
mov rax, qword [rdi + 0x2b0]
cmp rax, 5
jae 0x14002ec7a
mov qword [rsp + 0xa0], rsi
movaps xmmword [rsp + 0x90], xmm6
mov eax, dword [rdi + 0x298]
test eax, eax
jne 0x14002ec10
movsx rax, byte [rdi + 0x297]
test rax, rax
js 0x14002eb64
lea rcx, [rdi + 0x280]
jmp 0x14002eb72
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x280]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rax
test rax, rax
js 0x14002edd2
sete al
test rcx, rcx
setne cl
or cl, al
je 0x14002edad
mov rcx, rbp
mov rdx, rbx
lea r8, [rsp + 0x108]
call fcn.1400f16c0
cmp byte [rsp + 0xa7], 0
mov rcx, rbx
mov r8, r14
jns 0x14002ebc7
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 0x14002e7d1
mov rcx, qword [rsp + 0x90]
call fcn.1401298a0
jmp 0x14002e7d1
cmp eax, 1
jne 0x14002ee50
lea rax, [0x14020eefe]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 1
jmp 0x14002eb9c
mov ebx, 2
cmp byte [rdi + 0x278], 1
jne 0x14002e8b5
mov rcx, r15
cmp byte [r15 + 0x17], 0
jns 0x14002ec58
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14002e8b5
mov rcx, qword [rsp + 0x58]
mov rdx, r15
call fcn.1400334b0
jmp 0x14002e8b5
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 0x14002eb30
mov rdx, rcx
shr rdx, 2
add rdx, rcx
cmp rdx, 4
mov r10d, 3
cmovae r10, rdx
cmp r10, rax
jae 0x14002eb30
inc r10
mov ecx, 0x18
mov rax, r10
mul rcx
mov qword [rsp + 0x48], rax
jo 0x14002ee9a
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x70], r9
lea rcx, fcn.1400bbbd0
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
call fcn.1400bbbd0
test rax, rax
mov qword [rsp + 0x68], rax
je 0x14002ee71
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.1400336a0
mov rdx, qword [rdi + 0x2a8]
lea rcx, fcn.1400bbbd0
xor r8d, r8d
call fcn.1400b7130
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x2b0], rax
jmp 0x14002eb30
test r8b, r8b
jns 0x14002ed94
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rbp
call fcn.140013520
jmp 0x14002eab8
int3
int3
int3
int3
lea rcx, [0x14020233c]
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.140163630
mov ecx, eax
call fcn.140018a20
mov dword [rdi + 0x2a0], eax
jmp 0x14002ea27
lea rcx, [0x14020233c]
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.140163630
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
jmp 0x14002e8f4
mov rax, rcx
jmp 0x14002ea6f
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.140183b80
jmp 0x14002e750
mov r14, r8
call fcn.140165cc0
mov r8, r14
jmp 0x14002e993
lea rcx, [rax - 1]
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rcx
mov rdx, rax
jmp 0x14002eae4
call fcn.140165cc0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
jmp 0x14002ebaf
cmp byte [0x140243948], 1
jne 0x14002ed19
mov rcx, qword [rsp + 0x48]
call fcn.140195750
test al, al
mov rax, qword [rsp + 0x68]
jne 0x14002ecf7
jmp 0x14002ed19
int3