Function at 0x140026d40
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 [0x1400a2318]
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.140021a10
lea rcx, [rbp - 0x28]
mov rdx, r14
xor r8d, r8d
call fcn.140021c90
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 0x140026dd8
mov rcx, r14
call fcn.140009970
cmp byte [rdi], 0
je 0x140026e10
mov rcx, qword [rdi + 0x258]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140026e90
cmp qword [rdi + 0x258], 0xffffffffffffffff
jne 0x140026f9d
jmp 0x140026fc0
mov rdx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2c0], rdx
je 0x140027178
test rdx, rdx
mov rax, qword [rdi + 0x2b8]
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x1400271b6
shl rdx, 5
add rdx, qword [rdi + 0x2b0]
mov rcx, r15
call fcn.1400099e0
mov rax, qword [rdi + 0x2b8]
mov rdx, qword [rdi + 0x2c8]
mov rcx, rdx
sub rcx, 1
jae 0x140026ead
lea rcx, [rax - 1]
mov qword [rdi + 0x2c8], rcx
mov rdx, rax
cmp rax, rcx
jae 0x140026ec6
jmp 0x1400271bd
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140026fc0
mov qword [rdi + 0x2c8], rcx
cmp rax, rdx
jb 0x1400271cb
cmp rax, rcx
jb 0x1400271bd
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400271c4
shl rcx, 5
mov rsi, qword [rbp - 0x40]
add rcx, qword [rsi]
call fcn.140009970
mov rcx, rsi
call fcn.140027600
mov eax, dword [rdi + 0x2a8]
cmp eax, 1
je 0x140026f25
test eax, eax
jne 0x140026f49
cmp qword [rdi + 0x2a0], 7
mov rax, r12
jbe 0x140026f14
mov rax, qword [rdi + 0x288]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0x298]
mov qword [rbp - 8], rax
jmp 0x140026f38
lea rax, [0x14007fec0]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov rcx, r15
mov rdx, r14
lea r8, [rbp - 0x10]
call fcn.14000af50
jmp 0x140026f51
mov rcx, r14
call fcn.140009790
cmp qword [rbp + 0x18], 7
mov rcx, r14
jbe 0x140026f5f
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.140009970
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140026fc0
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x38], rax
cmp word [rax], 0
je 0x140027003
xor eax, eax
nop dword [rax]
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x140026fb0
jmp 0x140027005
mov byte [rdi], 0
cmp dword [rdi + 0x2a8], 0
jne 0x140026dd8
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
je 0x1400270ce
mov rax, r12
cmp rcx, 8
jb 0x140026fed
mov rax, qword [r12]
mov qword [rdi + 0x298], 1
mov dword [rax], 0x2a
jmp 0x140026dd8
xor eax, eax
mov qword [rbp - 0x30], rax
mov rcx, r14
lea rdx, [rbp - 0x38]
call fcn.1400098c0
mov rcx, rdi
mov rdx, r14
call fcn.1400276f0
test al, al
jne 0x140026dd0
mov rdx, r13
mov r13d, dword [rdi + 4]
mov rsi, r15
mov rcx, r15
mov r15, rdx
mov r8, r14
call fcn.14000b9e0
test r13b, 0x10
je 0x140027110
cmp byte [rdi + 0x280], 0
je 0x140027110
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140027064
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x140027110
mov edx, 1
mov rcx, qword [rbp - 0x40]
call fcn.1400272f0
mov rcx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2b8], rcx
jb 0x1400271d2
shl rcx, 5
add rcx, qword [rdi + 0x2b0]
mov rdx, r15
call fcn.1400097b0
mov r8, qword [rdi + 0x2b8]
mov rcx, qword [rdi + 0x2c8]
lea rax, [r8 - 1]
cmp rcx, rax
jne 0x1400270e7
mov qword [rdi + 0x2c8], 0
jmp 0x1400270f6
mov edx, 1
mov rcx, r12
lea r9, [0x14007fec0]
call fcn.140001a70
jmp 0x140026dd8
mov rdx, rcx
inc rdx
mov qword [rdi + 0x2c8], rdx
jne 0x1400270f9
mov rcx, rax
cmp r8, rcx
jb 0x1400271d9
nop word cs:[rax + rax]
nop dword [rax]
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.1400278a0
test al, al
mov r13, r15
mov r15, rsi
je 0x14002716b
mov eax, dword [rdi + 0x2a8]
cmp eax, 1
je 0x14002713e
test eax, eax
jne 0x14002716b
jmp 0x140027182
cmp qword [rdi + 0x2a0], 7
mov rdx, r12
jbe 0x140027152
mov rdx, qword [rdi + 0x288]
cmp qword [rbp + 0x18], 7
mov rcx, r14
jbe 0x140027160
mov rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x140027182
mov rcx, r13
call fcn.140009970
jmp 0x140026dd0
mov rcx, r13
call fcn.140009790
jmp 0x14002718a
mov rcx, rbp
call fcn.140009970
lea rcx, [rbp - 0x28]
call fcn.140021dc0
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
call fcn.14005aa40
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