Function at 0x14005c8c0
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rbp
mov qword [rbp + 0x20], rax
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
mov r14, rbp
mov rcx, r14
mov r9d, 0x73
call fcn.14003bd00
lea rcx, [rbp - 0x28]
mov rdx, r14
xor r8d, r8d
call fcn.14004f9f0
lea rbx, [rdi + 4]
lea rax, [rdi + 0x2b0]
mov qword [rbp - 0x40], rax
lea r15, [rdi + 0x260]
lea r12, [rdi + 0x288]
lea rax, [rdi + 0x30]
mov qword [rbp - 0x48], rax
jmp 0x14005c958
mov rcx, r14
call fcn.1400323e0
cmp byte [rdi], 0
je 0x14005c990
mov rcx, qword [rdi + 0x258]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005ca10
cmp qword [rdi + 0x258], 0xffffffffffffffff
jne 0x14005cb1d
jmp 0x14005cb40
mov rdx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2c0], rdx
je 0x14005ccf8
test rdx, rdx
mov rax, qword [rdi + 0x2b8]
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14005cd36
shl rdx, 5
add rdx, qword [rdi + 0x2b0]
mov rcx, r15
call fcn.140032450
mov rax, qword [rdi + 0x2b8]
mov rdx, qword [rdi + 0x2c8]
mov rcx, rdx
sub rcx, 1
jae 0x14005ca2d
lea rcx, [rax - 1]
mov qword [rdi + 0x2c8], rcx
mov rdx, rax
cmp rax, rcx
jae 0x14005ca46
jmp 0x14005cd3d
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14005cb40
mov qword [rdi + 0x2c8], rcx
cmp rax, rdx
jb 0x14005cd4b
cmp rax, rcx
jb 0x14005cd3d
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14005cd44
shl rcx, 5
mov rsi, qword [rbp - 0x40]
add rcx, qword [rsi]
call fcn.1400323e0
mov rcx, rsi
call fcn.14005d180
mov eax, dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
je 0x14005caa5
test eax, eax
jne 0x14005cac9
cmp qword [rdi + 0x2a0], 7
mov rax, r12
jbe 0x14005ca94
mov rax, qword [rdi + 0x288]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0x298]
mov qword [rbp - 8], rax
jmp 0x14005cab8
lea rax, [0x14019f612]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov rcx, r15
mov rdx, r14
lea r8, [rbp - 0x10]
call fcn.140033d30
jmp 0x14005cad1
mov rcx, r14
call fcn.140032200
cmp qword [rbp + 0x18], 7
mov rcx, r14
jbe 0x14005cadf
mov rcx, qword [rbp]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r14
call fcn.1400323e0
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14005cb40
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x38], rax
cmp word [rax], 0
je 0x14005cb83
xor eax, eax
nop dword [rax]
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x14005cb30
jmp 0x14005cb85
mov byte [rdi], 0
cmp dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin], 0
jne 0x14005c958
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
je 0x14005cc4e
mov rax, r12
cmp rcx, 8
jb 0x14005cb6d
mov rax, qword [r12]
mov qword [rdi + 0x298], 1
mov dword [rax], 0x2a
jmp 0x14005c958
xor eax, eax
mov qword [rbp - 0x30], rax
mov rcx, r14
lea rdx, [rbp - 0x38]
call fcn.140032330
mov rcx, rdi
mov rdx, r14
call fcn.1400888d0
test al, al
jne 0x14005c950
mov rdx, r13
mov r13d, dword [rdi + 4]
mov rsi, r15
mov rcx, r15
mov r15, rdx
mov r8, r14
call fcn.140035040
test r13b, 0x10
je 0x14005cc90
cmp byte [rdi + 0x280], 0
je 0x14005cc90
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14005cbe4
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x14005cc90
mov edx, 1
mov rcx, qword [rbp - 0x40]
call fcn.14005ce70
mov rcx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2b8], rcx
jb 0x14005cd52
shl rcx, 5
add rcx, qword [rdi + 0x2b0]
mov rdx, r15
call fcn.140032220
mov r8, qword [rdi + 0x2b8]
mov rcx, qword [rdi + 0x2c8]
lea rax, [r8 - 1]
cmp rcx, rax
jne 0x14005cc67
mov qword [rdi + 0x2c8], 0
jmp 0x14005cc76
mov edx, 1
mov rcx, r12
lea r9, [0x14019f612]
call fcn.140006120
jmp 0x14005c958
mov rdx, rcx
inc rdx
mov qword [rdi + 0x2c8], rdx
jne 0x14005cc79
mov rcx, rax
cmp r8, rcx
jb 0x14005cd59
nop word cs:[rax + rax]
nop dword [rax]
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.140088a80
test al, al
mov r13, r15
mov r15, rsi
je 0x14005cceb
mov eax, dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
je 0x14005ccbe
test eax, eax
jne 0x14005cceb
jmp 0x14005cd02
cmp qword [rdi + 0x2a0], 7
mov rdx, r12
jbe 0x14005ccd2
mov rdx, qword [rdi + 0x288]
cmp qword [rbp + 0x18], 7
mov rcx, r14
jbe 0x14005cce0
mov rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14005cd02
mov rcx, r13
call fcn.1400323e0
jmp 0x14005c950
mov rcx, r13
call fcn.140032200
jmp 0x14005cd0a
mov rcx, rbp
call fcn.1400323e0
lea rcx, [rbp - 0x28]
call fcn.14004fb20
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
call fcn.14014ac50
mov rax, r13
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
int3
int3
int3
int3
int3