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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
sub rsp, 0x68
mov rbx, r8
mov rbp, rdx
test rdx, rdx
jne 0x140027a3e
mov r8d, 0xc7
jmp 0x140027a49
test rbx, rbx
jne 0x140027a62
mov r8d, 0xc8
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop rbp
pop rbx
jmp fcn.14005be10
mov dword [r8 + 8], 0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140027c39
lea eax, [rcx - 5]
cmp eax, 1
ja 0x140027a9b
mov rcx, rbp
call fcn.1400162c0
cmp dword [rbp + 0x84], 0
jne 0x140027c39
mov rcx, rbp
call fcn.14000f0f0
test eax, eax
je 0x140027c39
mov qword [rsp + 0x60], rdi
mov rcx, rbp
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
call fcn.14000f220
cmp dword [rbp + 0x170], 0
mov edi, eax
mov dword [rsp + 0x88], eax
jne 0x140027aee
mov rcx, rbp
call fcn.14000fa10
cmp eax, 1
je 0x140027aee
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x80], edx
jmp 0x140027afc
mov ecx, 1
xor edx, edx
mov dword [rsp + 0x80], ecx
mov r13d, dword [rbx + 4]
mov r14d, ecx
xor r14d, 1
mov r10d, edx
inc r14d
test edi, edi
cmovne r14d, edx
test r13d, r13d
jle 0x140027c2a
mov qword [rsp + 0x90], rsi
mov edi, 0x203
mov esi, dword [rbx]
mov qword [rsp + 0x58], r12
mov r12, qword [0x1400dd7a8]
mov qword [rsp + 0x40], r15
mov r15, qword [0x1400dd7b0]
nop dword [rax]
nop word [rax + rax]
mov r9d, 1
mov eax, edx
mov r8, rdx
test esi, esi
jle 0x140027bbd
movsxd r11, r10d
shl r11, 4
nop word [rax + rax]
movsxd rcx, eax
add rcx, r11
add rcx, rcx
cmp qword [rbx + rcx*8 + 0xc], r12
jne 0x140027b9c
cmp qword [rbx + rcx*8 + 0x14], r15
jne 0x140027b9c
lea rcx, [rdi + r8]
cmp dword [rbx + rcx*4], r14d
cmove edx, r9d
mov r9d, edx
test edx, edx
je 0x140027baa
xor edx, edx
inc eax
inc r8
cmp eax, esi
jl 0x140027b70
test r9d, r9d
jne 0x140027bbd
inc r10d
add rdi, 0x10
mov edx, 0
cmp r10d, r13d
jl 0x140027b50
jmp 0x140027c18
cmp dword [0x140156cb4], 0
mov dword [rbx + 8], r10d
je 0x140027c18
cmp dword [0x140156cbc], 0
jne 0x140027be0
mov rax, qword [0x140150140]
test byte [rax + 0x1c], 1
je 0x140027c18
mov eax, dword [rsp + 0x80]
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
mov r9, qword [rbp + 0x10]
lea rcx, str._s__d_EpId_s_ScenarioIdx_d_IsIntegratedMic_d_bRtkDev_d
mov dword [rsp + 0x30], eax
mov r8d, 0x109
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.14005be10
mov rsi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x58]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
pop rbx
ret
Function at 0x1400281b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.14000b4c0
mov rdx, rsi
call fcn.14008c260
mov rbx, rax
test rax, rax
je 0x14002821b
mov rdx, rax
call fcn.140028c20
test eax, eax
je 0x14002821b
mov rdx, rsi
mov rcx, rdi
call fcn.14009e470
test rax, rax
jne 0x1400281fe
mov r8d, 0x184
jmp 0x140028221
mov r8, rax
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140028250
mov r8d, 0x181
lea rdx, str.CBssGen4ConditionMgr::UpdateConditionsToApo
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005be10
Function at 0x140029aa0
Capabilities:
Print debug messages

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

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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov ebx, r8d
test rdx, rdx
jne 0x14002b5e0
mov r8d, 0x315
lea rdx, str.CCustomizeAcer::EnableAcerTrueHarmony
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x40
pop rbx
jmp fcn.14005be10
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea r15, [rdx + 0x10]
call fcn.14000b1e0
xor r14d, r14d
mov ecx, dword [rax + 0x1f4]
and ecx, 0x8000000
test ebx, ebx
je 0x14002b78f
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 0x14002b64f
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
lea rdx, [0x1400d8970]
call fcn.1400031c0
mov r8d, dword [rsp + 0x50]
lea r9d, [r14 + 1]
lea rdx, [0x1400d8a78]
mov rcx, r15
jmp 0x14002b659
mov r8d, r9d
lea rdx, [0x1400d89a0]
mov dword [rsp + 0x20], r14d
call fcn.1400032e0
xor r9d, r9d
lea r8, str.GFX_StereoEnhance_Enable
lea rdx, str.Acer
lea rcx, [0x140157e40]
call fcn.140005700
xor r9d, r9d
lea r8, str.RTK_VOICE_ENHANCE
lea rdx, str.Acer
mov ebx, eax
lea rcx, [0x140157e40]
call fcn.140005700
xor r9d, r9d
lea r8, str.GFX_VirtualBass_Enable
lea rdx, str.Acer
mov edi, eax
lea rcx, [0x140157e40]
call fcn.140005700
xor r9d, r9d
lea r8, str.RTK_MP3_ENHANCE
lea rdx, str.Acer
mov esi, eax
lea rcx, [0x140157e40]
call fcn.140005700
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebx
lea rdx, [0x1400d8940]
mov rcx, r15
mov ebp, eax
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, edi
lea rdx, [0x1400d8928]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, esi
lea rdx, [0x1400d8910]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebp
lea rdx, [0x1400d8988]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400d8958]
mov rcx, r15
call fcn.1400032e0
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 0x14002b7d6
lea rbx, [0x1400d8a78]
mov dword [rsp + 0x50], r14d
mov rdx, rbx
lea r8, [rsp + 0x50]
mov r9d, 1
mov rcx, r15
call fcn.1400031c0
mov r8d, dword [rsp + 0x50]
lea rdx, [0x1400d8970]
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov rcx, r15
call fcn.1400032e0
jmp 0x14002b7dd
lea rbx, [0x1400d89a0]
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400d8940]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400d8928]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400d8910]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400d8988]
mov rcx, r15
call fcn.1400032e0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, r9d
lea rdx, [0x1400d8958]
mov rcx, r15
call fcn.1400032e0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14002d550
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14001d670
test dword [rax + 4], 0x200
je 0x14002d653
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov dword [rsp + 0x38], esi
call fcn.14002fd60
test eax, eax
je 0x14002d599
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rsp + 0x38]
call qword [rax + 0xd8]
call fcn.14000b630
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400ae8b0
call fcn.14000b4c0
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140006b40
test rdi, rdi
lea rbx, [rdi + 0x10]
cmove rbx, rsi
call fcn.140030270
mov rdx, rbx
lea rcx, [rax + 8]
call fcn.140006b40
mov qword [rdi + 0x48], rsi
call fcn.140006a80
mov rcx, rax
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
call fcn.14008dd90
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x48], rax
test rax, rax
je 0x14002d635
lea rdx, str.GlobalNN
mov rcx, rax
call fcn.14008d370
mov rcx, qword [rdi + 0x48]
lea rdx, [rdi + 0x18]
add rcx, 0x20
add rsp, 0x20
pop rdi
jmp fcn.140006b40
mov r8d, 0x5d
lea rdx, str.CCustomizeASUS::NormalUserStart
lea rcx, str._s__d_RegisterNotifier_fail
add rsp, 0x20
pop rdi
jmp fcn.14005be10
add rsp, 0x20
pop rdi
ret
Function at 0x14002ff50
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 [0x14014f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
test rdx, rdx
jne 0x14002ffa2
mov r8d, 0x3c4
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005be10
xor eax, eax
jmp 0x1400300e3
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.140026e10
test eax, eax
je 0x140030010
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005be10
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140030078
jmp 0x140030072
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 0x14003006a
cmp dword [rsp + 0x40], 4
jne 0x14003006a
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140030066
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebx
jmp 0x14003007a
test rdi, rdi
je 0x140030078
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, 0x3c9
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14005be10
test edi, edi
je 0x1400300c3
cmp esi, 1
jne 0x1400300a8
mov dword [r14], ebx
jmp 0x1400300e1
test esi, esi
jne 0x1400300b1
mov dword [r14], ebp
jmp 0x1400300e1
mov r9d, esi
mov r8d, 0x3d8
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x1400300d3
xor r9d, r9d
mov r8d, 0x3de
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.14005be10
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b96d0
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 0x140030560
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 [0x14014f010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [r11 - 0x50], rcx
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx + 8], rax
xor r14d, r14d
mov qword [rcx + 0x10], r14
cmp dword [0x140157e50], r14d
je 0x14003077c
call fcn.14000b1e0
test dword [rax + 0xc0], 0x200
je 0x14003077c
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.140026e10
test eax, eax
je 0x140030639
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005be10
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003068f
jmp 0x140030689
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 0x140030681
cmp dword [rsp + 0x48], 4
jne 0x140030681
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x14003068f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.14000b4c0
mov rcx, rax
call fcn.14008a6f0
call fcn.14000b4c0
mov rcx, rax
call fcn.14008a690
mov rbx, rax
nop dword [rax]
test rbx, rbx
je 0x140030708
call fcn.14000b4c0
call fcn.14000b4c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x1400306b0
cmp dword [rcx + 0x1ac], 1
jne 0x1400306b0
add rcx, 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x1400d89b8]
call fcn.1400032e0
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14005be10
call fcn.14000b4c0
mov rcx, rax
call fcn.14008a770
call fcn.140006a80
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.14008dd90
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14003075b
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.14008d370
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140006b40
jmp 0x14003077c
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.14005be10
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b96d0
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 0x140030f00
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 [0x14014f010]
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.140026e10
test eax, eax
je 0x140030f89
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005be10
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140031011
jmp 0x14003100b
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 0x140031003
cmp dword [rsp + 0x40], 4
jne 0x140031003
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x140030fdf
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140031011
mov r8d, 0x60
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005be10
mov eax, 1
jmp 0x140031013
test rbx, rbx
je 0x140031011
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.1400b96d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140031eb0
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 0x140031fad
call fcn.1400295b0
mov rbx, rax
test rax, rax
jne 0x140031f08
mov r8d, 0x160
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.14005be10
mov edx, edi
mov rcx, rbx
call fcn.14005e350
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.140004f00
mov rcx, rax
test rax, rax
je 0x140031fb8
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, [0x1400dda68]
lea rcx, [rsp + 0x38]
call fcn.140006c20
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140157e48]
call fcn.14007bbf0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140031fad
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.140005030
int3

Function at 0x1400322e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140032324
call fcn.1400312e0
test eax, eax
je 0x140032374
call fcn.14000b630
mov rcx, rax
mov edx, 0x42d
call fcn.1400aeae0
mov r8d, 0x19c
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x1400ddaf0]
add rsp, 0x38
jmp fcn.14005be10
cmp edx, 0x432
jne 0x140032374
mov r8d, 0x1a2
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14005be10
call fcn.14000b630
mov rcx, rax
mov edx, 0x432
call fcn.1400aeae0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007bbf0
add rsp, 0x38
ret

Function at 0x1400362a0
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, 0x58b
call fcn.14005be10
mov rax, qword [0x140157e40]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x140157e40]
call qword [rax + 0x28]
test eax, eax
jne 0x140036321
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x591
lea rcx, str._s__d_SetGloablNN_fail__bSetGloablNN___d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14005be10
cmp dword [rdi + 0xb0], ebx
je 0x140036347
mov dword [rdi + 0xb0], ebx
call fcn.14000b630
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400ae8b0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003ae00
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 [0x14014f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.14000b1e0
test byte [rax + 0x2dc], 0xf
je 0x14003af72
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 1
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14003af8a
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, [0x1400dda68]
lea rcx, [rsp + 0x50]
call fcn.140006c20
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 0x14003af56
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003af56
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 0x14003af56
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x140157e40]
mov rax, qword [0x140157e40]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0xf37
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.14005be10
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003af72
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.1400b96d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005030
int3
Function at 0x14003e8a0
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 0x14003e8df
mov r8d, 0x1490
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.14005be10
cmp dword [rdx], 0x30000003
jne 0x14003e967
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14003e972
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x1400ddee8]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400046a0
test al, al
jne 0x14003e94b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x14003e930
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004940
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.140004560
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400b58f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005030
int3

Function at 0x14003f2b0
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 [0x14014f010]
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.140026e10
test eax, eax
je 0x14003f339
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005be10
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003f3c1
jmp 0x14003f3bb
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 0x14003f3b3
cmp dword [rsp + 0x40], 4
jne 0x14003f3b3
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14003f38f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14003f3c1
mov r8d, 0x6d
lea rdx, str.CCustomizeHuawei::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005be10
mov eax, 1
jmp 0x14003f3c3
test rbx, rbx
je 0x14003f3c1
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.1400b96d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret