Function at 0x140002779
Capabilities:
Set file attributes

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x110
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
lea rax, [rbp - 0x11]
mov qword [rbp + 0x80], rax
nop
nop
lea rdx, [rbp - 0x11]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, str.C:Users_USERNAME_AppDataLocalTemp.hidden_sync_folder
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 - 0x11]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x10]
lea rdx, [rbp - 0x40]
mov rcx, rax
call sym.get_actual_path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rdx, qword [rbp + 0xb0]
lea rax, [rbp + 0x10]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::filesystem.exists_std::filesystem::__cxx11::path_const_
xor eax, 1
mov ebx, eax
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.1400a3ba0
test bl, bl
je 0x14000293f
mov rdx, qword [rbp + 0xb0]
lea rax, [rbp + 0x40]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, [rbp + 0x40]
mov rcx, rax
call method.std::filesystem.create_directories_std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x40]
mov rcx, rax
call fcn.1400a3ba0
lea rax, [rbp + 0x77]
mov qword [rbp + 0x78], rax
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.end__
mov rbx, rax
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.begin__
mov rdx, rax
lea rcx, [rbp + 0x77]
lea rax, [rbp - 0x60]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string___gnu_cxx::__normal_iterator_char__std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_______void____gnu_cxx::__normal_i
lea rax, [rbp + 0x77]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov edx, 6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call rax
test eax, eax
setne al
test al, al
je 0x14000291a
lea rax, str.Created_hidden_directory:
mov rdx, rax
mov rax, qword [0x140107db0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [rbp + 0xb0]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010116a]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x140002933
lea rax, str.Failed_to_set_hidden_attribute_for_directory._n
mov rdx, rax
mov rax, qword [0x140107d90]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov ebx, 1
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140002a7b
add rsp, 0x110
pop rbx
pop rsi
pop rbp
ret