Function at 0x14007cb10
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, 0x128
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140162028]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov r9d, 0x83
call fcn.140063670
lea rcx, [rsp + 0x88]
mov rdx, rbx
xor r8d, r8d
call fcn.14006e480
lea r15, [rdi + 4]
lea rsi, [rdi + 0x260]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x38], rax
lea r12, [rdi + 0x30]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x40], rax
lea r13, [rsp + 0x70]
cmp byte [rdi], 0
je 0x14007cd11
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14007cefb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14007ce9a
mov qword [rsp + 0x60], r12
cmp word [r12], 0
je 0x14007cff4
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x14007cbf0
mov qword [rsp + 0x68], rax
mov rcx, r13
lea rdx, [rsp + 0x60]
call fcn.140060c90
mov rcx, rdi
mov rdx, r13
call fcn.1400c9a20
test al, al
jne 0x14007ce8d
mov ebp, dword [rdi + 4]
mov rcx, rsi
lea rdx, [rsp + 0x48]
mov r8, r13
call fcn.140061fd0
test bpl, 0x10
jne 0x14007cf18
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.1400c9b30
test al, al
je 0x14007ce83
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14007ce7b
lea rax, str.api_ms_win_downlevel_shlwapi_l1_1_0.dll
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 0x27
lea rbp, [rsp + 0xe8]
mov rcx, rbp
lea rdx, [rsp + 0xd8]
call fcn.140060c90
mov rcx, rbx
mov rdx, rbp
call fcn.140069b00
mov rcx, rbp
call fcn.140060de0
cmp qword [rsp + 0x108], 0
mov rbp, qword [rsp + 0x38]
je 0x14007d022
mov rcx, rbx
lea rdx, [0x140137078]
call fcn.140069b70
test rax, rax
je 0x14007d022
cmp byte [rbp + 0x17], 0
jns 0x14007ceba
mov rdx, qword [rbp]
cmp byte [rsp + 0x87], 0
mov rcx, r13
jns 0x14007ccf7
mov rcx, qword [rsp + 0x70]
call rax
mov ebp, eax
mov rcx, rbx
call fcn.140069ac0
cmp ebp, 1
je 0x14007cf5a
jmp 0x14007ce83
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14007d015
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14007d074
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, rsi
call fcn.140060df0
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
mov rbp, qword [rsp + 0x38]
je 0x14007d061
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
cmp rcx, rdx
jb 0x14007d077
cmp rcx, rax
jb 0x14007d07a
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x14007d07d
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.140060de0
mov rax, qword [rdi + 0x2b0]
cmp rax, 5
jb 0x14007cdf0
mov rdx, qword [rdi + 0x2c0]
sub rdx, qword [rdi + 0x2b8]
mov ecx, 0
cmovb rcx, rax
add rcx, rdx
dec rax
mov rdx, rax
sub rdx, rcx
cmp rdx, rcx
jae 0x14007cfc6
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14007cec2
lea rax, [0x140136ff6]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], 1
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0xe8]
call fcn.1400618b0
cmp byte [rsp + 0x117], 0
mov rcx, rbx
jns 0x14007ce42
mov rcx, qword [rsp + 0x100]
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.140060de0
jmp 0x14007cbbf
test eax, eax
je 0x14007cf5a
lea rcx, [rsp + 0x48]
call fcn.140060de0
mov rcx, r13
call fcn.140060de0
jmp 0x14007cb9e
mov ebp, eax
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x14007cfb0
cmp ebp, 0x12
je 0x14007cb9e
jmp 0x14007cffb
mov rdx, rbp
jmp 0x14007cce5
test eax, eax
jne 0x14007d054
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, rbp
mov qword [rsp + 0xe8], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0xf0], rax
jmp 0x14007ce1a
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14007cbbf
cmp byte [rdi + 0x278], 0
je 0x14007cc3e
cmp byte [rsp + 0x5f], 0
lea rcx, [rsp + 0x48]
jns 0x14007cf36
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14007cc3e
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.14007d090
jmp 0x14007cc3e
lea rsi, [rsp + 0x48]
mov rcx, r14
mov rdx, rsi
call fcn.14005a890
mov rcx, rsi
call fcn.140060de0
lea rcx, [rsp + 0x70]
call fcn.140060de0
lea rcx, [rsp + 0x88]
call fcn.14006e560
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400f0560
mov rax, r14
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x38]
lea rdx, [0x140136ff6]
call fcn.14005b33c
jmp 0x14007ceac
mov rdx, rcx
shr rdx, 2
add rdx, rcx
mov ecx, 3
cmp rdx, rcx
cmovbe rdx, rcx
cmp rdx, rax
jae 0x14007cdf0
mov rcx, qword [rsp + 0x40]
call fcn.14007d160
jmp 0x14007cdf0
xor eax, eax
jmp 0x14007cbfc
cmp dword [rdi + 0x29c], 0
je 0x14007cb9e
mov ecx, ebp
call fcn.140079c20
mov dword [rdi + 0x2a0], eax
mov rcx, r14
call fcn.140060c50
jmp 0x14007cf7c
cmp byte [rbp + 0x17], 0
jns 0x14007d04d
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
cmp byte [rsp + 0x87], 0
mov rcx, r13
jns 0x14007d042
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
jmp 0x14007ccf9
mov rdx, qword [rsp + 0x38]
jmp 0x14007d030
mov rcx, rbx
call fcn.140060c50
jmp 0x14007ce2d
lea rax, [rcx - 1]
mov qword [rdi + 0x2c0], rax
mov rdx, rcx
jmp 0x14007cd86
int3
int3
int3
int3