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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002ccca
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140064950
lea rcx, [rdx + 0xc8]
call fcn.140010630
test rax, rax
je 0x14002ccf7
cmp dword [rax + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 0
jne 0x14002ccf7
mov r8, qword [rax]
lea rdx, [rbx - 8]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [r8 + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14002cd00
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002cd2a
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140064950
cmp qword [rdx + 0x110], 0
je 0x14002cd58
lea rcx, [rdx + 0xc8]
call fcn.140010630
test rax, rax
je 0x14002cd58
mov r8, qword [rax]
lea rdx, [rbx - 8]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [r8 + 0x40]
add rsp, 0x20
pop rbx
ret
Function at 0x14002e8b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov ebx, r8d
test rdx, rdx
jne 0x14002e8e0
mov r8d, 0x31e
lea rdx, str.CCustomizeAcer::EnableAcerTrueHarmony
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x40
pop rbx
jmp fcn.140064950
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea r15, [rdx + 0x10]
call fcn.14000b810
xor r14d, r14d
mov ecx, dword [rax + 0x1f4]
and ecx, 0x8000000
test ebx, ebx
je 0x14002ea8f
mov qword [rsp + 0x58], rbp
lea r9d, [r14 + 1]
mov qword [rsp + 0x60], rsi
test ecx, ecx
mov qword [rsp + 0x68], rdi
mov rcx, r15
je 0x14002e94f
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
lea rdx, [0x14010fa20]
call fcn.1400034c0
mov r8d, dword [rsp + 0x50]
lea r9d, [r14 + 1]
lea rdx, [0x14010f738]
mov rcx, r15
jmp 0x14002e959
mov r8d, r9d
lea rdx, [0x14010fb10]
mov dword [rsp + 0x20], r14d
call fcn.1400035e0
xor r9d, r9d
lea r8, str.GFX_StereoEnhance_Enable
lea rdx, str.Acer
lea rcx, [0x1401a5f30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.RTK_VOICE_ENHANCE
lea rdx, str.Acer
mov ebx, eax
lea rcx, [0x1401a5f30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.GFX_VirtualBass_Enable
lea rdx, str.Acer
mov edi, eax
lea rcx, [0x1401a5f30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.RTK_MP3_ENHANCE
lea rdx, str.Acer
mov esi, eax
lea rcx, [0x1401a5f30]
call fcn.140005c30
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebx
lea rdx, [0x14010fae0]
mov rcx, r15
mov ebp, eax
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, edi
lea rdx, [0x14010faf8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, esi
lea rdx, [0x14010fab0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebp
lea rdx, [0x14010fac8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x14010fa38]
mov rcx, r15
call fcn.1400035e0
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
test ecx, ecx
je 0x14002ead6
lea rbx, [0x14010f738]
mov dword [rsp + 0x50], r14d
mov rdx, rbx
lea r8, [rsp + 0x50]
mov r9d, 1
mov rcx, r15
call fcn.1400034c0
mov r8d, dword [rsp + 0x50]
lea rdx, [0x14010fa20]
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov rcx, r15
call fcn.1400035e0
jmp 0x14002eadd
lea rbx, [0x14010fb10]
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x14010fae0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x14010faf8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x14010fab0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x14010fac8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, r9d
lea rdx, [0x14010fa38]
mov rcx, r15
call fcn.1400035e0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x1400307b0
Capabilities:
Print debug messages

Disassembly:
cmp edx, 0x404
jne 0x140030994
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x40], rbx
lea rcx, [0x140114db0]
mov qword [rsp + 0x58], rsi
mov r8d, 0x54a
lea rdx, str.CCustomizeAcer::OnTimer
call fcn.140064950
call fcn.14000bb60
mov rcx, rax
mov edx, 0x404
call fcn.1400c3be0
xor ebx, ebx
lea rsi, [rdi + 0x50]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
lea rdx, [0x140113908]
mov rcx, rsi
lea r9d, [rbx + 1]
call fcn.1400034c0
mov eax, dword [0x1401a6a78]
lea rdx, str.CCustomizeAcer::OnTimer
mov edi, dword [rsp + 0x48]
lea rcx, str._s__d_nMode__d__bVoiping__d
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, 0x552
call fcn.140064950
cmp edi, 1
jne 0x14003091e
cmp dword [0x1401a6a78], ebx
jne 0x14003096c
mov r8d, 0x554
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140114db0]
call fcn.140064950
call fcn.1400c0da0
cmp dword [0x1401a4dbc], ebx
jbe 0x1400308e9
mov qword [rsp + 0x50], rbp
lea rbp, [0x140000000]
nop dword [rax]
lea rdi, [rbx*8]
xor r8d, r8d
mov rdx, qword [rdi + rbp + 0x1a4e00]
mov rcx, qword [rdi + rbp + 0x1a4e40]
call fcn.1400c14f0
test eax, eax
je 0x1400308da
call fcn.14000b670
mov rdx, qword [rdi + rbp + 0x1a4e40]
mov rcx, rax
call fcn.1400897a0
test al, al
jne 0x1400308da
mov rdx, qword [rdi + rbp + 0x1a4dc0]
call fcn.1400c1310
inc ebx
cmp ebx, dword [0x1401a4dbc]
jb 0x140030890
mov rbp, qword [rsp + 0x50]
mov r8d, 0x561
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, str._s__d_SendServiceEventToUWP___SRV_CMD_ShowVoipToast
call fcn.140064950
mov rcx, qword [rsi]
mov edx, 0x30000006
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.1400c2500
test edi, edi
jne 0x14003096c
mov r8d, 0x565
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140114db0]
call fcn.140064950
xor r9d, r9d
mov dword [0x1401a6a78], ebx
mov r8d, 0x567
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, str._s__d_reset_bVoiping__d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.140064950
mov r8d, 0x56a
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140114db0]
call fcn.140064950
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140030d00
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14001ef50
test dword [rax + 4], 0x200
je 0x140030e12
call fcn.14001ef50
test byte [rax + 4], 0x20
je 0x140030e12
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov dword [rsp + 0x38], esi
call fcn.140033da0
test eax, eax
je 0x140030d58
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rsp + 0x38]
call qword [rax + 0xd8]
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400c39b0
call fcn.14000b9e0
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140007090
test rdi, rdi
lea rbx, [rdi + 0x10]
cmove rbx, rsi
call fcn.140034400
mov rdx, rbx
lea rcx, [rax + 8]
call fcn.140007090
mov qword [rdi + 0x48], rsi
call fcn.140006fb0
mov rcx, rax
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
call fcn.1400989d0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x48], rax
test rax, rax
je 0x140030df4
lea rdx, str.GlobalNN
mov rcx, rax
call fcn.140098040
mov rcx, qword [rdi + 0x48]
lea rdx, [rdi + 0x18]
add rcx, 0x20
add rsp, 0x20
pop rdi
jmp fcn.140007090
mov r8d, 0x5d
lea rdx, str.CCustomizeASUS::NormalUserStart
lea rcx, str._s__d_RegisterNotifier_fail
add rsp, 0x20
pop rdi
jmp fcn.140064950
add rsp, 0x20
pop rdi
ret
Function at 0x140033f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
test rdx, rdx
jne 0x140033fe2
mov r8d, 0x406
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140064950
xor eax, eax
jmp 0x140034123
mov esi, 0x63
xor eax, eax
mov qword [rsp + 0x50], rax
xor ebp, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x38], ebp
mov ebx, 1
mov r9d, ebx
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400298b0
test eax, eax
je 0x140034050
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140064950
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400340b8
jmp 0x1400340b2
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.GlobalNN
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400340aa
cmp dword [rsp + 0x40], 4
jne 0x1400340aa
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x1400340a6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebx
jmp 0x1400340ba
test rdi, rdi
je 0x1400340b8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebp
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, 0x40b
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.140064950
test edi, edi
je 0x140034103
cmp esi, 1
jne 0x1400340e8
mov dword [r14], ebx
jmp 0x140034121
test esi, esi
jne 0x1400340f1
mov dword [r14], ebp
jmp 0x140034121
mov r9d, esi
mov r8d, 0x41a
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x140034113
xor r9d, r9d
mov r8d, 0x420
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.140064950
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ce210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400346f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [r11 - 0x50], rcx
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx + 8], rax
xor r14d, r14d
mov qword [rcx + 0x10], r14
cmp dword [0x1401a5f40], r14d
je 0x14003490c
call fcn.14000b810
test dword [rax + 0xc0], 0x200
je 0x14003490c
mov ebp, 0x3e7
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x40], r14d
lea r9d, [r14 + 1]
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400298b0
test eax, eax
je 0x1400347c9
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140064950
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003481f
jmp 0x140034819
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.JackImpedance
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140034811
cmp dword [rsp + 0x48], 4
jne 0x140034811
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x14003481f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.14000b9e0
mov rcx, rax
call fcn.140094f30
call fcn.14000b9e0
mov rcx, rax
call fcn.140094ed0
mov rbx, rax
nop dword [rax]
test rbx, rbx
je 0x140034898
call fcn.14000b9e0
call fcn.14000b9e0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140034840
cmp dword [rcx + 0x1ac], 1
jne 0x140034840
add rcx, 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x1401138f0]
call fcn.1400035e0
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.140064950
call fcn.14000b9e0
mov rcx, rax
call fcn.140094fb0
call fcn.140006fb0
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.1400989d0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400348eb
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.140098040
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140007090
jmp 0x14003490c
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.140064950
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ce210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140035040
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov dword [rsp + 0x50], eax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [r11 - 0x30]
call fcn.1400298b0
test eax, eax
je 0x1400350c9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140064950
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140035151
jmp 0x14003514b
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.SkipActionForS0
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140035143
cmp dword [rsp + 0x40], 4
jne 0x140035143
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14003511f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140035151
mov r8d, 0x63
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.140064950
mov eax, 1
jmp 0x140035153
test rbx, rbx
je 0x140035151
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ce210
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140036060
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
movsxd rdi, r8d
mov dword [rsp + 0x30], 0
cmp edi, 0xf
jg 0x14003615d
call fcn.14002c780
mov rbx, rax
test rax, rax
jne 0x1400360b8
mov r8d, 0x16f
lea rdx, str.CCustomizeHonor::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.140064950
mov edx, edi
mov rcx, rbx
call fcn.1400670f0
imul rcx, rdi, 0xb0
movzx ebx, word [rcx + rbx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
shr ebx, 1
and ebx, 1
mov qword [rsp + 0x38], 0
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140036168
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140114d28]
lea rcx, [rsp + 0x38]
call fcn.1400071a0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x1401a5f38]
call fcn.140085100
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003615d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
int3

Function at 0x140036490
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x1400364d4
call fcn.140035420
test eax, eax
je 0x140036524
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42d
call fcn.1400c3be0
mov r8d, 0x1ab
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x140114db0]
add rsp, 0x38
jmp fcn.140064950
cmp edx, 0x432
jne 0x140036524
mov r8d, 0x1b1
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.140064950
call fcn.14000bb60
mov rcx, rax
mov edx, 0x432
call fcn.1400c3be0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140085100
add rsp, 0x38
ret

Function at 0x14003a9c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0xb0]
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x20], eax
mov r9d, edx
lea rcx, str._s__d_bSetGlobalNN___d__current_global_NN___d
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x5d2
call fcn.140064950
mov rax, qword [0x1401a5f30]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x1401a5f30]
call qword [rax + 0x28]
test eax, eax
jne 0x14003aa41
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x5d8
lea rcx, str._s__d_SetGloablNN_fail__bSetGloablNN___d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140064950
cmp dword [rdi + 0xb0], ebx
je 0x14003aa67
mov dword [rdi + 0xb0], ebx
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400c39b0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003b070
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
call qword [rax + 0xf0]
test eax, eax
jne 0x14003b0c7
mov r8d, 0x653
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_not_support_customization_for_display_mode__return_Unknow_n
call fcn.140064950
xor eax, eax
jmp 0x14003b234
mov ebx, 0x10
mov ecx, 0x2003
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
mov ebp, eax
mov r9d, eax
mov r8d, 0x65b
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_slate_mode_reg___d
call fcn.140064950
lea edi, [rbx + 0x53]
xor eax, eax
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x38], r14d
lea r9d, [rbx - 0xf]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400298b0
test eax, eax
je 0x14003b160
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140064950
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003b1b6
jmp 0x14003b1b0
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Orientation
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003b1a8
cmp dword [rsp + 0x40], 4
jne 0x14003b1a8
mov edi, dword [rsp + 0x38]
test rsi, rsi
je 0x14003b1b6
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, edi
mov r8d, 0x65f
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_Orientation_reg___d
call fcn.140064950
cmp ebp, 0x63
je 0x14003b216
cmp ebp, 1
je 0x14003b216
lea eax, [rdi - 4]
cmp eax, 1
jbe 0x14003b211
cmp edi, 3
jne 0x14003b1ee
lea ebx, [rdi + 2]
jmp 0x14003b216
cmp edi, 2
jne 0x14003b1f8
lea ebx, [rdi + 1]
jmp 0x14003b216
cmp edi, 1
jne 0x14003b202
lea ebx, [rdi + 3]
jmp 0x14003b216
mov ebx, r14d
mov eax, 2
test edi, edi
cmove ebx, eax
jmp 0x14003b216
mov ebx, 1
mov r9d, ebx
mov r8d, 0x684
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_dwMachineDisplayMode___d
call fcn.140064950
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ce210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003ff20
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.14000b810
test byte [rax + 0x2dc], 0xf
je 0x140040092
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 1
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400400aa
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r9, str.HP_CONTROL
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140114d28]
lea rcx, [rsp + 0x50]
call fcn.1400071a0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140040076
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140040076
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.HP_CONTROL_DefVolumeLevelEnable
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x140040076
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0x1014
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.140064950
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140040092
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ce210
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x1400439c0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rdx
test rdx, rdx
jne 0x1400439ff
mov r8d, 0x156d
lea rdx, str.CCustomizeHP::OnNamedPipeEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140064950
cmp dword [rdx], 0x30000003
jne 0x140043a87
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140043a92
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x140114aa8]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004bf0
test al, al
jne 0x140043a6b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x140043a50
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004e70
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.140004ab0
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400ca3d0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
int3