Function at 0x140022ee0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
lea rax, [r11 + 0x20]
mov qword [r11 - 0x38], rax
lea rdx, str.SOFTWAREAMDhyprGCTToastsShown
lea rax, [r11 - 0x20]
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x40], rax
mov rbx, rcx
mov qword [r11 - 0x48], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], esi
mov dword [r11 + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test eax, eax
je 0x140022fa8
cmp eax, 0xb7
je 0x140022fa8
lea rdx, str.Hypr_:_incNumberOfToastsShown_:_RegCreateKeyEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, edi
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x88]
lea rcx, [0x140059020]
call fcn.14000dca0
test edi, edi
sete al
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x90], esi
mov dword [rsp + 0x50], 4
jb 0x140022fcc
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140023005
mov eax, dword [rsp + 0x90]
inc eax
jmp 0x14002300a
mov eax, 1
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x90], eax
jb 0x14002301b
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x90]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test eax, eax
je 0x1400230aa
lea rdx, str.Hypr_:_incNumberOfToastsShown_:_RegSetValueEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, edi
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x88]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret