joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022c10
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, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140022e34
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
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 [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea rbp, [r13 - 1]
test eax, eax
jne 0x140022dee
cmp dword [rsp + 0x38], 7
jne 0x140022dee
mov edi, dword [rsp + 0x30]
shr edi, 1
je 0x140022dee
lfence
mov ecx, edi
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1400c1b80
mov r15, rax
cmp edi, 2
jb 0x140022dde
lfence
lea r8d, [rdi + rdi]
mov dword [rsp + 0x34], r8d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140022dde
cmp dword [rsp + 0x3c], 7
jne 0x140022dde
mov eax, dword [rsp + 0x34]
test al, 1
jne 0x140022dde
mov r14d, eax
shr r14d, 1
cmp r14d, 1
jb 0x140022dde
shr rax, 1
cmp word [r15 + rax*2 - 2], r13w
jne 0x140022dde
cmp r14d, 1
jbe 0x140022d55
cmp word [r15 + rax*2 - 4], r13w
jne 0x140022dde
lfence
mov edi, r13d
nop dword [rax + rax]
mov eax, edi
lea rdx, [r15 + rax*2]
cmp r13w, word [rdx]
jne 0x140022d70
inc edi
jmp 0x140022dd9
test rdx, rdx
jne 0x140022d7a
mov eax, r13d
jmp 0x140022d8a
mov rax, rbp
nop dword [rax]
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140022d80
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400040e0
mov rbx, qword [rsp + 0x40]
cmp word [rbx], r13w
je 0x140022dd6
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140022dc9
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
add qword [rsi + 8], 0x10
jmp 0x140022dd6
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.140027d30
add edi, dword [rbx - 0x10]
cmp edi, r14d
jb 0x140022d60
lfence
mov rcx, r15
call fcn.1400c1818
mov rbx, qword [rsp + 0x40]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140022e0f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
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.140004820
int3
Function at 0x140022e40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r15, qword [r8 + 8]
sub r15, qword [r8]
sar r15, 4
lea eax, [r15 + r15*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.1400c1b80
mov r12, rax
xor edi, edi
mov qword [rsp + 0x40], rdi
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140023029
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov dword [r12], edi
mov esi, edi
test r15d, r15d
jle 0x140022f88
mov r14d, edi
mov r15d, r15d
nop dword [rax]
mov rcx, qword [r13]
add rcx, r14
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromCLSID]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x140022f10
mov eax, edi
jmp 0x140022f1d
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x140022f13
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.1400040e0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140022f3f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x40], rdi
mov rbx, qword [rsp + 0x48]
cmp word [rbx], 0
je 0x140022f75
movsxd rax, dword [rbx - 0x10]
cmp eax, 0x28
jge 0x140022f75
mov r8, rax
add r8, r8
movsxd rax, esi
lea rcx, [r12 + rax*2]
mov rdx, rbx
call fcn.1400c7c20
add esi, dword [rbx - 0x10]
movsxd rax, esi
mov word [r12 + rax*2], di
inc esi
add r14, 0x10
sub r15, 1
jne 0x140022ef0
mov r14, qword [rsp + 0x30]
movsxd rax, esi
mov word [r12 + rax*2], di
mov r9, r12
nop dword [rax]
nop word [rax + rax]
mov rax, rbp
inc rax
cmp word [r9 + rax*2], 0
jne 0x140022fa3
inc eax
lea r9, [r9 + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x140022fa0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
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, r12
call fcn.1400c1818
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140023004
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c17f0
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.140004820
int3
Function at 0x140023040
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 [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r12, rdx
mov r15, rcx
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x1400231d2
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.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 0x140023185
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x140023185
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140023185
lfence
mov ecx, r14d
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400c1b80
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 0x140023175
mov eax, dword [rsp + 0x3c]
dec eax
cmp eax, 1
ja 0x140023175
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140023160
test al, 1
jne 0x140023175
shr rax, 1
cmp word [rbx + rax*2 - 2], r13w
je 0x140023164
jmp 0x140023175
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.1400c1818
mov rbx, qword [rsp + 0x40]
not edi
shr edi, 0x1f
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400231ab
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c17f0
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.140004820
int3
Function at 0x140027f60
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 0x140028019
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140027fe5
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140028004
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 0x140028004
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.0x140048c62.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140028004
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 [0x1401454c8], 0
jne 0x140028064
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140028054
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1401454c0], rax
mov byte [0x1401454c8], 1
jmp 0x14002806b
mov rax, qword [0x1401454c0]
mov byte [0x1401454c8], 1
jmp 0x14002806b
mov rax, qword [0x1401454c0]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140027fee
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x140048c62.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140028d60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
sub rsp, 0x68
mov rbx, r8
mov rsi, rdx
test rdx, rdx
jne 0x140028d7e
mov r8d, 0xc2
jmp 0x140028d89
test rbx, rbx
jne 0x140028da2
mov r8d, 0xc3
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop rsi
pop rbx
jmp fcn.14005b9a0
mov dword [r8 + 8], 0
mov ecx, dword [rdx + 0x1ac]
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140028f8d
lea eax, [rcx - 5]
cmp eax, 1
ja 0x140028ddb
mov rcx, rsi
call fcn.1400163a0
cmp dword [rsi + 0x84], 0
jne 0x140028f8d
mov rcx, rsi
call fcn.1400163a0
cmp dword [rsi + 0x84], 0
jne 0x140028f8d
mov eax, dword [rsi + 0x1ac]
sub eax, 4
cmp eax, 2
ja 0x140028f8d
mov qword [rsp + 0x60], rdi
mov rcx, rsi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
call fcn.14000f480
cmp dword [rsi + 0x170], 0
mov edi, eax
mov dword [rsp + 0x88], eax
jne 0x140028e45
mov rcx, rsi
call fcn.14000fc80
cmp eax, 1
je 0x140028e45
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x80], edx
jmp 0x140028e53
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 0x140028f7e
mov qword [rsp + 0x90], rbp
mov rdi, rdx
mov ebp, dword [rbx]
mov qword [rsp + 0x58], r12
mov r12, qword [0x1400e3048]
mov qword [rsp + 0x40], r15
mov r15, qword [0x1400e3050]
nop dword [rax + rax]
mov r9d, 1
mov eax, edx
mov r8, rdx
test ebp, ebp
jle 0x140028f11
movsxd r11, r10d
shl r11, 3
nop word [rax + rax]
movsxd rcx, eax
add rcx, r11
add rcx, rcx
cmp qword [rbx + rcx*8 + 0xc], r12
jne 0x140028ef0
cmp qword [rbx + rcx*8 + 0x14], r15
jne 0x140028ef0
lea rcx, [rdi + r8]
cmp dword [rbx + rcx*4 + 0x40c], r14d
cmove edx, r9d
mov r9d, edx
test edx, edx
je 0x140028efe
xor edx, edx
inc eax
inc r8
cmp eax, ebp
jl 0x140028ec0
test r9d, r9d
jne 0x140028f11
inc r10d
add rdi, 8
mov edx, 0
cmp r10d, r13d
jl 0x140028ea0
jmp 0x140028f6c
cmp dword [0x140143c1c], 0
mov dword [rbx + 8], r10d
je 0x140028f6c
cmp dword [0x140143c18], 0
jne 0x140028f34
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x140028f6c
mov eax, dword [rsp + 0x80]
lea rdx, str.CBssGen4ConditionMgr::UpdateScenario
mov r9, qword [rsi + 0x10]
lea rcx, str._s__d_EpId_s_ScenarioIdx_d_IsIntegratedMic_d_bRtkDev_d
mov dword [rsp + 0x30], eax
mov r8d, 0x104
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.14005b9a0
mov rbp, 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 rsi
pop rbx
ret
Function at 0x140029870
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.14000b5c0
mov rdx, rsi
call fcn.140091520
mov rbx, rax
test rax, rax
je 0x1400298f6
mov rcx, rax
call fcn.14000f0f0
test eax, eax
je 0x1400298f6
cmp dword [rbx + 0x1dc], 0
jge 0x1400298b8
cmp dword [rbx + 0x1ac], 4
je 0x1400298c1
test byte [rbx + 0x1e4], 0x80
je 0x1400298f6
mov rdx, rsi
mov rcx, rdi
call fcn.1400a3190
test rax, rax
jne 0x1400298d9
mov r8d, 0x166
jmp 0x1400298fc
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.140029920
mov r8d, 0x163
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.14005b9a0
Function at 0x14002bd40
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002bd6a
lea r8d, [rdx + 0x4a]
lea rdx, str.CControlChangeEventNotify::OnAddDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14005b9a0
lea rcx, [rdx + 0xc8]
call fcn.140010410
mov r8, rax
test rax, rax
je case.default.0x14002bd9a
cmp dword [rax + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 0
jne case.default.0x14002bd9a
mov rcx, qword [rax]
lea rdx, [rbx - 8]
mov rax, qword [rcx + 0x38]
mov rcx, r8
add rsp, 0x20
pop rbx
jmp qword [case.0x140048c62.0]
add rsp, 0x20
pop rbx
ret

Function at 0x14002bdb0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
jne 0x14002bdda
lea r8d, [rdx + 0x59]
lea rdx, str.CControlChangeEventNotify::OnRemoveDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rbx
jmp fcn.14005b9a0
cmp qword [rdx + 0x110], 0
je 0x14002be12
lea rcx, [rdx + 0xc8]
call fcn.140010410
mov r8, rax
test rax, rax
je 0x14002be12
mov rcx, qword [rax]
lea rdx, [rbx - 8]
mov rax, qword [rcx + 0x40]
mov rcx, r8
add rsp, 0x20
pop rbx
jmp qword [case.0x140048c62.0]
add rsp, 0x20
pop rbx
ret

Function at 0x14002c650
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rsi
mov rsi, rcx
mov qword [rsp + 0x20], rdi
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f5a0
call fcn.14000b5c0
cmp dword [rax + 0x140], 0
jne 0x14002c6b4
cmp dword [0x140143c1c], 0
je 0x14002c6b4
cmp dword [0x140143c18], 0
jne 0x14002c69b
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x14002c6b4
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005b9a0
call fcn.14000b5c0
mov rdi, qword [rax + 0xe0]
test rdi, rdi
je 0x14002c70f
mov qword [rsp + 0x30], rbx
nop word [rax + rax]
call fcn.14000b5c0
call fcn.14000b5c0
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14002c705
mov rcx, rbx
call fcn.1400163a0
cmp dword [rbx + 0x84], 0
jne 0x14002c705
lea rcx, [rsi - 8]
mov r8, rbx
xor edx, edx
call fcn.14002f810
test rdi, rdi
jne 0x14002c6d0
mov rbx, qword [rsp + 0x30]
call fcn.14000b5c0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
sub dword [rax + 0x140], 1
mov ecx, dword [rax + 0x140]
jne 0x14002c73f
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 0x14002c761
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.14005b9a0
add rsp, 0x28
ret
Function at 0x140033020
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 [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
test rdx, rdx
jne 0x140033069
mov r8d, 0x2ef
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005b9a0
xor eax, eax
jmp 0x1400331ca
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.1400280a0
test eax, eax
je 0x1400330dd
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005b9a0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140033185
jmp 0x14003317f
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 0x140033177
cmp dword [rsp + 0x38], 4
jne 0x140033177
mov ebp, dword [rsp + 0x30]
test rdi, rdi
je 0x140033133
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, 0x2f4
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14005b9a0
cmp ebp, 1
jne 0x14003315c
mov dword [rsi], ebx
jmp 0x1400331c8
test ebp, ebp
jne 0x140033165
mov dword [rsi], r14d
jmp 0x1400331c8
mov r9d, ebp
mov r8d, 0x303
lea rcx, str._s__d_get_GlobalNN_from_registry_error_____d_
jmp 0x1400331b9
test rdi, rdi
je 0x140033185
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, 0x2f4
lea rdx, str.CCustomizeASUS::GetGlobalNN
lea rcx, str._s__d_get_GlobalNN_from_registry___d___bSuccess___d_
call fcn.14005b9a0
xor r9d, r9d
mov r8d, 0x309
lea rcx, str._s__d_get_GlobalNN_via_GetRegUI4Property_fail_____d_
lea rdx, str.CCustomizeASUS::GetGlobalNN
call fcn.14005b9a0
mov ebx, r14d
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
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 0x1400342a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14013c010]
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.1400280a0
test eax, eax
je 0x140034326
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005b9a0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400343ae
jmp 0x1400343a8
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 0x1400343a0
cmp dword [rsp + 0x38], 4
jne 0x1400343a0
mov edi, dword [rsp + 0x30]
test rbx, rbx
je 0x14003437c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x1400343ae
mov r8d, 0x60
lea rdx, str.CCustomizeHonor::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005b9a0
mov eax, 1
jmp 0x1400343b0
test rbx, rbx
je 0x1400343ae
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.1400c17f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400356f0
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 0x1400357fb
call fcn.14002b7b0
mov rbx, rax
test rax, rax
jne 0x14003573e
mov r8d, 0x160
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.14005b9a0
lfence
mov edx, edi
mov rcx, rbx
call fcn.14005df00
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.1400046f0
mov rcx, rax
test rax, rax
je 0x140035806
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r9, str.Others
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rsp + 0x38]
call fcn.1400064f0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x14013c488]
call fcn.14007ef10
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400357fb
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004820
int3

Function at 0x140035b60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140035ba4
call fcn.140034850
test eax, eax
je 0x140035bf4
call fcn.14000b740
mov rcx, rax
mov edx, 0x42d
call fcn.1400b5cd0
mov r8d, 0x19c
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, [0x1400e3358]
add rsp, 0x38
jmp fcn.14005b9a0
cmp edx, 0x432
jne 0x140035bf4
mov r8d, 0x1a2
lea rdx, str.CCustomizeHonor::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.14005b9a0
call fcn.14000b740
mov rcx, rax
mov edx, 0x432
call fcn.1400b5cd0
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007ef10
add rsp, 0x38
ret

Function at 0x14003a080
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, 0x55b
call fcn.14005b9a0
mov rax, qword [0x14013c480]
lea r8, str.GlobalNN
mov r9d, ebx
lea rdx, str.Others
lea rcx, [0x14013c480]
mov rax, qword [rax + 0x28]
call qword [case.0x140048c62.0]
test eax, eax
jne 0x14003a108
mov r9d, ebx
lea rdx, str.CCustomizeHP::SetGlobalNN
mov r8d, 0x561
lea rcx, str._s__d_SetGloablNN_fail__bSetGloablNN___d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14005b9a0
cmp dword [rdi + 0xb0], ebx
je 0x14003a12e
mov dword [rdi + 0xb0], ebx
call fcn.14000b740
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400b5a90
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret