Function at 0x140083570
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, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea r14, [rsp + 0xb0]
mov rcx, r14
mov r9d, 0x8b
call fcn.140063850
lea rcx, [rsp + 0x70]
mov rdx, r14
xor r8d, r8d
call fcn.14004f6c0
lea r15, [rdi + 0x2a8]
lea r12, [rdi + 0x260]
lea rax, [rdi + 0x282]
mov qword [rsp + 0x30], rax
lea r13, [rdi + 4]
lea rbp, [rdi + 0x30]
lea rax, [rsi + 2]
mov qword [rsp + 0x38], rax
jmp 0x140083640
mov rcx, rsi
call fcn.1400653b0
mov rcx, r14
call fcn.1400653b0
cmp byte [rdi], 0
je 0x140083680
mov rcx, qword [rdi + 0x258]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140083865
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140083865
mov rdx, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rdx
je 0x1400839b9
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], rdx
test rdx, rdx
jne 0x1400836b5
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax + 8]
dec rdx
mov qword [rsp + 0xb8], rdx
mov rcx, qword [rsp + 0xb0]
call fcn.1400840f0
mov rcx, r12
mov rdx, rax
call fcn.1400653c0
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x1400836eb
mov rdx, qword [rdi + 0x2b0]
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
mov rcx, r15
call fcn.140083c80
mov rbx, rax
mov rdx, qword [rdi + 0x2c0]
mov rcx, r15
call fcn.140083c80
mov rcx, r15
mov rdx, rax
mov r8, rbx
call fcn.140083b80
mov rcx, r15
call fcn.1400841c0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140083774
test eax, eax
jne 0x140083791
movzx eax, byte [rdi + 0x280]
test al, 1
jne 0x1400837d9
shr eax, 1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
jmp 0x140083800
lea rax, [0x1401c0ed6]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
jmp 0x14008380e
mov rcx, r14
lea rdx, str.BuildSearchFilter
lea r8, str....._base_files_file_enumerator_win.cc
mov r9d, 0x1f
call fcn.140063850
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov edx, 0xffffffff
mov r8, r14
call fcn.14006e4c0
mov rcx, rbx
call fcn.14006e420
lea rcx, [rsp + 0x50]
call fcn.14004bfa0
jmp 0x14008381e
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x290]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
test rax, rax
js 0x140083a09
test rcx, rcx
jne 0x14008380e
test rax, rax
jne 0x140083a1c
mov rcx, r12
lea rdx, [rsp + 0x50]
mov r8, r14
call fcn.140066a50
test byte [rsp + 0x50], 1
lea rcx, [rsp + 0x52]
je 0x14008382f
mov rcx, qword [rsp + 0x60]
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
lea rcx, [rsp + 0x50]
call fcn.1400653b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140083950
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x40], rbp
mov rcx, rbp
call fcn.140199a54
mov qword [rsp + 0x48], rax
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.140065300
mov rcx, rdi
mov rdx, r14
call fcn.1400842e0
test al, al
jne 0x140083638
mov ebx, dword [r13]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm6
mov rcx, r12
mov rdx, rsi
mov r8, r14
call fcn.140067900
test bl, 0x10
je 0x140083920
cmp byte [rdi + 0x278], 1
jne 0x140083920
test byte [rsi], 1
mov rcx, qword [rsp + 0x38]
je 0x140083904
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x140083920
mov rcx, r15
mov rdx, rsi
call fcn.140083d50
nop dword [rax]
and ebx, 0x10
shr ebx, 4
mov rcx, rdi
mov edx, ebx
call fcn.140084460
test al, al
je 0x140083630
mov rcx, rdi
mov rdx, r14
call fcn.140083a30
test al, al
je 0x140083630
jmp 0x1400839fa
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140083967
cmp eax, 0x12
je 0x140083640
jmp 0x14008399f
test byte [rdi + 0x280], 1
jne 0x14008397e
mov byte [rdi + 0x280], 2
mov rcx, qword [rsp + 0x30]
jmp 0x140083990
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x290]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140083640
cmp dword [rdi + 0x29c], 0
je 0x140083640
mov ecx, eax
call fcn.140048a00
mov dword [rdi + 0x2a0], eax
mov rcx, rsi
call fcn.14004bfa0
lea rcx, [rsp + 0x70]
call fcn.14004f740
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140174050
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xb0]
call fcn.1400653b0
jmp 0x1400839c1
lea rcx, [0x1401b1076]
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.14003f000
lea rcx, [0x1401b1076]
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.14003f000
int3