Function at 0x14003cc10
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, 0xd8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x82
call fcn.140036f60
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
call fcn.14004eca0
lea r14, [rdi + 4]
lea r15, [rdi + 0x260]
lea rsi, [rdi + 0x280]
lea r13, [rdi + 0x30]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x30], rax
cmp byte [rdi], 0
je 0x14003cdb7
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14003ce9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14003ce7e
mov qword [rsp + 0x50], r13
cmp word [r13], 0
je 0x14003cebb
cmp word [rdi + 0x32], 0
je 0x14003cf23
cmp word [rdi + 0x34], 0
je 0x14003cf2d
cmp word [rdi + 0x36], 0
je 0x14003cf05
cmp word [rdi + 0x38], 0
je 0x14003cf19
cmp word [rdi + 0x3a], 0
je 0x14003cf0f
mov eax, 6
cmp word [rdi + 0x3c], 0
jne 0x14003cec2
mov qword [rsp + 0x58], rax
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.140034db0
mov rcx, rdi
mov rdx, rbx
call fcn.14004f180
test al, al
jne 0x14003ce1a
mov ebp, dword [rdi + 4]
mov rcx, r15
lea rdx, [rsp + 0x38]
mov r8, rbx
call fcn.140036610
test bpl, 0x10
jne 0x14003d00a
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.14004f290
test al, al
je 0x14003d04c
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14003cf88
cmp byte [rsi + 0x17], 0
mov rdx, rsi
js 0x14003d05e
cmp byte [rsp + 0x77], 0
mov rcx, rbx
jns 0x14003cda3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14003cf90
jmp 0x14003d04c
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14003d000
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14003d05b
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, r15
call fcn.140034eb0
mov rcx, qword [rsp + 0x30]
call fcn.14003d520
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14003ceeb
jmp 0x14003cf41
mov rcx, rbx
call fcn.140034ea0
jmp 0x14003cc91
mov rcx, r15
mov rdx, rbx
lea r8, [rsp + 0x38]
call fcn.140036000
cmp byte [rsp + 0x77], 0
mov rcx, rbx
js 0x14003cf37
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, rbx
call fcn.140034ea0
jmp 0x14003ccb2
mov ebp, eax
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x14003cf74
cmp ebp, 0x12
je 0x14003cc91
jmp 0x14003cfe6
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14003ccb2
xor eax, eax
jmp 0x14003cd1e
mov eax, 7
cmp word [rdi + 0x3e], 0
je 0x14003cd1e
mov eax, 0x20
cmp word [rdi + rax*2], 0
lea rax, [rax + 1]
jne 0x14003ced7
add rax, 0xffffffffffffffe7
jmp 0x14003cd1e
lea rax, [0x140109d38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
jmp 0x14003ce27
mov eax, 3
jmp 0x14003cd1e
mov eax, 5
jmp 0x14003cd1e
mov eax, 4
jmp 0x14003cd1e
mov eax, 1
jmp 0x14003cd1e
mov eax, 2
jmp 0x14003cd1e
mov rcx, qword [rsp + 0x60]
jmp 0x14003ce45
test eax, eax
jne 0x14003d066
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, rsi
mov qword [rsp + 0x38], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x40], rax
jmp 0x14003ce27
mov rcx, rsi
lea rdx, [0x140109d38]
call fcn.14002fb50
jmp 0x14003ce90
test eax, eax
jne 0x14003d04c
lea rsi, [rsp + 0x38]
mov rcx, r12
mov rdx, rsi
call fcn.140034d80
mov rcx, rsi
call fcn.140034ea0
lea rcx, [rsp + 0x60]
call fcn.140034ea0
lea rcx, [rsp + 0x80]
call fcn.14004edc0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, r12
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rdi + 0x29c], 0
je 0x14003cc91
mov ecx, ebp
call fcn.14003b3d0
mov dword [rdi + 0x2a0], eax
mov rcx, r12
call fcn.140034d60
jmp 0x14003cfb2
cmp byte [rdi + 0x278], 0
je 0x14003cd60
cmp byte [rsp + 0x4f], 0
lea rcx, [rsp + 0x38]
jns 0x14003d028
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14003cd60
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.14003d170
jmp 0x14003cd60
lea rcx, [rsp + 0x38]
call fcn.140034ea0
jmp 0x14003ce1a
int3
mov rdx, qword [rsi]
jmp 0x14003cd94
mov rcx, rbx
call fcn.140034d60
jmp 0x14003ce37