Function at 0x140011020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
lea r8d, [rbx + 0x13]
lea rdx, str.C:WindowsPrefetch
lea rcx, [rbp + 7]
call fcn.1400066a0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], rbx
mov r8, qword [rbp + 0x17]
lea rcx, [rbp + 0x27]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rbp + 0x27]
lea rcx, [rsp + 0x20]
call fcn.14000cfc0
test eax, eax
jne 0x1400112de
lea rcx, ds:[rbp + 0x27]
call fcn.1400058e0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400110d8
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rbp - 0x69], xmm0
test rbx, rbx
je 0x1400110f0
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov esi, 0xffffffff
test rbx, rbx
je 0x14001114e
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140011149
mov rbx, qword ds:[rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140057e20]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140011149
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140057e20]
jmp 0x14001114e
mov rbx, qword [rsp + 0x28]
cmp qword [rsp + 0x20], 0
je 0x14001121b
mov rdi, qword [rbp - 0x69]
nop
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.1400108a0
mov rax, qword [rbp - 0x59]
mov edx, dword [rbp - 0x51]
test edx, edx
je 0x14001118c
lea ecx, ds:[rax - 1]
test ecx, 0xfffffff7
jne 0x1400112f1
cmp eax, 2
jne 0x140011205
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x19]
call fcn.140005560
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400111fa
test al, 4
je 0x1400111fa
lea rdx, str.Prefetch_file_is_marked_as_system:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rax
call fcn.140008ee0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, ds:[rbp - 0x19]
call fcn.1400058e0
lea rcx, [rbp - 0x69]
call fcn.14000c460
mov rdi, qword [rbp - 0x69]
test rdi, rdi
jne 0x140011160
mov rcx, qword ds:[rbp - 0x61]
test rcx, rcx
je 0x14001126b
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140011266
mov rbx, qword ds:[rbp - 0x61]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140057e20]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140011266
mov rcx, qword ds:[rbp - 0x61]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140057e20]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400112ad
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400112ad
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140057e20]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400112ad
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140057e20]
nop
lea rcx, [rbp + 7]
call fcn.1400058e0
mov rcx, qword ds:[rbp + 0x47]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp + 0x27]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140009ca0
nop
lea r8, ds:[rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140009ca0
int3