joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022d80
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r12, qword [r8 + 8]
sub r12, qword [r8]
sar r12, 4
lea eax, [r12 + r12*4]
shl eax, 3
movsxd rcx, eax
add rcx, 2
mov eax, 2
mul rcx
mov rbp, 0xffffffffffffffff
cmovo rax, rbp
mov rcx, rax
call fcn.1400c0f4c
mov r15, rax
xor edi, edi
mov qword [rsp + 0x48], rdi
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140022f5f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov dword [r15], edi
mov esi, edi
test r12d, r12d
jle 0x140022ed0
mov r14d, edi
mov r12d, r12d
mov rcx, qword [r13]
add rcx, r14
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromCLSID]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x140022e52
mov eax, edi
jmp 0x140022e5f
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x140022e55
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.1400048e0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022e81
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x48], rdi
mov rbx, qword [rsp + 0x50]
movzx eax, word [rbx]
cmp ax, word [0x1400e4fe8]
je 0x140022ebd
movsxd rax, dword [rbx - 0x10]
cmp eax, 0x28
jge 0x140022ebd
mov r8, rax
add r8, r8
movsxd rax, esi
lea rcx, [r15 + rax*2]
mov rdx, rbx
call fcn.1400c7490
add esi, dword [rbx - 0x10]
movsxd rax, esi
mov word [r15 + rax*2], di
inc esi
add r14, 0x10
sub r12, 1
jne 0x140022e32
mov r14, qword [rsp + 0x30]
movsxd rax, esi
mov word [r15 + rax*2], di
test r15, r15
je 0x140022f1a
mov r9, r15
mov rax, rbp
inc rax
cmp word [r9 + rax*2], 0
jne 0x140022ee3
inc eax
lea r9, [r9 + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x140022ee0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, r15
call fcn.1400c094c
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140022f3a
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.1400c0920
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140027a90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140027b45
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140027b11
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140027b30
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 0x140027b30
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 rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140027b30
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x140164ee0], 0
jne 0x140027b90
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140027b80
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x140164ed8], rax
mov byte [0x140164ee0], 1
jmp 0x140027b97
mov rax, qword [0x140164ed8]
mov byte [0x140164ee0], 1
jmp 0x140027b97
mov rax, qword [0x140164ed8]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140027b1a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax

Function at 0x140027cf0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140027d08
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140027d20
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140027d10
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x1400280d0
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 0x140028106
lea r8d, [rdx + 0x46]
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.14005f240
call fcn.1400299e0
test eax, eax
je 0x14002818a
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, 0x4c
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call fcn.14005f240
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400a5620
mov rdx, qword [rdi + 0x168]
mov rcx, rsi
call fcn.1400a5580
mov r8, rax
mov rdx, rdi
mov rbx, rax
call fcn.1400287f0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140028a10
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400290b0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400287f0
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 0x14002880e
mov r8d, 0xc8
jmp 0x140028819
test rbx, rbx
jne 0x140028832
mov r8d, 0xc9
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop rbp
pop rbx
jmp fcn.14005f240
mov dword [r8 + 8], 0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140028a09
lea eax, [rcx - 5]
cmp eax, 1
ja 0x14002886b
mov rcx, rbp
call fcn.140016510
cmp dword [rbp + 0x84], 0
jne 0x140028a09
mov rcx, rbp
call fcn.14000f120
test eax, eax
je 0x140028a09
mov qword [rsp + 0x60], rdi
mov rcx, rbp
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
call fcn.14000f250
cmp dword [rbp + 0x170], 0
mov edi, eax
mov dword [rsp + 0x88], eax
jne 0x1400288be
mov rcx, rbp
call fcn.14000fa40
cmp eax, 1
je 0x1400288be
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x80], edx
jmp 0x1400288cc
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 0x1400289fa
mov qword [rsp + 0x90], rsi
mov edi, 0x203
mov esi, dword [rbx]
mov qword [rsp + 0x58], r12
mov r12, qword [0x1400e48a8]
mov qword [rsp + 0x40], r15
mov r15, qword [0x1400e48b0]
nop dword [rax]
nop word [rax + rax]
mov r9d, 1
mov eax, edx
mov r8, rdx
test esi, esi
jle 0x14002898d
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 0x14002896c
cmp qword [rbx + rcx*8 + 0x14], r15
jne 0x14002896c
lea rcx, [rdi + r8]
cmp dword [rbx + rcx*4], r14d
cmove edx, r9d
mov r9d, edx
test edx, edx
je 0x14002897a
xor edx, edx
inc eax
inc r8
cmp eax, esi
jl 0x140028940
test r9d, r9d
jne 0x14002898d
inc r10d
add rdi, 0x10
mov edx, 0
cmp r10d, r13d
jl 0x140028920
jmp 0x1400289e8
cmp dword [0x140162d94], 0
mov dword [rbx + 8], r10d
je 0x1400289e8
cmp dword [0x140162d90], 0
jne 0x1400289b0
mov rax, qword [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x1400289e8
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, 0x10a
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.14005f240
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 0x140029010
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.14000b520
mov rdx, rsi
call fcn.140090350
mov rbx, rax
test rax, rax
je 0x14002907b
mov rdx, rax
call fcn.1400299e0
test eax, eax
je 0x14002907b
mov rdx, rsi
mov rcx, rdi
call fcn.1400a5580
test rax, rax
jne 0x14002905e
mov r8d, 0x18f
jmp 0x140029081
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.1400290b0
mov r8d, 0x18c
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.14005f240
Function at 0x14002a890
Capabilities:
Print debug messages

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

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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov ebx, r8d
test rdx, rdx
jne 0x14002c3d0
mov r8d, 0x315
lea rdx, str.CCustomizeAcer::EnableAcerTrueHarmony
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x40
pop rbx
jmp fcn.14005f240
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea r15, [rdx + 0x10]
call fcn.14000b240
xor r14d, r14d
mov ecx, dword [rax + 0x1f4]
and ecx, 0x8000000
test ebx, ebx
je 0x14002c57f
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 0x14002c43f
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
lea rdx, [0x1400df9d8]
call fcn.140003180
mov r8d, dword [rsp + 0x50]
lea r9d, [r14 + 1]
lea rdx, [0x1400dfaf8]
mov rcx, r15
jmp 0x14002c449
mov r8d, r9d
lea rdx, [0x1400dfa38]
mov dword [rsp + 0x20], r14d
call fcn.1400032a0
xor r9d, r9d
lea r8, str.GFX_StereoEnhance_Enable
lea rdx, str.Acer
lea rcx, [0x140164310]
call fcn.1400056a0
xor r9d, r9d
lea r8, str.RTK_VOICE_ENHANCE
lea rdx, str.Acer
mov ebx, eax
lea rcx, [0x140164310]
call fcn.1400056a0
xor r9d, r9d
lea r8, str.GFX_VirtualBass_Enable
lea rdx, str.Acer
mov edi, eax
lea rcx, [0x140164310]
call fcn.1400056a0
xor r9d, r9d
lea r8, str.RTK_MP3_ENHANCE
lea rdx, str.Acer
mov esi, eax
lea rcx, [0x140164310]
call fcn.1400056a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebx
lea rdx, [0x1400df9c0]
mov rcx, r15
mov ebp, eax
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, edi
lea rdx, [0x1400dfa20]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, esi
lea rdx, [0x1400dfa08]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebp
lea rdx, [0x1400df9f0]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400df948]
mov rcx, r15
call fcn.1400032a0
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 0x14002c5c6
lea rbx, [0x1400dfaf8]
mov dword [rsp + 0x50], r14d
mov rdx, rbx
lea r8, [rsp + 0x50]
mov r9d, 1
mov rcx, r15
call fcn.140003180
mov r8d, dword [rsp + 0x50]
lea rdx, [0x1400df9d8]
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov rcx, r15
call fcn.1400032a0
jmp 0x14002c5cd
lea rbx, [0x1400dfa38]
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400df9c0]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400dfa20]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400dfa08]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [0x1400df9f0]
mov rcx, r15
call fcn.1400032a0
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, r9d
lea rdx, [0x1400df948]
mov rcx, r15
call fcn.1400032a0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14002e210
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14001ddb0
test dword [rax + 4], 0x200
je 0x14002e322
call fcn.14001ddb0
test byte [rax + 4], 0x20
je 0x14002e322
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov dword [rsp + 0x38], esi
call fcn.140031220
test eax, eax
je 0x14002e268
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rsp + 0x38]
call qword [rax + 0xd8]
call fcn.14000b690
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400b6130
call fcn.14000b520
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140006ae0
test rdi, rdi
lea rbx, [rdi + 0x10]
cmove rbx, rsi
call fcn.140031880
mov rdx, rbx
lea rcx, [rax + 8]
call fcn.140006ae0
mov qword [rdi + 0x48], rsi
call fcn.140006a20
mov rcx, rax
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
call fcn.140091f80
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x48], rax
test rax, rax
je 0x14002e304
lea rdx, str.GlobalNN
mov rcx, rax
call fcn.1400915f0
mov rcx, qword [rdi + 0x48]
lea rdx, [rdi + 0x18]
add rcx, 0x20
add rsp, 0x20
pop rdi
jmp fcn.140006ae0
mov r8d, 0x5d
lea rdx, str.CCustomizeASUS::NormalUserStart
lea rcx, str._s__d_RegisterNotifier_fail
add rsp, 0x20
pop rdi
jmp fcn.14005f240
add rsp, 0x20
pop rdi
ret
Function at 0x140031410
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
test rdx, rdx
jne 0x140031462
mov r8d, 0x400
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
xor eax, eax
jmp 0x1400315a3
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.140027bc0
test eax, eax
je 0x1400314d0
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140031538
jmp 0x140031532
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 0x14003152a
cmp dword [rsp + 0x40], 4
jne 0x14003152a
mov esi, dword [rsp + 0x38]
test rdi, rdi
je 0x140031526
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, ebx
jmp 0x14003153a
test rdi, rdi
je 0x140031538
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, 0x405
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14005f240
test edi, edi
je 0x140031583
cmp esi, 1
jne 0x140031568
mov dword [r14], ebx
jmp 0x1400315a1
test esi, esi
jne 0x140031571
mov dword [r14], ebp
jmp 0x1400315a1
mov r9d, esi
mov r8d, 0x414
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x140031593
xor r9d, r9d
mov r8d, 0x41a
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.14005f240
mov ebx, ebp
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
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 0x140031b70
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 [0x14015b010]
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 [0x140164320], r14d
je 0x140031d8c
call fcn.14000b240
test dword [rax + 0xc0], 0x200
je 0x140031d8c
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.140027bc0
test eax, eax
je 0x140031c49
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140031c9f
jmp 0x140031c99
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 0x140031c91
cmp dword [rsp + 0x48], 4
jne 0x140031c91
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x140031c9f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.14000b520
mov rcx, rax
call fcn.14008e7c0
call fcn.14000b520
mov rcx, rax
call fcn.14008e760
mov rbx, rax
nop dword [rax]
test rbx, rbx
je 0x140031d18
call fcn.14000b520
call fcn.14000b520
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140031cc0
cmp dword [rcx + 0x1ac], 1
jne 0x140031cc0
add rcx, 0x10
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, ebp
lea rdx, [0x1400dfa50]
call fcn.1400032a0
mov r9d, ebp
mov r8d, eax
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14005f240
call fcn.14000b520
mov rcx, rax
call fcn.14008e840
call fcn.140006a20
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.140091f80
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140031d6b
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.1400915f0
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140006ae0
jmp 0x140031d8c
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.14005f240
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c0920
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 0x1400324b0
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 [0x14015b010]
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.140027bc0
test eax, eax
je 0x140032539
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400325c1
jmp 0x1400325bb
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 0x1400325b3
cmp dword [rsp + 0x40], 4
jne 0x1400325b3
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14003258f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x1400325c1
mov r8d, 0x60
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005f240
mov eax, 1
jmp 0x1400325c3
test rbx, rbx
je 0x1400325c1
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.1400c0920
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret