Function at 0x14000145b
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1b0], rcx
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400c87d0
lea rax, [rbp + 0x14e]
mov qword [rbp + 0x180], rax
nop
nop
lea rdx, [rbp + 0x14e]
lea rax, [rbp - 0x20]
mov r8, rdx
lea rdx, str.C:Users
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x14e]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, rbp
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call rax
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0xffffffffffffffff
je 0x1400016c0
mov eax, dword [rbp]
and eax, 0x10
test eax, eax
je 0x14000168a
mov rax, rbp
add rax, 0x2c
lea rdx, [0x14010e044]
mov rcx, rax
call sym.strcmp
test eax, eax
je 0x14000168a
mov rax, rbp
add rax, 0x2c
lea rdx, [0x14010e046]
mov rcx, rax
call sym.strcmp
test eax, eax
je 0x14000168a
mov eax, dword [rbp]
and eax, 4
test eax, eax
jne 0x14000168a
lea rax, [rbp + 0x14f]
mov qword [rbp + 0x178], rax
nop
nop
lea rcx, [rbp + 0x14f]
mov rax, rbp
lea rdx, [rax + 0x2c]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x14f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x60]
lea rdx, str.All_Users
mov rcx, rax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x1400015ea
lea rax, [rbp - 0x60]
lea rdx, str.Default
mov rcx, rax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x1400015ea
lea rax, [rbp - 0x60]
lea rdx, str.Default_User
mov rcx, rax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x1400015ea
lea rax, [rbp - 0x60]
lea rdx, str.Public
mov rcx, rax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x1400015ea
mov eax, 1
jmp 0x1400015ef
mov eax, 0
test al, al
je 0x14000167e
lea rax, [rbp + 0x150]
lea rdx, [rbp - 0x60]
mov r8, rdx
lea rdx, str.C:Users_
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x40]
lea rdx, [rbp + 0x150]
lea r8, [0x14010e079]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x150]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call rax
cmp eax, 0xffffffff
setne al
test al, al
je 0x140001672
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.push_back_std::__cxx11::basic_string_char__std::char_tra
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rdx, rbp
mov rax, qword [rbp + 0x188]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileA]
call rax
test eax, eax
setne al
test al, al
jne 0x1400014f2
mov rax, qword [rbp + 0x188]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x14000175a
mov rax, qword [rbp + 0x1b0]
add rsp, 0x218
pop rbx
pop rbp
ret