joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000df70
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rdx, str.Hypr_:_Toast_:_Dont_ask_again
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 + 0x38]
lea rcx, [0x140059020]
call fcn.14000dca0
call fcn.140022bb0
lea rcx, [0x140059050]
lea rdx, str.Hypr_:_toasts_disabled
test al, al
jne 0x14000dfca
lea rdx, str.Hypr_:_failed_to_disable_toasts
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 + 0x38]
lea rcx, [0x140059020]
add rsp, 0x28
jmp fcn.14000dca0
add rcx, 8
jmp 0x14000df70
Function at 0x140010b40
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140010c0c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140010c0c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140010c25
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140010bfc
cmp byte [rax], 0x5c
jne 0x140010bf6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140010bf6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140010be2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140010bf3
test r8b, 0x10
jne 0x140010bf6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140010bf6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140013ce0
test edi, edi
jne 0x140010b60
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140011ee0
int3

Function at 0x140011100
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, str.Hypr_:_Toast_:_Not_now
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 + 0x38]
lea rcx, [0x140059020]
call fcn.14000dca0
lea rbx, [0x140059190]
mov rcx, rbx
call fcn.140022ee0
lea rcx, [0x140059050]
lea rdx, str.Hypr_:_increment_toasts_counter_for
test al, al
jne 0x140011166
lea rdx, str.Hypr_:_failed_to_increment_toasts_counter_for
call fcn.140001800
cmp qword [0x1400591a8], 0x10
lea rcx, [0x140059050]
mov r8, qword [0x1400591a0]
cmovae rbx, qword [0x140059190]
mov rdx, rbx
call fcn.1400038f0
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 + 0x38]
lea rcx, [0x140059020]
add rsp, 0x20
pop rbx
jmp fcn.14000dca0
Function at 0x140011df0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400593e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011ec3
cmp byte [rcx + 0x71], 0
je 0x140011ec3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140011ebf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140011e84
sub eax, 1
je 0x140011e88
cmp eax, 2
jne 0x140011ebf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140041580
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011eb6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140011ebf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140011e6c
xor al, al
jmp 0x140011e6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140041580
add rsp, 0x60
pop rbx
ret
Function at 0x14001a290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400593e8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001a2bd
xor eax, eax
jmp 0x14001a41a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14001a2e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14001a2e8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14001a41a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001a40d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001a32b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001a356
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001a412
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001a3c5
sub eax, 1
je 0x14001a3c5
cmp eax, 2
jne 0x14001a40d
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001a412
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001a3f3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001a40d
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14001a412
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140041580
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001f690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001f6c1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14001f6d8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001f6fb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001f6fd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001f739
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001f7ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001f774
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001f7ae
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001f7ce
cmp rbx, rax
ja 0x14001f780
test rbx, rbx
je 0x14001f7ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001f7f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14001f811
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001f83e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001f840
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001f899
test ecx, ecx
jle 0x14001f879
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001f899
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001f899
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
xor dword [rax], eax
invalid
Function at 0x140022a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
lea rax, [r11 + 0x10]
mov qword [r11 - 0x38], rax
lea rdx, str.SOFTWAREAMDhyprGCT
lea rax, [r11 - 0x28]
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x40], rax
xor r9d, r9d
mov qword [r11 - 0x48], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], esi
mov bl, 1
mov dword [r11 + 0x10], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test eax, eax
je 0x140022b35
cmp eax, 0xb7
je 0x140022b35
lea rdx, str.Hypr_:_areToastsAllowed_:_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 + 0x80]
lea rcx, [0x140059020]
call fcn.14000dca0
movzx eax, bl
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x98]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x98], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ToastsNotAllowed
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x90], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140022b9a
cmp dword [rsp + 0x80], esi
movzx ebx, bl
cmova ebx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140022bb0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREAMDhyprGCT
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
je 0x140022c72
cmp eax, 0xb7
je 0x140022c72
lea rdx, str.Hypr_:_disallowToasts_:_RegCreateKeyEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x60]
lea rcx, [0x140059020]
call fcn.14000dca0
test ebx, ebx
sete al
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 4
lea rdx, str.ToastsNotAllowed
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
je 0x140022d07
lea rdx, str.Hypr_:_disallowToasts_:_RegSetValueEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x60]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
add rsp, 0x50
pop rbx
ret
Function at 0x140022d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x38], rax
lea rdx, str.SOFTWAREAMDhyprGCTToastsShown
lea rax, [r11 - 0x20]
mov qword [r11 - 0x20], rbx
mov qword [r11 - 0x40], rax
mov rdi, rcx
mov qword [r11 - 0x48], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
mov dword [r11 + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test eax, eax
je 0x140022de5
cmp eax, 0xb7
je 0x140022de5
lea rdx, str.Hypr_:_getNumberOfToastsShown_:_RegCreateKeyEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, esi
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 eax, ebx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
cmp qword [rdi + 0x18], 0x10
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x98], 4
jb 0x140022e09
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x88]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmove ebx, dword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400230d0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], 0
lea rdx, str.SOFTWAREAMDhyprGCT
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x14002318a
mov rcx, qword [rsp + 0x38]
lea rdx, str.ToastsNotAllowed
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, eax
test eax, eax
je 0x140023174
lea rdx, str.Hypr_:_resetToastsAllowed_:_RegDeleteValue_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x30]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret
lea rdx, str.Hypr_:_resetToastsAllowed_:_RegOpenKey_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x30]
lea rcx, [0x140059020]
call fcn.14000dca0
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret
Function at 0x1400231f0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREAMDhyprGCTToastsShown
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x1400232b3
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov ebx, eax
test eax, eax
je 0x14002329d
lea rdx, str.Hypr_:_resetToastsShown_:_RegDeleteTree_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x40]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
add rsp, 0x30
pop rbx
ret
lea rdx, str.Hypr_:_resetToastsShown_:_RegOpenKeyEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
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 + 0x40]
lea rcx, [0x140059020]
call fcn.14000dca0
test ebx, ebx
sete al
add rsp, 0x30
pop rbx
ret