Function at 0x14004d950
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 rsi, rdx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], r14
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea r12, [rsp + 0x78]
mov rcx, r12
mov r9d, 0x8b
call fcn.1400322c0
lea rcx, [rsp + 0xa0]
mov rdx, r12
xor r8d, r8d
call fcn.1400429f0
lea r15, [rdi + 4]
lea rax, [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov qword [rsp + 0x40], rax
lea rax, [rdi + 0x260]
mov qword [rsp + 0x30], rax
lea rax, [rdi + 0x282]
mov qword [rsp + 0x38], rax
lea rbp, [rdi + 0x30]
lea rax, [rsi + 2]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x60]
jmp 0x14004da4b
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14004ddcb
mov rcx, rsi
call fcn.140032570
mov rcx, rbx
call fcn.140032570
cmp byte [rdi], 0
je 0x14004da90
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004dbc0
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14004dbc0
mov rax, qword [rdi + 0x2b8]
cmp rax, qword [rdi + 0x2c0]
je 0x14004ddc1
mov r13, qword [rsp + 0x40]
mov rcx, r13
call fcn.14004e3d0
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call fcn.140032580
mov rcx, r13
call fcn.14004ea00
mov qword [rsp + 0x70], r14
movaps xmmword [rsp + 0x60], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14004db12
test eax, eax
jne 0x14004db3c
movzx eax, byte [rdi + 0x280]
mov rcx, rax
shr rcx, 1
test al, 1
mov rax, qword [rdi + 0x290]
cmove rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
cmovne rcx, qword [rdi + 0x288]
mov qword [rsp + 0x80], rcx
jmp 0x14004db2a
lea rax, [0x1400de150]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov r8, r12
call fcn.140033a10
jmp 0x14004db7b
mov rcx, r12
lea rdx, str.BuildSearchFilter
lea r8, str....._base_files_file_enumerator_win.cc
mov r9d, 0x1f
call fcn.1400322c0
lea r13, [rsp + 0x98]
mov rcx, r13
mov rdx, r12
call fcn.140038670
mov rcx, r13
call fcn.140038640
mov rcx, rbx
call fcn.1400322f0
test byte [rsp + 0x60], 1
lea rcx, [rsp + 0x62]
je 0x14004db8c
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r15
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, rbx
call fcn.140032570
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14004dc00
mov qword [rsp + 0x70], r14
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], rbp
test rbp, rbp
je 0x14004dc20
mov rcx, rbp
call fcn.1400c47c0
mov qword [rsp + 0x58], rax
jmp 0x14004dc4d
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x14004dd40
cmp eax, 0x12
je 0x14004da4b
jmp 0x14004dda7
mov qword [rsp + 0x58], 0
mov rcx, r12
lea rdx, str....._base_strings_string_piece.h
mov r8d, 0x86
lea r9, [0x1400d96fe]
call fcn.140038500
mov rcx, r12
call fcn.140038640
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.140032340
mov rcx, rdi
mov rdx, rbx
call fcn.14004ec90
test al, al
jne 0x14004da43
mov r13, r12
mov rax, r14
mov r14d, dword [r15]
mov r12, rax
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm6
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
mov r8, rbx
call fcn.140034590
test r14b, 0x10
je 0x14004dcd0
cmp byte [rdi + 0x278], 0
je 0x14004dcd0
test byte [rsi], 1
mov rcx, qword [rsp + 0x48]
je 0x14004dcad
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x14004dcd0
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.14004e1b0
nop word [rax + rax]
and r14d, 0x10
shr r14d, 4
mov rcx, rdi
mov edx, r14d
call fcn.14004ee10
test al, al
mov r14, r12
mov r12, r13
je 0x14004da3b
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14004dd57
test eax, eax
je 0x14004ddcb
mov rcx, r12
lea rdx, str.IsPatternMatched
lea r8, str....._base_files_file_enumerator_win.cc
mov r9d, 0xe0
call fcn.1400322c0
lea r13, [rsp + 0x98]
mov rcx, r13
mov rdx, r12
call fcn.140038670
mov rcx, r13
call fcn.140038640
jmp 0x14004da3b
test byte [rdi + 0x280], 1
jne 0x14004dd86
mov byte [rdi + 0x280], 2
mov rcx, qword [rsp + 0x38]
jmp 0x14004dd98
test byte [rdi + 0x280], 1
mov rdx, qword [rsp + 0x38]
je 0x14004dd6c
mov rdx, qword [rdi + 0x290]
test byte [rsp + 0x60], 1
lea rcx, [rsp + 0x62]
je 0x14004da2c
mov rcx, qword [rsp + 0x70]
jmp 0x14004da2c
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x290]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x14004da4b
cmp dword [rdi + 0x29c], 0
je 0x14004da4b
mov ecx, eax
call fcn.14004d1e0
mov dword [rdi + 0x2a0], eax
mov rcx, rsi
call fcn.1400322f0
jmp 0x14004ddd5
lea rcx, [rsp + 0x60]
call fcn.140032570
lea rcx, [rsp + 0xa0]
call fcn.140042a50
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a5060
mov rax, rsi
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