Function at 0x140001b69
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x100], ecx
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8d, 0
lea rax, str.Control_PanelDesktop
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rbp + 0xdc], eax
cmp dword [rbp + 0xdc], 0
je 0x140001c54
lea rax, [rbp + 0x20]
mov edx, dword [rbp + 0xdc]
mov rcx, rax
call dbg.std::__cxx11::to_wstring(long)
mov rax, rbp
lea rdx, [rbp + 0x20]
mov r8, rdx
lea rdx, [0x1400cf1f8]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
mov rax, rbp
mov rcx, rax
call dbg.ErrorMessage(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)
mov rax, rbp
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, str.Failed_to_open_registry_key._Please_notify_Tym_Error_code:
mov rdx, rax
mov rax, qword [0x1400d5680]
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 eax, dword [rbp + 0xdc]
mov edx, eax
call method.std::ostream.operator___long_
mov rcx, rax
lea rax, [0x1400cf055]
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_
mov ebx, 0
jmp 0x140001ee3
lea rax, [rbp - 0x30]
mov edx, dword [rbp + 0x100]
mov rcx, rax
call dbg.std::__cxx11::to_string(int)
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
lea ebx, [rax + 1]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rdx, rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, 1
mov r8d, 0
lea rdx, str.WallpaperStyle
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rbp + 0xdc], eax
cmp dword [rbp + 0xdc], 0
je 0x140001d68
lea rax, [rbp + 0x60]
mov edx, dword [rbp + 0xdc]
mov rcx, rax
call dbg.std::__cxx11::to_wstring(long)
lea rax, [rbp + 0x40]
lea rdx, [rbp + 0x60]
mov r8, rdx
lea rdx, [0x1400cf2c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
lea rax, [rbp + 0x40]
mov rcx, rax
call dbg.ErrorMessage(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)
lea rax, [rbp + 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
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__
lea rax, str.Failed_to_set_WallpaperStyle._Please_notify_Tym_Error_code:
mov rdx, rax
mov rax, qword [0x1400d5680]
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 eax, dword [rbp + 0xdc]
mov edx, eax
call method.std::ostream.operator___long_
mov rcx, rax
lea rax, [0x1400cf055]
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_
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov ebx, 0
jmp 0x140001ed7
lea rax, [rbp + 0x8f]
mov qword [rbp + 0xd0], rax
nop
nop
lea rdx, [rbp + 0x8f]
lea rax, [rbp - 0x50]
mov r8, rdx
lea rdx, [0x1400cf37d]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x8f]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
lea ebx, [rax + 1]
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rdx, rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, 1
mov r8d, 0
lea rdx, str.TileWallpaper
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rbp + 0xdc], eax
cmp dword [rbp + 0xdc], 0
je 0x140001eb6
lea rax, [rbp + 0xb0]
mov edx, dword [rbp + 0xdc]
mov rcx, rax
call dbg.std::__cxx11::to_wstring(long)
lea rax, [rbp + 0x90]
lea rdx, [rbp + 0xb0]
mov r8, rdx
lea rdx, [0x1400cf390]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
lea rax, [rbp + 0x90]
mov rcx, rax
call dbg.ErrorMessage(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)
lea rax, [rbp + 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0xb0]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, str.Failed_to_set_TileWallpaper._Please_notify_Tym_Error_code:
mov rdx, rax
mov rax, qword [0x1400d5680]
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 eax, dword [rbp + 0xdc]
mov edx, eax
call method.std::ostream.operator___long_
mov rcx, rax
lea rax, [0x1400cf055]
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_
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov ebx, 0
jmp 0x140001ecb
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140001f9e
add rsp, 0x168
pop rbx
pop rbp
ret