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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002d35a
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140065460
lea rcx, [rdx + 0xc8]
call fcn.140010890
test rax, rax
je 0x14002d387
cmp dword [rax + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 0
jne 0x14002d387
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 0x14002d390
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002d3ba
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.140065460
cmp qword [rdx + 0x110], 0
je 0x14002d3e8
lea rcx, [rdx + 0xc8]
call fcn.140010890
test rax, rax
je 0x14002d3e8
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 0x14002ef40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov ebx, r8d
test rdx, rdx
jne 0x14002ef70
mov r8d, 0x31e
lea rdx, str.CCustomizeAcer::EnableAcerTrueHarmony
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x40
pop rbx
jmp fcn.140065460
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 0x14002f11f
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 0x14002efdf
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
lea rdx, [0x140114a30]
call fcn.1400034c0
mov r8d, dword [rsp + 0x50]
lea r9d, [r14 + 1]
lea rdx, [0x140114748]
mov rcx, r15
jmp 0x14002efe9
mov r8d, r9d
lea rdx, [0x140114b20]
mov dword [rsp + 0x20], r14d
call fcn.1400035e0
xor r9d, r9d
lea r8, str.GFX_StereoEnhance_Enable
lea rdx, str.Acer
lea rcx, [0x1401aef30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.RTK_VOICE_ENHANCE
lea rdx, str.Acer
mov ebx, eax
lea rcx, [0x1401aef30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.GFX_VirtualBass_Enable
lea rdx, str.Acer
mov edi, eax
lea rcx, [0x1401aef30]
call fcn.140005c30
xor r9d, r9d
lea r8, str.RTK_MP3_ENHANCE
lea rdx, str.Acer
mov esi, eax
lea rcx, [0x1401aef30]
call fcn.140005c30
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebx
lea rdx, [0x140114af0]
mov rcx, r15
mov ebp, eax
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, edi
lea rdx, [0x140114b08]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, esi
lea rdx, [0x140114ac0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebp
lea rdx, [0x140114ad8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x140114a48]
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 0x14002f166
lea rbx, [0x140114748]
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, [0x140114a30]
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov rcx, r15
call fcn.1400035e0
jmp 0x14002f16d
lea rbx, [0x140114b20]
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, [0x140114af0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x140114b08]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x140114ac0]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x140114ad8]
mov rcx, r15
call fcn.1400035e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, r9d
lea rdx, [0x140114a48]
mov rcx, r15
call fcn.1400035e0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x140030e60
Capabilities:
Print debug messages

Disassembly:
cmp edx, 0x404
jne 0x140031044
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x40], rbx
lea rcx, [0x140119e10]
mov qword [rsp + 0x58], rsi
mov r8d, 0x54c
lea rdx, str.CCustomizeAcer::OnTimer
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x404
call fcn.1400c8d80
xor ebx, ebx
lea rsi, [rdi + 0x50]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
lea rdx, [0x140118948]
mov rcx, rsi
lea r9d, [rbx + 1]
call fcn.1400034c0
mov eax, dword [0x1401afa80]
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, 0x554
call fcn.140065460
cmp edi, 1
jne 0x140030fce
cmp dword [0x1401afa80], ebx
jne 0x14003101c
mov r8d, 0x556
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140119e10]
call fcn.140065460
call fcn.1400c5e50
cmp dword [0x1401addbc], ebx
jbe 0x140030f99
mov qword [rsp + 0x50], rbp
lea rbp, [0x140000000]
nop dword [rax]
lea rdi, [rbx*8]
xor r8d, r8d
mov rdx, qword [rdi + rbp + 0x1ade00]
mov rcx, qword [rdi + rbp + 0x1ade40]
call fcn.1400c65a0
test eax, eax
je 0x140030f8a
call fcn.14000b670
mov rdx, qword [rdi + rbp + 0x1ade40]
mov rcx, rax
call fcn.14008a360
test al, al
jne 0x140030f8a
mov rdx, qword [rdi + rbp + 0x1addc0]
call fcn.1400c63c0
inc ebx
cmp ebx, dword [0x1401addbc]
jb 0x140030f40
mov rbp, qword [rsp + 0x50]
mov r8d, 0x563
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, str._s__d_SendServiceEventToUWP___SRV_CMD_ShowVoipToast
call fcn.140065460
mov rcx, qword [rsi]
mov edx, 0x30000006
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.1400c75b0
test edi, edi
jne 0x14003101c
mov r8d, 0x567
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140119e10]
call fcn.140065460
xor r9d, r9d
mov dword [0x1401afa80], ebx
mov r8d, 0x569
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.140065460
mov r8d, 0x56c
lea rdx, str.CCustomizeAcer::OnTimer
lea rcx, [0x140119e10]
call fcn.140065460
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400313b0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14001f1b0
test dword [rax + 4], 0x200
je 0x1400314c2
call fcn.14001f1b0
test byte [rax + 4], 0x20
je 0x1400314c2
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov dword [rsp + 0x38], esi
call fcn.140034470
test eax, eax
je 0x140031408
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.1400c8b50
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.140034ad0
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.1400996f0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x48], rax
test rax, rax
je 0x1400314a4
lea rdx, str.GlobalNN
mov rcx, rax
call fcn.140098d60
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.140065460
add rsp, 0x20
pop rdi
ret
Function at 0x140034660
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
test rdx, rdx
jne 0x1400346b2
mov r8d, 0x408
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x1400347f3
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.140029f10
test eax, eax
je 0x140034720
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140034788
jmp 0x140034782
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 0x14003477a
cmp dword [rsp + 0x40], 4
jne 0x14003477a
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140034776
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebx
jmp 0x14003478a
test rdi, rdi
je 0x140034788
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, 0x40d
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.140065460
test edi, edi
je 0x1400347d3
cmp esi, 1
jne 0x1400347b8
mov dword [r14], ebx
jmp 0x1400347f1
test esi, esi
jne 0x1400347c1
mov dword [r14], ebp
jmp 0x1400347f1
mov r9d, esi
mov r8d, 0x41c
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x1400347e3
xor r9d, r9d
mov r8d, 0x422
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.140065460
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
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 0x140034dc0
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 [0x1401a4010]
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 [0x1401aef40], r14d
je 0x140034fdc
call fcn.14000b810
test dword [rax + 0xc0], 0x200
je 0x140034fdc
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.140029f10
test eax, eax
je 0x140034e99
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140034eef
jmp 0x140034ee9
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 0x140034ee1
cmp dword [rsp + 0x48], 4
jne 0x140034ee1
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x140034eef
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.140095b00
call fcn.14000b9e0
mov rcx, rax
call fcn.140095aa0
mov rbx, rax
nop dword [rax]
test rbx, rbx
je 0x140034f68
call fcn.14000b9e0
call fcn.14000b9e0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140034f10
cmp dword [rcx + 0x1ac], 1
jne 0x140034f10
add rcx, 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x140118930]
call fcn.1400035e0
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.140065460
call fcn.14000b9e0
mov rcx, rax
call fcn.140095b80
call fcn.140006fb0
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.1400996f0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140034fbb
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.140098d60
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140007090
jmp 0x140034fdc
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.140065460
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d37a0
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 0x140035710
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 [0x1401a4010]
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.140029f10
test eax, eax
je 0x140035799
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140035821
jmp 0x14003581b
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 0x140035813
cmp dword [rsp + 0x40], 4
jne 0x140035813
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x1400357ef
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140035821
mov r8d, 0x63
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.140065460
mov eax, 1
jmp 0x140035823
test rbx, rbx
je 0x140035821
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.1400d37a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140036730
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 0x14003682d
call fcn.14002ce10
mov rbx, rax
test rax, rax
jne 0x140036788
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.140065460
mov edx, edi
mov rcx, rbx
call fcn.140067c00
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 0x140036838
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, [0x140119d88]
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 [0x1401aef38]
call fcn.140085c10
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003682d
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 0x140036b60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140036ba4
call fcn.140035af0
test eax, eax
je 0x140036bf4
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42d
call fcn.1400c8d80
mov r8d, 0x1ab
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x140119e10]
add rsp, 0x38
jmp fcn.140065460
cmp edx, 0x432
jne 0x140036bf4
mov r8d, 0x1b1
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x432
call fcn.1400c8d80
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140085c10
add rsp, 0x38
ret

Function at 0x14003b0d0
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, 0x5d8
call fcn.140065460
mov rax, qword [0x1401aef30]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x1401aef30]
call qword [rax + 0x28]
test eax, eax
jne 0x14003b151
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x5de
lea rcx, str._s__d_SetGloablNN_fail__bSetGloablNN___d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140065460
cmp dword [rdi + 0xb0], ebx
je 0x14003b177
mov dword [rdi + 0xb0], ebx
call fcn.14000bb60
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400c8b50
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003b780
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
call qword [rax + 0xf0]
test eax, eax
jne 0x14003b7d7
mov r8d, 0x659
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_not_support_customization_for_display_mode__return_Unknow_n
call fcn.140065460
xor eax, eax
jmp 0x14003b944
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, 0x661
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_slate_mode_reg___d
call fcn.140065460
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.140029f10
test eax, eax
je 0x14003b870
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003b8c6
jmp 0x14003b8c0
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 0x14003b8b8
cmp dword [rsp + 0x40], 4
jne 0x14003b8b8
mov edi, dword [rsp + 0x38]
test rsi, rsi
je 0x14003b8c6
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, edi
mov r8d, 0x665
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_Orientation_reg___d
call fcn.140065460
cmp ebp, 0x63
je 0x14003b926
cmp ebp, 1
je 0x14003b926
lea eax, [rdi - 4]
cmp eax, 1
jbe 0x14003b921
cmp edi, 3
jne 0x14003b8fe
lea ebx, [rdi + 2]
jmp 0x14003b926
cmp edi, 2
jne 0x14003b908
lea ebx, [rdi + 1]
jmp 0x14003b926
cmp edi, 1
jne 0x14003b912
lea ebx, [rdi + 3]
jmp 0x14003b926
mov ebx, r14d
mov eax, 2
test edi, edi
cmove ebx, eax
jmp 0x14003b926
mov ebx, 1
mov r9d, ebx
mov r8d, 0x68a
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_dwMachineDisplayMode___d
call fcn.140065460
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d37a0
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 0x1400405a0
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.14000b810
test byte [rax + 0x2dc], 0xf
je 0x140040712
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 0x14004072a
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, [0x140119d88]
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 0x1400406f6
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400406f6
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 0x1400406f6
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x1401aef30]
mov rax, qword [0x1401aef30]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0x1022
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.140065460
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140040712
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.1400d37a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
int3
Function at 0x140044040
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 0x14004407f
mov r8d, 0x157b
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.140065460
cmp dword [rdx], 0x30000003
jne 0x140044107
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140044112
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x140119b08]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004bf0
test al, al
jne 0x1400440eb
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400440d0
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.1400cf960
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005560
int3