Function at 0x14005e100
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, 0xa8
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x73
call fcn.140047ce0
lea rcx, [rsp + 0x78]
mov rdx, rbx
xor r8d, r8d
call fcn.14008c5b0
lea r15, [rdi + 4]
lea rax, [rdi + 0x2a0]
mov qword [rsp + 0x40], rax
lea r12, [rdi + 0x260]
lea rbp, [rdi + 0x280]
lea r13, [rdi + 0x30]
lea r14, [rsp + 0x48]
cmp byte [rdi], 0
jne 0x14005e1b2
jmp 0x14005e200
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14005e527
mov rcx, qword [rsp + 0x38]
call fcn.140043da0
mov rcx, rbx
call fcn.140043da0
cmp byte [rdi], 0
je 0x14005e200
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005e1e0
cmp qword [rdi + 0x258], 0xffffffffffffffff
jne 0x14005e380
jmp 0x14005e3a0
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14005e3a0
mov rax, qword [rdi + 0x2b8]
cmp qword [rdi + 0x2b0], rax
je 0x14005e518
test rax, rax
mov rcx, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmove rax, rcx
add rax, 0xffffffffffffffff
cmp rcx, rax
jb 0x14005e567
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a0]
mov rcx, r12
call fcn.140043db0
mov rcx, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov rdx, qword [rdi + 0x2b8]
test rdx, rdx
je 0x14005e277
lea rax, [rdx - 1]
mov qword [rdi + 0x2b8], rax
cmp rcx, rdx
jb 0x14005e570
cmp rcx, rax
jae 0x14005e28e
jmp 0x14005e56a
lea rax, [rcx - 1]
mov qword [rdi + 0x2b8], rax
mov rdx, rcx
cmp rcx, rax
jb 0x14005e56a
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x14005e56d
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsi]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.140043da0
mov rcx, rsi
call fcn.14005e9e0
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14005e2fb
test eax, eax
jne 0x14005e32b
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, rbp
mov qword [rsp + 0x90], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x98], rax
jmp 0x14005e316
lea rax, [0x14017d0ea]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov rcx, r12
mov rdx, rbx
lea r8, [rsp + 0x90]
call fcn.140044ef0
jmp 0x14005e333
mov rcx, rbx
call fcn.140043d00
cmp byte [rsp + 0x6f], 0
mov rcx, rbx
jns 0x14005e342
mov rcx, qword [rsp + 0x58]
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.140043da0
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14005e3a0
mov qword [rsp + 0x48], r13
cmp word [r13], 0
je 0x14005e3cd
xor eax, eax
nop
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x14005e390
jmp 0x14005e3cf
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x14005e1ad
mov rcx, rbp
lea rdx, [0x14017d0ea]
call fcn.14002b1bc
cmp byte [rdi], 0
jne 0x14005e1b2
jmp 0x14005e200
xor eax, eax
mov qword [rsp + 0x50], rax
mov rcx, rbx
mov rdx, r14
call fcn.140043d50
mov rcx, rdi
mov rdx, rbx
call fcn.140088570
test al, al
jne 0x14005e1a5
mov rsi, r14
mov r14, rbp
mov ebp, dword [rdi + 4]
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, rbx
call fcn.140045ba0
test bpl, 0x10
je 0x14005e4c0
cmp byte [rdi + 0x278], 0
je 0x14005e4c0
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x17], 0
mov rcx, rax
jns 0x14005e433
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x14005e4c0
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.14005e690
mov rax, qword [rdi + 0x2b8]
cmp qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin], rax
jb 0x14005e573
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [rdi + 0x2a0]
mov rdx, qword [rsp + 0x38]
call fcn.140043d20
mov r8, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
mov rcx, qword [rdi + 0x2b8]
lea rax, [r8 - 1]
cmp rcx, rax
jne 0x14005e4a4
mov qword [rdi + 0x2b8], 0
jmp 0x14005e4b3
mov rdx, rcx
inc rdx
mov qword [rdi + 0x2b8], rdx
jne 0x14005e4b6
mov rcx, rax
cmp r8, rcx
jb 0x14005e576
nop
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.140088680
test al, al
mov rbp, r14
mov r14, rsi
je 0x14005e19b
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14005e4f3
test eax, eax
jne 0x14005e19b
jmp 0x14005e527
cmp byte [rbp + 0x17], 0
mov rdx, rbp
jns 0x14005e500
mov rdx, qword [rbp]
cmp byte [rsp + 0x6f], 0
mov rcx, rbx
jns 0x14005e18c
mov rcx, qword [rsp + 0x58]
jmp 0x14005e18c
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140043d00
jmp 0x14005e536
lea rcx, [rsp + 0x58]
call fcn.140043da0
mov rsi, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.14008c6e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140147fd0
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
int3
int3
int3
int3