Function at 0x1400974a0
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 [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm6, xmmword [0x1401940a0]
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.1400763c0
lea rcx, [rsp + 0xa0]
xor edx, edx
xor r8d, r8d
call fcn.1400a32f0
mov qword [rsp + 0xf8], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x140097c81
lea r14, [rdi + 4]
lea r12, [rdi + 0x2b8]
lea rax, [rdi + 0x2c0]
mov qword [rsp + 0x38], rax
lea r15, [rdi + 0x2a8]
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 0x1400975cd
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x140097bee
cmp byte [rsi + 0x17], 0
js 0x140097692
cmp byte [rsp + 0x97], 0
js 0x140097680
cmp byte [rdi], 0
je 0x140097610
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400979c0
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x1400979c0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
cmp qword [r12], rax
je 0x140097c14
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x140097cec
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [r15]
cmp qword [rsp + 0x40], rdx
je 0x1400976d0
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x14009769f
test r8b, r8b
js 0x1400976b7
mov rax, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x1400976d0
mov rcx, qword [rsp + 0x80]
call fcn.14014b4e4
jmp 0x1400975cd
mov rcx, qword [rsi]
call fcn.14014b4e4
jmp 0x1400975bf
test r8b, r8b
jns 0x1400976ab
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x40]
call fcn.1400510de
jmp 0x1400976d0
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.140051168
nop dword [rax + rax]
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
je 0x140097702
lea rcx, [rdx - 1]
mov r8, qword [rsp + 0x38]
mov qword [r8], rcx
cmp rax, rdx
jb 0x140097cf5
cmp rax, rcx
jae 0x14009771a
jmp 0x140097cef
lea rcx, [rax - 1]
mov rdx, qword [rsp + 0x38]
mov qword [rdx], rcx
mov rdx, rax
cmp rax, rcx
jb 0x140097cef
movabs r8, 0x8000000000000000
cmp rdx, r8
je 0x140097cf2
mov rdx, qword [r15]
lea rcx, [rcx + rcx*2]
cmp byte [rdx + rcx*8 + 0x17], 0
jns 0x14009774e
lea rax, [rdx + rcx*8]
mov rcx, qword [rax]
call fcn.14014b4e4
mov rax, qword [rdi + 0x2b0]
mov rcx, rax
sub rcx, 1
mov edx, 0
cmovb rcx, rdx
cmp rcx, 4
jb 0x140097890
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 0x140097890
mov rbp, rax
shr rbp, 2
add rbp, rax
cmp rbp, 4
mov eax, 3
cmovb rbp, rax
cmp rbp, rcx
jae 0x140097890
inc rbp
mov rax, rbp
mov ecx, 0x18
mul rcx
jo 0x140097bd9
mov r13, rax
lea r14, fcn.1400b67d0
nop word cs:[rax + rax]
mov rcx, r14
mov rdx, r13
xor r8d, r8d
call fcn.1400b67d0
mov r12, rax
test rax, rax
jne 0x140097816
cmp byte [0x1401d3244], 0
je 0x140097816
call fcn.14015f380
test rax, rax
je 0x140097816
mov rcx, r13
call qword [0x1401b4100]
test eax, eax
jne 0x1400977e0
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.140097f90
mov rdx, qword [rdi + 0x2a8]
lea rcx, fcn.1400b67d0
xor r8d, r8d
call fcn.1400ba310
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 0x1400978db
test eax, eax
jne 0x1400978f8
movzx eax, byte [rdi + 0x297]
test al, al
js 0x140097913
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
jmp 0x14009793a
lea rax, [0x1401a3d48]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], 1
jmp 0x140097948
call fcn.1400814b0
movaps xmmword [rsp + 0x80], xmm7
mov qword [rsp + 0x90], 0
jmp 0x14009795d
mov rcx, qword [rdi + 0x280]
mov rax, qword [rdi + 0x288]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
test rax, rax
js 0x140097d01
test rcx, rcx
jne 0x140097948
test rax, rax
jne 0x140097cf8
mov rcx, qword [rsp + 0x40]
mov rdx, r13
lea r8, [rsp + 0xe8]
call fcn.140079d90
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x140097972
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 0x1400979c0
mov rcx, qword [rsp + 0x80]
call fcn.14014b4e4
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140097ad0
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.14016c344
mov qword [rsp + 0x78], rax
mov rcx, r13
lea rdx, [rsp + 0x70]
call fcn.1400784a0
mov rcx, rdi
mov rdx, r13
call fcn.1400981e0
test al, al
jne 0x1400975bf
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.14007b000
mov ebx, 1
test bpl, 0x10
je 0x140097b80
mov ebx, 2
cmp byte [rdi + 0x278], 0
je 0x140097b80
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140097a74
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x140097b80
mov rcx, r15
call fcn.140097e30
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x140097cfb
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [r15]
cmp byte [rsi + 0x17], 0
js 0x140097b31
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x140097b3d
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140097ae7
cmp eax, 0x12
je 0x1400975cd
jmp 0x140097b1f
cmp byte [rdi + 0x297], 0
js 0x140097afe
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x48]
jmp 0x140097b10
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x1400975cd
cmp dword [rdi + 0x29c], 0
je 0x1400975cd
jmp 0x140097c07
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140050bae
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
lea rcx, [rax - 1]
cmp rdx, rcx
jne 0x140097b62
mov rdx, qword [rsp + 0x38]
mov qword [rdx], 0
jmp 0x140097b72
mov r8, rdx
inc r8
mov r9, qword [rsp + 0x38]
mov qword [r9], r8
jne 0x140097b75
mov rdx, rcx
cmp rax, rdx
jb 0x140097cfe
nop
test dword [rdi + 0x27c], ebx
je 0x1400975b5
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140097ba5
test eax, eax
je 0x140097bee
call fcn.1400814b0
jmp 0x1400975b5
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x48]
jns 0x140097bbb
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x1400975a6
mov rcx, qword [rsp + 0x80]
jmp 0x1400975a6
int3
cmp byte [rsp + 0x97], 0
jns 0x140097c22
mov rcx, qword [rsp + 0x80]
call fcn.14014b4e4
jmp 0x140097c22
mov ecx, eax
call fcn.14005c450
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 [0x1401d2e3a]
test al, al
jne 0x140097cbd
lea rcx, [rsp + 0xa0]
call fcn.1400a3590
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14014c9b0
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 0x140097553
movzx ecx, al
mov qword [rsp + 0x80], 0
lea rdx, [rsp + 0xe8]
lea r8, [rsp + 0x80]
mov r9d, 2
call fcn.140032900
jmp 0x140097c3d
int3
int3
int3
int3
int3
int3
int3
int3