Function at 0x1400041c6
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x2d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x270], rcx
lea rax, [rbp + 0x1c0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0
lea rax, str.Control_PanelDesktop
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call rax
test eax, eax
sete al
test al, al
je 0x140004300
mov dword [rbp + 0x1bc], 0x208
mov rax, qword [rbp + 0x1e8]
lea rdx, [rbp + 0x1bc]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
lea rdx, str.Wallpaper
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call rax
test eax, eax
sete al
test al, al
je 0x14000428f
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x1c0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x1400042eb
lea rax, [rbp + 0x21f]
mov rcx, rax
call fcn.1400885c0
lea rdx, [rbp + 0x21f]
lea rax, [rbp + 0x1f0]
mov r8, rdx
lea rdx, str.Failed_to_get_desktop_background_path
mov rcx, rax
call dbg.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 + 0x1f0]
mov rcx, rax
call dbg.Log::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x1f0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
lea rax, [rbp + 0x21f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
jmp 0x14000435c
lea rax, [rbp + 0x24f]
mov rcx, rax
call fcn.1400885c0
lea rdx, [rbp + 0x24f]
lea rax, [rbp + 0x220]
mov r8, rdx
lea rdx, str.Failed_to_open_registry_key_for_desktop_background_path
mov rcx, rax
call dbg.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 + 0x220]
mov rcx, rax
call dbg.Log::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x220]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
lea rax, [rbp + 0x24f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x1c0]
mov r8d, 2
mov rdx, rax
mov rcx, qword [rbp + 0x270]
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____c
nop
lea rax, [rbp + 0x1c0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()
jmp 0x1400043f7
mov rax, qword [rbp + 0x270]
add rsp, 0x2d8
pop rbx
pop rbp
ret