Function at 0x1400958e0
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, 0x138
movaps xmmword [rsp + 0x120], xmm7
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm6, xmmword [0x1401990c0]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea r13, [rsp + 0x80]
mov rcx, r13
mov r9d, 0x8b
call fcn.140075ed0
lea rcx, [rsp + 0xa0]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0xf8], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x1400960c1
lea r14, [rdi + 4]
lea r12, [rdi + 0x2b8]
lea r15, [rdi + 0x2a8]
lea rax, [rdi + 0x2c0]
mov qword [rsp + 0x38], rax
lea rax, [rdi + 0x260]
mov qword [rsp + 0x40], rax
lea rax, [rdi + 0x280]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x30]
mov qword [rsp + 0x68], rax
xorps xmm7, xmm7
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
jmp 0x140095a0d
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14009602e
cmp byte [rsi + 0x17], 0
js 0x140095ad2
cmp byte [rsp + 0x97], 0
js 0x140095ac0
cmp byte [rdi], 0
je 0x140095a50
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140095e00
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140095e00
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
cmp qword [r12], rax
je 0x140096054
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14009612c
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [r15]
cmp qword [rsp + 0x40], rdx
je 0x140095b10
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x140095adf
test r8b, r8b
js 0x140095af7
mov rax, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x140095b10
mov rcx, qword [rsp + 0x80]
call fcn.140150da4
jmp 0x140095a0d
mov rcx, qword [rsi]
call fcn.140150da4
jmp 0x1400959ff
test r8b, r8b
jns 0x140095aeb
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x40]
call fcn.1400512fe
jmp 0x140095b10
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.140051388
nop dword [rax + rax]
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
je 0x140095b42
lea rcx, [rdx - 1]
mov r8, qword [rsp + 0x38]
mov qword [r8], rcx
cmp rax, rdx
jb 0x140096135
cmp rax, rcx
jae 0x140095b5a
jmp 0x14009612f
lea rcx, [rax - 1]
mov rdx, qword [rsp + 0x38]
mov qword [rdx], rcx
mov rdx, rax
cmp rax, rcx
jb 0x14009612f
movabs r8, 0x8000000000000000
cmp rdx, r8
je 0x140096132
mov rdx, qword [r15]
lea rcx, [rcx + rcx*2]
cmp byte [rdx + rcx*8 + 0x17], 0
jns 0x140095b8e
lea rax, [rdx + rcx*8]
mov rcx, qword [rax]
call fcn.140150da4
mov rax, qword [rdi + 0x2b0]
mov rcx, rax
sub rcx, 1
mov edx, 0
cmovb rcx, rdx
cmp rcx, 4
jb 0x140095cd0
mov rbx, qword [r12]
mov rdx, qword [rsp + 0x38]
mov r15, qword [rdx]
cmp rbx, r15
mov edx, 0
cmovbe rax, rdx
sub rax, rbx
add rax, r15
mov rdx, rcx
sub rdx, rax
cmp rdx, rax
jb 0x140095cd0
mov rbp, rax
shr rbp, 2
add rbp, rax
cmp rbp, 4
mov eax, 3
cmovb rbp, rax
cmp rbp, rcx
jae 0x140095cd0
inc rbp
mov rax, rbp
mov ecx, 0x18
mul rcx
jo 0x140096019
mov r13, rax
lea r14, fcn.1400b5400
nop word cs:[rax + rax]
mov rcx, r14
mov rdx, r13
xor r8d, r8d
call fcn.1400b5400
mov r12, rax
test rax, rax
jne 0x140095c56
cmp byte [0x1401d8124], 0
je 0x140095c56
call fcn.140164dc0
test rax, rax
je 0x140095c56
mov rcx, r13
call qword [0x1401b8a48]
test eax, eax
jne 0x140095c20
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rbp
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
mov r8, r15
lea r13, [rsp + 0x80]
mov r9, r13
call fcn.1400963d0
mov rdx, qword [rdi + 0x2a8]
lea rcx, fcn.1400b5400
xor r8d, r8d
call fcn.1400b8f60
mov qword [rdi + 0x2a8], r12
mov r12, r14
mov qword [rdi + 0x2b0], rbp
mov r14, qword [rsp + 0x58]
nop word cs:[rax + rax]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140095d1b
test eax, eax
jne 0x140095d38
movzx eax, byte [rdi + 0x297]
test al, al
js 0x140095d53
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
jmp 0x140095d7a
lea rax, [0x1401a8b6e]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], 1
jmp 0x140095d88
call fcn.14007fd20
movaps xmmword [rsp + 0x80], xmm7
mov qword [rsp + 0x90], 0
jmp 0x140095d9d
mov rcx, qword [rdi + 0x280]
mov rax, qword [rdi + 0x288]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
test rax, rax
js 0x140096141
test rcx, rcx
jne 0x140095d88
test rax, rax
jne 0x140096138
mov rcx, qword [rsp + 0x40]
mov rdx, r13
lea r8, [rsp + 0xe8]
call fcn.1400796a0
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x140095db2
mov rcx, qword [rsp + 0x80]
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
cmp byte [rsp + 0x97], 0
mov r15, qword [rsp + 0x50]
jns 0x140095e00
mov rcx, qword [rsp + 0x80]
call fcn.140150da4
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140095f10
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rcx
call fcn.140171c94
mov qword [rsp + 0x78], rax
mov rcx, r13
lea rdx, [rsp + 0x70]
call fcn.140077ff0
mov rcx, rdi
mov rdx, r13
call fcn.140096620
test al, al
jne 0x1400959ff
movzx ebp, byte [r14]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm6
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
mov r8, r13
call fcn.14007a900
mov ebx, 1
test bpl, 0x10
je 0x140095fc0
mov ebx, 2
cmp byte [rdi + 0x278], 0
je 0x140095fc0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140095eb4
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x140095fc0
mov rcx, r15
call fcn.140096270
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x14009613b
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [r15]
cmp byte [rsi + 0x17], 0
js 0x140095f71
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x140095f7d
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140095f27
cmp eax, 0x12
je 0x140095a0d
jmp 0x140095f5f
cmp byte [rdi + 0x297], 0
js 0x140095f3e
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x48]
jmp 0x140095f50
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140095a0d
cmp dword [rdi + 0x29c], 0
je 0x140095a0d
jmp 0x140096047
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140050dce
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
lea rcx, [rax - 1]
cmp rdx, rcx
jne 0x140095fa2
mov rdx, qword [rsp + 0x38]
mov qword [rdx], 0
jmp 0x140095fb2
mov r8, rdx
inc r8
mov r9, qword [rsp + 0x38]
mov qword [r9], r8
jne 0x140095fb5
mov rdx, rcx
cmp rax, rdx
jb 0x14009613e
nop
test dword [rdi + 0x27c], ebx
je 0x1400959f5
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140095fe5
test eax, eax
je 0x14009602e
call fcn.14007fd20
jmp 0x1400959f5
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x48]
jns 0x140095ffb
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x1400959e6
mov rcx, qword [rsp + 0x80]
jmp 0x1400959e6
int3
cmp byte [rsp + 0x97], 0
jns 0x140096062
mov rcx, qword [rsp + 0x80]
call fcn.140150da4
jmp 0x140096062
mov ecx, eax
call fcn.14005c4e0
mov dword [rdi + 0x2a0], eax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsp + 0xe8], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x1400960fd
lea rcx, [rsp + 0xa0]
call fcn.1400a1760
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140152280
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
mov qword [rsp + 0xe8], r13
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0x100]
lea r9, [rsp + 0xe8]
call fcn.140062630
jmp 0x140095993
movzx ecx, al
mov qword [rsp + 0x80], 0
lea rdx, [rsp + 0xe8]
lea r8, [rsp + 0x80]
mov r9d, 2
call fcn.140032b00
jmp 0x14009607d
int3
int3
int3
int3
int3
int3
int3
int3