joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025b30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140025b5a
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r9d, dword [rbx + 0x50]
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x48]
call fcn.140010870
mov eax, dword [rbx + 0x50]
mov dword [rsp + 0x30], eax
lea rax, str.CRealtekJack::GetOldRetask___on_jack_Index_:_d
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
lea r8, [0x1400a4128]
mov edx, 0x27a
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140025c3c
mov dword [rsp + 0x80], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025c56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x78]
add rsp, 0x60
pop rbx
ret

Function at 0x140025c60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140025c8a
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, dword [rbx + 0x50]
lea rdx, str.JackRetask_d
lea rcx, [rsp + 0x38]
call fcn.140010870
xor eax, eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140025d28
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025d42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
Function at 0x1400267f0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
mov r8d, dword [rcx + 0x50]
lea rdx, [rsp + 0x70]
call fcn.140023df0
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140026868
lea rdx, str.JackStatusChangedWhenPowerDown
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140026887
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x58
ret
Function at 0x140028940
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x14002896e
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov r9d, dword [rbx + 0x50]
lea r8, str.JackStatus
lea rdx, str._s_d
lea rcx, [rbp - 0x20]
call fcn.140010870
xor edi, edi
mov dword [rbp + 0x30], edi
mov qword [rbp - 0x30], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140028a03
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3c]
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rbx + 0x50]
lea rdx, [rbp - 0x18]
call fcn.140023df0
mov dword [rbp + 0x28], edi
mov qword [rbp - 0x28], rdi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140028a7a
mov dword [rbp - 0x40], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.JackStatus
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x28], edi
jne 0x140028a87
cmp dword [rbp + 0x30], edi
je 0x140028a87
mov dil, 1
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028aa8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140028ac4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, dil
add rsp, 0x70
pop rdi
pop rbx
pop rbp
ret
Function at 0x140028d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov edi, ecx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140028dee
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.MaxxAudioOptions
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dword [rsp + 0x30], 0x4000000
je 0x140028e76
mov dword [rsp + 0x34], 0x1f4
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140028e72
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.MuteOnJack
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x70]
call fcn.1400231d0
nop
xor r9d, r9d
xor r8d, r8d
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140023c20
mov dword [rbp + 0xb4], ebx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140027b20
nop
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.14000c370
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028ed8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140028b40
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025050
lea rcx, [rsp + 0x70]
call fcn.140026890
nop
lea rcx, [rsp + 0x70]
call fcn.1400237b0
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14003aa30
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140029710
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rbx, rdx
lea rcx, [rsp + 0x44]
xor edx, edx
mov rdi, r8
lea r8d, [rdx + 0x6c]
call fcn.14005b890
mov rax, qword [rbx]
lea rcx, [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x58], rax
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x44], 0x40
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1400297b8
mov rcx, qword [rsp + 0xa8]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov edx, 0x76d
mov qword [rsp + 0x30], rax
lea rax, str.ShellExecute_ok_:Execute__s
jmp 0x1400297d0
lea rax, str.ShellExecuteEx_failed
mov edx, 0x771
mov qword [rsp + 0x30], rax
lea rax, [0x1400848d0]
mov qword [rsp + 0x28], rax
lea r8, [0x1400a4128]
mov r9d, 2
mov qword [rsp + 0x20], rsi
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
mov rdx, qword [rbx]
sub rdx, 0x18
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140029812
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002982c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14002d040
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rsi, r9
mov rbp, r8
mov edi, 0x80004005
test r8, r8
jne 0x14002d073
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
jmp 0x14002d105
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test rsi, rsi
jne 0x14002d0c6
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002d105
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x14002d0f8
cmp qword [rsp + 0x70], rbx
je 0x14002d105
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x70]
mov r9d, 1
inc eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
test edi, edi
mov rsi, qword [rsp + 0x78]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14002d130
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov r14, r9
mov rbx, r8
mov rdi, rcx
xor esi, esi
mov dword [rax - 0x38], esi
mov rdx, qword [rsp + 0x90]
call fcn.140013140
mov ebp, 1
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d29f
mov dword [rsp + 0x98], esi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rsp + 0x98]
test edx, edx
je 0x14002d294
jns 0x14002d1f3
mov ecx, 0x80070057
call fcn.1400015b0
int3
mov rax, qword [rdi]
sub ebp, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or ebp, eax
jge 0x14002d20a
mov rcx, rdi
call fcn.14000c830
mov rbx, qword [rdi]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14002d240
test rax, rax
je 0x14002d25b
mov eax, dword [rsp + 0x98]
dec eax
mov byte [rax + rbx], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002d272
movsxd rdx, dword [rcx - 0xc]
call fcn.14005f880
mov esi, eax
test eax, eax
js 0x14002d289
mov rax, qword [rdi]
cmp esi, dword [rax - 0xc]
jg 0x14002d289
mov dword [rax - 0x10], esi
movsxd rcx, esi
mov rax, qword [rdi]
mov byte [rcx + rax], 0
jmp 0x14002d294
mov ecx, 0x80070057
call fcn.1400015b0
int3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14002d2c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rsi, r8
mov edi, 0x80004005
test r8, r8
jne 0x14002d2f9
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
jmp 0x14002d36d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002d36d
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
test edi, edi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14002d520
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002d5b7
test rdi, rdi
jne 0x14002d57e
lea ebx, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rax, [rsp + 0x50]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
cmp eax, 2
setne bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14002f800
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
xor edi, edi
lea rax, [r11 - 0x3c]
mov qword [r11 - 0x58], rax
mov rsi, r9
lea rax, [r11 - 0x28]
mov dword [rsp + 0x50], edi
mov qword [r11 - 0x60], rax
mov r14, r8
mov qword [r11 - 0x68], rdi
mov r15, rdx
mov rbp, rcx
mov dword [rsp + 0x28], 0x20019
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov qword [r11 - 0x28], rdi
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002f8b9
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x54], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140088dd0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002f8b9
cmp dword [rsp + 0x58], 4
je 0x14002f959
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareConexant
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002f97b
test rbx, rbx
je 0x14002f911
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rbx, qword [rsp + 0x68]
test edi, edi
jne 0x14002f97b
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x140088dd0]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002f97b
cmp dword [rsp + 0x54], 4
jne 0x14002f97b
mov ecx, dword [rsp + 0x50]
mov dil, 1
movzx eax, cx
mov byte [rbp], cl
shr ecx, 0x10
shr ax, 8
mov byte [r14], cl
shr cx, 8
mov byte [rsi], cl
mov byte [r15], al
jmp 0x14002f97e
xor dil, dil
test rbx, rbx
je 0x14002f98c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140031d80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rbx, rcx
mov dword [rsp + 0x40], 0x9c4
xor ecx, ecx
mov r9d, 0x20019
mov qword [rsp + 0x58], rcx
xor r8d, r8d
mov qword [rbx + 8], rcx
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x40], rax
lea rax, vtable.CAutoMuteOnHibernate.1.0
mov qword [rbx], rax
lea rax, vtable.CAutoMuteOnHibernate.0
mov qword [rbx + 0x48], rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbx + 0x30], rcx
mov dword [rbx + 0x38], ecx
mov qword [rbx + 0x58], rcx
mov qword [rbx + 0x78], rcx
mov qword [rbx + 0x90], rax
lea rax, vtable.CPowerState.1.0
mov qword [rbx + 0x50], rax
lea rax, vtable.CPowerState.0
mov qword [rbx + 0x98], rax
lea rax, vtable.CSuspendResumeNotification.0
mov qword [rbx + 0x80], rcx
mov dword [rbx + 0x88], ecx
mov qword [rbx + 0xa0], rax
lea rax, [rsp + 0x58]
mov byte [rbx + 0xa8], cl
mov qword [rbx + 0xb0], rcx
mov qword [rbx + 0xb8], rcx
mov qword [rbx + 0xc0], rcx
mov qword [rbx + 0xc8], rcx
mov qword [rbx + 0xd0], rcx
mov qword [rbx + 0xd8], rcx
mov qword [rbx + 0xe0], rcx
mov qword [rbx + 0xe8], rcx
mov qword [rbx + 0xf0], rcx
mov qword [rbx + 0x100], rcx
mov rcx, 0xffffffff80000002
mov dword [rbx + 0xf8], 0x9c4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140031ed4
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.MuteTimeout
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0xf8], eax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140032fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
lea rdx, str.BatterySaveModeOff
lea rax, [rsp + 0x48]
mov rbx, rcx
mov rcx, qword [rcx + 0xf0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x40], 0
sete al
cmp byte [rbx + 0x108], al
je 0x140033009
mov rcx, rbx
mov byte [rbx + 0x108], al
call fcn.140033040
mov r9, qword [rbx + 0xf8]
xor edx, edx
mov rcx, qword [rbx + 0xf0]
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
add rsp, 0x30
pop rbx
ret
Function at 0x140034020
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], 1
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [rsp + 0x58], rbx
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400340a2
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ShowJackPopup
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], ebx
setne bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140034230
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x140], rax
test byte [rdx + 0x10], 1
mov rsi, rdx
mov ecx, 0x4e4e4e
jne 0x140034267
mov ecx, 0xcc8700
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x20]
lea rdx, [rsi + 0x28]
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword [rsi + 0x20]
mov edx, 0xffffff
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsi + 0x20]
mov edx, 1
mov ebx, eax
call qword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14005b890
mov rcx, qword [rsi + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rsi + 0x20]
lea r9, [rsi + 0x28]
or r8d, 0xffffffff
mov dword [rsp + 0x20], 0x25
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DrawTextA]
mov rcx, qword [rsi + 0x20]
mov edx, ebx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsi + 0x20]
mov edx, 2
call qword [sym.imp.GDI32.dll_SetBkMode]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14003aa30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret