Function at 0x140071df0
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, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x8b
call fcn.14003b9f0
lea rcx, [rsp + 0x90]
mov rdx, rbx
xor r8d, r8d
call fcn.140051c40
lea r14, [rdi + 4]
lea r15, [rdi + 0x2a8]
lea r12, [rdi + 0x260]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x40], rax
lea rax, [rdi + 0x282]
mov qword [rsp + 0x38], rax
lea rbp, [rdi + 0x30]
lea rax, [rsi + 2]
mov qword [rsp + 0x48], rax
jmp 0x140071ef0
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x140072272
mov rcx, rsi
call fcn.1400388c0
mov rcx, rbx
call fcn.1400388c0
cmp byte [rdi], 0
je 0x140071f30
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007209d
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14007209d
mov rdx, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rdx
je 0x140072268
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rdx
test rdx, rdx
jne 0x140071f5c
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 8]
dec rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0x60]
call fcn.140072950
mov rcx, r12
mov rdx, rax
call fcn.1400388d0
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x140071f8c
mov rdx, qword [rdi + 0x2b0]
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
mov rcx, r15
call fcn.140072430
mov r13, rax
mov rdx, qword [rdi + 0x2c0]
mov rcx, r15
call fcn.140072430
mov rcx, r15
mov rdx, rax
mov r8, r13
call fcn.140072340
mov rcx, r15
call fcn.140072a10
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140072020
test eax, eax
jne 0x140072050
movzx eax, byte [rdi + 0x280]
mov rcx, rax
shr rcx, 1
test al, 1
mov rax, qword [rdi + 0x290]
cmove rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
cmovne rcx, qword [rdi + 0x288]
mov qword [rsp + 0x88], rcx
jmp 0x14007203b
lea rax, [0x1401972d0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov rcx, r12
mov rdx, rbx
lea r8, [rsp + 0x80]
call fcn.1400394d0
jmp 0x140072058
mov rcx, rbx
call fcn.140038820
test byte [rsp + 0x60], 1
lea rcx, [rsp + 0x62]
je 0x140072069
mov rcx, qword [rsp + 0x70]
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.1400388c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x1400720e0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], rbp
test rbp, rbp
je 0x140072110
mov rcx, rbp
call fcn.140178b34
mov qword [rsp + 0x58], rax
jmp 0x14007214d
mov r13d, eax
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140072200
cmp r13d, 0x12
je 0x140071ef0
jmp 0x14007221b
mov qword [rsp + 0x58], 0
lea r13, [rsp + 0x80]
mov rcx, r13
lea rdx, str....._base_strings_string_piece.h
mov r8d, 0x7d
lea r9, [0x1401915c0]
call fcn.140030ec0
mov rcx, r13
call fcn.140031080
mov rcx, r13
call fcn.140031090
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.140038870
mov rcx, rdi
mov rdx, rbx
call fcn.140072b30
test al, al
jne 0x140071ee8
mov r13d, dword [r14]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm6
mov rcx, r12
mov rdx, rsi
mov r8, rbx
call fcn.140039d70
test r13b, 0x10
je 0x1400721d0
cmp byte [rdi + 0x278], 0
je 0x1400721d0
test byte [rsi], 1
mov rcx, qword [rsp + 0x48]
je 0x1400721ac
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x1400721d0
mov rcx, r15
mov rdx, rsi
call fcn.1400724f0
nop word cs:[rax + rax]
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.140072c30
test al, al
je 0x140071ee0
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14007222a
test eax, eax
jne 0x140071ee0
jmp 0x140072272
mov rcx, qword [rsp + 0x40]
lea rdx, [0x1401972d0]
call fcn.14002ef08
cmp r13d, 0x12
je 0x140071ef0
cmp dword [rdi + 0x29c], 0
je 0x140071ef0
jmp 0x14007225a
mov rax, qword [rsp + 0x40]
test byte [rax], 1
mov rdx, qword [rsp + 0x38]
je 0x140072240
mov rdx, qword [rdi + 0x290]
test byte [rsp + 0x60], 1
lea rcx, [rsp + 0x62]
je 0x140071ed1
mov rcx, qword [rsp + 0x70]
jmp 0x140071ed1
mov ecx, r13d
call fcn.140056da0
mov dword [rdi + 0x2a0], eax
mov rcx, rsi
call fcn.140038820
jmp 0x14007227c
lea rcx, [rsp + 0x60]
call fcn.1400388c0
lea rcx, [rsp + 0x90]
call fcn.140051f30
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140154030
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret