Function at 0x140115290
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, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], r15
movaps xmm6, xmmword [0x14029de10]
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea r12, [rsp + 0x50]
mov rcx, r12
mov r9d, 0x8b
call fcn.1400f5dc0
lea rcx, [rsp + 0x80]
mov rdx, r12
xor r8d, r8d
call fcn.140153ea0
lea rbp, [rdi + 4]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x38], rax
lea rbx, [rdi + 0x260]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x30], rax
lea r14, [rdi + 0x30]
jmp 0x140115380
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x140115745
mov rcx, r13
call fcn.140030e80
mov rcx, r12
call fcn.140030e80
cmp byte [rdi], 0
je 0x1401153c0
mov rcx, qword [rdi + 0x258]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14011553e
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14011553e
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14011573b
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x140115797
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, rbx
call fcn.1400f2450
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
je 0x140115436
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
cmp rcx, rdx
jb 0x1401157a0
cmp rcx, rax
jae 0x14011544d
jmp 0x14011579a
lea rax, [rcx - 1]
mov qword [rdi + 0x2c0], rax
mov rdx, rcx
cmp rcx, rax
jb 0x14011579a
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x14011579d
mov rsi, rbx
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.140030e80
mov rcx, rbx
call fcn.140115c20
mov qword [rsp + 0x60], r15
movaps xmmword [rsp + 0x50], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x1401154c9
test eax, eax
mov rbx, rsi
jne 0x1401154f3
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x78], rax
mov rcx, rbx
jmp 0x1401154e4
lea rax, [0x1402afa0c]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
mov rbx, rsi
mov rcx, rsi
mov rdx, r12
lea r8, [rsp + 0x70]
call fcn.1400f3630
jmp 0x1401154fb
mov rcx, r12
call fcn.14001f0c0
cmp byte [rsp + 0x67], 0
mov rcx, r12
jns 0x14011550a
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, rbp
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r12
call fcn.140030e80
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140115650
mov qword [rsp + 0x60], r15
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x40], r14
test r14, r14
je 0x14011578b
mov rcx, r14
call fcn.14027a424
mov qword [rsp + 0x48], rax
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.1400f23c0
mov rcx, rdi
mov rdx, r12
call fcn.140153d60
test al, al
jne 0x140115378
mov rsi, rbp
mov ebp, dword [rbp]
mov qword [r13 + 0x10], r15
movups xmmword [r13], xmm6
mov rcx, rbx
mov rdx, r13
mov r8, r12
call fcn.1400f4e40
test bpl, 0x10
je 0x1401156d0
cmp byte [rdi + 0x278], 0
je 0x1401156d0
cmp byte [r13 + 0x17], 0
mov rcx, r13
jns 0x1401155d9
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x1401156d0
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1401158c0
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x1401157a6
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [rdi + 0x2a8]
mov rdx, r13
call fcn.14005d600
mov r8, qword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x2c0]
lea rax, [r8 - 1]
cmp rcx, rax
jne 0x1401156b1
mov qword [rdi + 0x2c0], 0
jmp 0x1401156c0
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140115667
cmp eax, 0x12
je 0x140115380
jmp 0x14011569f
cmp byte [rdi + 0x297], 0
js 0x14011567e
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x30]
jmp 0x140115690
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140115380
cmp dword [rdi + 0x29c], 0
je 0x140115380
jmp 0x14011572e
mov rdx, rcx
inc rdx
mov qword [rdi + 0x2c0], rdx
jne 0x1401156c3
mov rcx, rax
cmp r8, rcx
jb 0x1401157a3
nop dword [rax]
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.140153e90
test al, al
mov rbp, rsi
je 0x140115370
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140115700
test eax, eax
jne 0x140115370
jmp 0x140115745
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x30]
jns 0x140115716
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax]
cmp byte [rsp + 0x67], 0
mov rcx, r12
jns 0x140115361
mov rcx, qword [rsp + 0x50]
jmp 0x140115361
mov ecx, eax
call fcn.14010bec0
mov dword [rdi + 0x2a0], eax
mov rcx, r13
call fcn.14001f0c0
jmp 0x14011574f
lea rcx, [rsp + 0x50]
call fcn.140030e80
lea rcx, [rsp + 0x80]
call fcn.1401541a0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140257200
mov rax, r13
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x48], 0
int3
int3
int3
int3
int3
int3
int3