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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r12, rdx
mov r15, rcx
call fcn.140004e00
mov rcx, rax
test rax, rax
je 0x140025a72
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov edi, 0x80004005
xor r13d, r13d
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea rsi, [r13 - 1]
test eax, eax
jne 0x140025a25
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x140025a25
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140025a25
lfence
mov ecx, r14d
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400df70c
mov rbx, rax
lfence
lea r8d, [r14 + r14]
mov dword [rsp + 0x34], r8d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140025a15
mov eax, dword [rsp + 0x3c]
dec eax
cmp eax, 1
ja 0x140025a15
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140025a00
test al, 1
jne 0x140025a15
shr rax, 1
cmp word [rbx + rax*2 - 2], r13w
je 0x140025a04
jmp 0x140025a15
mov word [rbx], r13w
lfence
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov edi, eax
lfence
mov rcx, rbx
call fcn.1400df368
mov rbx, qword [rsp + 0x40]
not edi
shr edi, 0x1f
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140025a4b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004f30
int3
Function at 0x14002b2c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14002b379
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14002b345
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14002b364
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x14002b364
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x140050923.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x14002b364
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x140181fe0], 0
jne 0x14002b3c4
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14002b3b4
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x140181fd8], rax
mov byte [0x140181fe0], 1
jmp 0x14002b3cb
mov rax, qword [0x140181fd8]
mov byte [0x140181fe0], 1
jmp 0x14002b3cb
mov rax, qword [0x140181fd8]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14002b34e
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x140050923.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14002b970
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14002b9a6
lea r8d, [rdx + 0x67]
lea rdx, str.CBssGen4ConditionMgr::SyncAudioDeviceConditions
lea rcx, str._s__d_RETURN_ON_FALSE
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14006dd20
mov rcx, rdi
call fcn.14000f620
test eax, eax
je 0x14002ba4c
cmp dword [rdi + 0x1dc], 0
jge 0x14002b9c8
cmp dword [rdi + 0x1ac], 4
je 0x14002b9d1
test byte [rdi + 0x1e4], 0x80
je 0x14002ba4c
mov rax, qword [rdi + 0x118]
lea rdx, str.CBssGen4ConditionMgr::SyncAudioDeviceConditions
mov r9, qword [rdi + 0x10]
lea rcx, str._s__d_EpId_d_Name_s
mov r8d, 0x6d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call fcn.14006dd20
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400bf600
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400bf560
mov r8, rax
mov rdx, rdi
mov rbx, rax
call fcn.14002c130
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002c360
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002d200
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002c130
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 0x14002c14e
mov r8d, 0xe9
jmp 0x14002c159
test rbx, rbx
jne 0x14002c172
mov r8d, 0xea
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop rbp
pop rbx
jmp fcn.14006dd20
mov dword [r8 + 8], 0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x14002c34d
lea eax, [rcx - 5]
cmp eax, 1
ja 0x14002c1a6
mov rcx, rbp
call fcn.1400178a0
test eax, eax
jne 0x14002c34d
mov rcx, rbp
call fcn.1400178a0
test eax, eax
jne 0x14002c34d
mov eax, dword [rbp + 0x1ac]
sub eax, 4
cmp eax, 2
ja 0x14002c34d
mov qword [rsp + 0x60], rdi
mov rcx, rbp
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
call fcn.14000f9c0
cmp dword [rbp + 0x170], 0
mov edi, eax
mov dword [rsp + 0x88], eax
jne 0x14002c20b
mov rcx, rbp
call fcn.140010220
cmp eax, 1
je 0x14002c20b
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x80], edx
jmp 0x14002c219
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 0x14002c33e
mov qword [rsp + 0x90], rsi
mov rdi, rdx
mov esi, dword [rbx]
mov qword [rsp + 0x58], r12
mov r12, qword [0x140102898]
mov qword [rsp + 0x40], r15
mov r15, qword [0x1401028a0]
nop
mov r9d, 1
mov eax, edx
mov r8, rdx
test esi, esi
jle 0x14002c2d1
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 0x14002c2b0
cmp qword [rbx + rcx*8 + 0x14], r15
jne 0x14002c2b0
lea rcx, [rdi + r8]
cmp dword [rbx + rcx*4 + 0x80c], r14d
cmove edx, r9d
mov r9d, edx
test edx, edx
je 0x14002c2be
xor edx, edx
inc eax
inc r8
cmp eax, esi
jl 0x14002c280
test r9d, r9d
jne 0x14002c2d1
inc r10d
add rdi, 0x10
mov edx, 0
cmp r10d, r13d
jl 0x14002c260
jmp 0x14002c32c
cmp dword [0x140180270], 0
mov dword [rbx + 8], r10d
je 0x14002c32c
cmp dword [0x140180274], 0
jne 0x14002c2f4
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x14002c32c
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, 0x12b
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.14006dd20
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 0x14002d150
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.14000bd10
mov rdx, rsi
call fcn.1400a39e0
mov rbx, rax
test rax, rax
je 0x14002d1d6
mov rcx, rax
call fcn.14000f620
test eax, eax
je 0x14002d1d6
cmp dword [rbx + 0x1dc], 0
jge 0x14002d198
cmp dword [rbx + 0x1ac], 4
je 0x14002d1a1
test byte [rbx + 0x1e4], 0x80
je 0x14002d1d6
mov rdx, rsi
mov rcx, rdi
call fcn.1400bf560
test rax, rax
jne 0x14002d1b9
mov r8d, 0x1b0
jmp 0x14002d1dc
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.14002d200
mov r8d, 0x1ad
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.14006dd20
Function at 0x14002f190
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], r8
mov r9, rdx
mov r8d, 0x319
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, str._s__d__s__s
call fcn.14006dd20
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x14002f37e
mov r8d, 0x31d
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
lea rdx, str.DisableAllAINROnce
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x14002f37e
mov r8d, 0x321
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioExtSettings
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x14002f29f
lea r9, str.SOFTWARERealtekAudioExtSettings
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002f37e
jmp 0x14002f378
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.DisableAllAINROnce
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14002f370
cmp dword [rsp + 0x38], 4
jne 0x14002f370
mov edi, dword [rsp + 0x30]
test rbx, rbx
je 0x14002f2fd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r8d, 0x327
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
test edi, edi
je 0x14002f37e
mov r8d, 0x32b
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, [0x140102ba8]
call fcn.14006dd20
mov r8d, 0x32d
lea rdx, str.CBssGen4ConditionMgr::OnRegKeyChanged
lea rcx, str._s__d_DisableAllAINROnce
call fcn.14006dd20
call fcn.14002ec10
xor r9d, r9d
lea r8, str.DisableAllAINROnce
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.1400908e0
jmp 0x14002f37e
test rbx, rbx
je 0x14002f37e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400301f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14003021a
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14006dd20
lea rcx, [rdx + 0xc8]
call fcn.140010930
mov r8, rax
test rax, rax
je case.default.0x14003024a
cmp dword [rax + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 0
jne case.default.0x14003024a
mov rcx, qword [rax]
lea rdx, [rbx - 8]
mov rax, qword [rcx + 0x38]
mov rcx, r8
add rsp, 0x20
pop rbx
jmp qword [case.0x140050923.0]
add rsp, 0x20
pop rbx
ret

Function at 0x140030260
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14003028a
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14006dd20
cmp qword [rdx + 0x110], 0
je 0x1400302c2
lea rcx, [rdx + 0xc8]
call fcn.140010930
mov r8, rax
test rax, rax
je 0x1400302c2
mov rcx, qword [rax]
lea rdx, [rbx - 8]
mov rax, qword [rcx + 0x40]
mov rcx, r8
add rsp, 0x20
pop rbx
jmp qword [case.0x140050923.0]
add rsp, 0x20
pop rbx
ret

Function at 0x140030c40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rsi, rcx
call fcn.14000bd10
mov rcx, rax
call fcn.1400a1a60
call fcn.14000bd10
cmp dword [rax + 0x140], 0
jne 0x140030ca4
cmp dword [0x140180270], 0
je 0x140030ca4
cmp dword [0x140180274], 0
jne 0x140030c8b
mov rax, qword [0x140179638]
test byte [rax + 0x1c], 1
je 0x140030ca4
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14006dd20
call fcn.14000bd10
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x140030cfa
mov qword [rsp + 0x20], rdi
nop word [rax + rax]
call fcn.14000bd10
call fcn.14000bd10
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rdi, rdi
je 0x140030cf0
mov rcx, rdi
call fcn.1400178a0
test eax, eax
jne 0x140030cf0
lea rcx, [rsi - 8]
mov r8, rdi
xor edx, edx
call fcn.140034140
test rbx, rbx
jne 0x140030cc0
mov rdi, qword [rsp + 0x20]
call fcn.14000bd10
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x140030d2a
mov rcx, qword [rax + 0x150]
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp ecx, 0x32
jle 0x140030d4c
mov r8d, 0x80
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
add rsp, 0x28
jmp fcn.14006dd20
add rsp, 0x28
ret
Function at 0x140038ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
test rdx, rdx
jne 0x140038f29
mov r8d, 0x406
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor eax, eax
jmp 0x14003908a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x30], r14d
mov ebx, 1
mov r9d, ebx
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x140038f9d
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140039045
jmp 0x14003903f
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.GlobalNN
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140039037
cmp dword [rsp + 0x38], 4
jne 0x140039037
mov ebp, dword [rsp + 0x30]
test rdi, rdi
je 0x140038ff3
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], ebx
mov r9d, ebp
mov r8d, 0x40b
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14006dd20
cmp ebp, 1
jne 0x14003901c
mov dword [rsi], ebx
jmp 0x140039088
test ebp, ebp
jne 0x140039025
mov dword [rsi], r14d
jmp 0x140039088
mov r9d, ebp
mov r8d, 0x41a
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x140039079
test rdi, rdi
je 0x140039045
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], r14d
mov r9d, 0x63
mov r8d, 0x40b
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14006dd20
xor r9d, r9d
mov r8d, 0x420
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.14006dd20
mov ebx, r14d
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003a2a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], eax
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x14003a326
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003a3ae
jmp 0x14003a3a8
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.SkipActionForS0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003a3a0
cmp dword [rsp + 0x38], 4
jne 0x14003a3a0
mov edi, dword [rsp + 0x30]
test rbx, rbx
je 0x14003a37c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14003a3ae
mov r8d, 0x63
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14006dd20
mov eax, 1
jmp 0x14003a3b0
test rbx, rbx
je 0x14003a3ae
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14003b6d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movsxd rdi, r8d
mov dword [rsp + 0x30], 0
cmp edi, 0xf
jg 0x14003b7db
call fcn.14002fcd0
mov rbx, rax
test rax, rax
jne 0x14003b71e
mov r8d, 0x16f
lea rdx, str.CCustomizeHonor::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.14006dd20
lfence
mov edx, edi
mov rcx, rbx
call fcn.1400703d0
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.140004e00
mov rcx, rax
test rax, rax
je 0x14003b7e6
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140102b58]
lea rcx, [rsp + 0x38]
call fcn.140006d30
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x140178498]
call fcn.140090400
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003b7db
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004f30
int3

Function at 0x14003bb40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x14003bb84
call fcn.14003a7d0
test eax, eax
je 0x14003bbd4
call fcn.14000be90
mov rcx, rax
mov edx, 0x42d
call fcn.1400d4070
mov r8d, 0x1ab
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x140102ba8]
add rsp, 0x38
jmp fcn.14006dd20
cmp edx, 0x432
jne 0x14003bbd4
mov r8d, 0x1b1
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14006dd20
call fcn.14000be90
mov rcx, rax
mov edx, 0x432
call fcn.1400d4070
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140090400
add rsp, 0x38
ret

Function at 0x140040740
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.14006dd20
mov rax, qword [0x140178490]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x140178490]
mov rax, qword [rax + 0x28]
call qword [case.0x140050923.0]
test eax, eax
jne 0x1400407c8
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.14006dd20
cmp dword [rdi + 0xb0], ebx
je 0x1400407ee
mov dword [rdi + 0xb0], ebx
call fcn.14000be90
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400d3e30
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140040ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0xf0]
call qword [case.0x140050923.0]
test eax, eax
jne 0x140040f35
mov r8d, 0x653
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_not_support_customization_for_display_mode__return_Unknow_n
call fcn.14006dd20
xor eax, eax
jmp 0x1400410a3
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.14006dd20
lea edi, [rbx + 0x53]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x30], r14d
lea r9d, [rbx - 0xf]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
test eax, eax
je 0x140040fcf
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140041025
jmp 0x14004101f
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Orientation
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140041017
cmp dword [rsp + 0x38], 4
jne 0x140041017
mov edi, dword [rsp + 0x30]
test rsi, rsi
je 0x140041025
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.14006dd20
cmp ebp, 0x63
je 0x140041085
cmp ebp, 1
je 0x140041085
lea eax, [rdi - 4]
cmp eax, 1
jbe 0x140041080
cmp edi, 3
jne 0x14004105d
lea ebx, [rdi + 2]
jmp 0x140041085
cmp edi, 2
jne 0x140041067
lea ebx, [rdi + 1]
jmp 0x140041085
cmp edi, 1
jne 0x140041071
lea ebx, [rdi + 3]
jmp 0x140041085
mov ebx, r14d
mov eax, 2
test edi, edi
cmove ebx, eax
jmp 0x140041085
mov ebx, 1
mov r9d, ebx
mov r8d, 0x684
lea rdx, str.CCustomizeHP::GetMachineDisplayMode
lea rcx, str._s__d_dwMachineDisplayMode___d
call fcn.14006dd20
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret