joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e6f0
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 [0x140162010]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.14000b280
test byte [rax + 0x2dc], 0xf
je 0x14003e862
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 1
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14003e87a
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, [0x1400e9be8]
lea rcx, [rsp + 0x50]
call fcn.140006bc0
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 0x14003e846
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003e846
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 0x14003e846
mov r9d, dword [rsp + 0x40]
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x14016b430]
mov rax, qword [0x14016b430]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0x1014
lea rdx, str.CCustomizeHP::SyncHpControlDefaultVolume
lea rcx, str._s__d_bSuccess__d__dwForceRestore___d
call fcn.140061d00
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003e862
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.1400c5860
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140042190
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 0x1400421cf
mov r8d, 0x156d
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.140061d00
cmp dword [rdx], 0x30000003
jne 0x140042257
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140042262
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, [0x1400ea068]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140004660
test al, al
jne 0x14004223b
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x140042220
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400048e0
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call fcn.140004520
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400c1a20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x1400428f0
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x20], 0
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140042a91
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rbx, str.AutoLogon_Skype
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004298b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140042970
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400048e0
nop
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140042a86
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rbx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004660
test al, al
jne 0x1400429e1
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400429c6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400048e0
nop
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140082d40
nop
mov r9, qword [rsp + 0x48]
mov r8d, 0x15fc
lea rdx, str.CCustomizeHP::CheckAutoLogonSkypeRunKey
lea rcx, str._s__d__s
call fcn.140061d00
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
jge 0x140042a2a
mov ebx, edi
jmp 0x140042a50
lea rdx, str.AutoLogon_Skype.cmd
mov rcx, rax
call fcn.1400cbaf0
mov rbx, rax
test rax, rax
mov rax, qword [rsp + 0x48]
jne 0x140042a4a
mov ebx, edi
jmp 0x140042a50
sub rbx, rax
sar rbx, 1
not ebx
shr ebx, 0x1f
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140042a6c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x140043060
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 [0x140162010]
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.140027f60
test eax, eax
je 0x1400430e9
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140061d00
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140043171
jmp 0x14004316b
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 0x140043163
cmp dword [rsp + 0x40], 4
jne 0x140043163
mov edi, dword [rsp + 0x38]
test rbx, rbx
je 0x14004313f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140043171
mov r8d, 0x6d
lea rdx, str.CCustomizeHuawei::SkipActionForS0
lea rcx, str._s__d_mute_function_is_disable
call fcn.140061d00
mov eax, 1
jmp 0x140043173
test rbx, rbx
je 0x140043171
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.1400c5860
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140043e00
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 0x140043efd
call fcn.14002ae60
mov rbx, rax
test rax, rax
jne 0x140043e58
mov r8d, 0x162
lea rdx, str.CCustomizeHuawei::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.140061d00
mov edx, edi
mov rcx, rbx
call fcn.140064270
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.140004ea0
mov rcx, rax
test rax, rax
je 0x140043f08
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, [0x1400e9be8]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov r9d, ebx
lea r8, str.JackStatus
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [0x14016b438]
call fcn.1400821f0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043efd
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.140004fd0
int3

Function at 0x140044ae0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
cmp edx, 0x42d
jne 0x140044b24
call fcn.140043400
test eax, eax
je 0x140044b74
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x42d
call fcn.1400bb290
mov r8d, 0x2ae
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, [0x1400e9c70]
add rsp, 0x38
jmp fcn.140061d00
cmp edx, 0x432
jne 0x140044b74
mov r8d, 0x2b4
lea rdx, str.CCustomizeHuawei::OnTimer
lea rcx, str._s__d_SkipActionForS0_set_0
call fcn.140061d00
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x432
call fcn.1400bb290
xor r9d, r9d
lea r8, str.SkipActionForS0
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.1400821f0
add rsp, 0x38
ret
Function at 0x140045d00
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ebx, edx
mov rbp, rcx
mov r9d, edx
mov r8d, 0x63
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_dwTid_d
call fcn.140061d00
cmp ebx, 0x437
jne 0x140045fb9
call fcn.14000b5b0
mov rcx, rax
mov edx, ebx
call fcn.1400bb290
cmp dword [0x140169b60], 0
jne 0x140045fdf
call fcn.14000b440
mov edx, 1
call fcn.1400939e0
mov qword [rbp + 0x10], rax
mov r9, rax
mov r8d, 0x6b
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d_m_pAudDev_x
call fcn.140061d00
cmp dword [0x14016bde4], 0
jne 0x140045f31
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140045ff5
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
lea r14, [0x140101808]
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140045e1f
mov rax, rdi
nop dword [rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x140045e00
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.1400048e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x80]
call fcn.1400c2fb0
mov ebx, dword [rsp + 0x78]
mov ecx, ebx
call fcn.1400c5e8c
mov rsi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.1400cc120
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140045fea
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.140004660
test al, al
jne 0x140045ebf
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140045ea0
mov r8d, edi
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.1400048e0
nop
mov edx, 0xea60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rsp + 0x80]
call fcn.1400c2fb0
test eax, eax
je 0x140045efe
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov r9d, dword [rsp + 0x78]
mov r8, rsi
lea rcx, [0x14016bcc0]
call fcn.1400bf2c0
test rsi, rsi
je 0x140045f0b
mov rcx, rsi
call fcn.1400c588c
mov r8d, 0x85
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e9c70]
call fcn.140061d00
cmp dword [0x14016bde4], 0
je 0x140045fdf
mov r8d, 0x8a
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, [0x1400e9c70]
call fcn.140061d00
mov r8d, 0x54
lea rdx, str.CWasapiPlayback::Play
lea rcx, [0x1400e9c70]
call fcn.140061d00
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [0x14016bcc0]
lea r8, [0x1400bfa40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x436
mov r8d, 0xea60
call fcn.1400bb060
mov dword [0x140169b60], 1
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp ebx, 0x436
jne 0x140045fdf
mov r8d, 0x95
lea rdx, str.CCustomizeMSI::OnTimer
lea rcx, str._s__d
call fcn.140061d00
call fcn.140045b80
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x1400470e0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0xffffffff
lock xadd dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x18]
test eax, eax
jne 0x1400470fc
mov rcx, qword [rcx + 0x10]
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, dword [rcx + 0x18]
cmp eax, 0x32
jle 0x14004711d
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
jmp fcn.140061d00
ret
Function at 0x140048ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 0x40e
jne 0x140049073
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x40e
call fcn.1400bb290
cmp dword [rbx + 0x30], 0
jne 0x1400490ab
mov ebx, dword [rbx + 0x38]
call fcn.14000b280
movzx ecx, word [rax + 0x342]
mov eax, 0x103c
test ebx, ebx
je 0x140049055
cmp cx, ax
jne 0x14004904b
mov edx, 1
mov ecx, edx
add rsp, 0x20
pop rbx
jmp fcn.14003eb10
add rsp, 0x20
pop rbx
jmp fcn.1400483f0
cmp cx, ax
jne 0x140049069
xor edx, edx
lea ecx, [rdx + 1]
add rsp, 0x20
pop rbx
jmp fcn.14003eb10
add rsp, 0x20
pop rbx
jmp fcn.140048810
cmp edx, 0x435
jne 0x1400490b9
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x435
call fcn.1400bb290
cmp dword [rbx + 0x34], 0
je 0x1400490a6
call fcn.140048810
lea rcx, [rbx - 0x10]
add rsp, 0x20
pop rbx
jmp fcn.140048e40
call fcn.1400483f0
lea rcx, [rbx - 0x10]
add rsp, 0x20
pop rbx
jmp fcn.140048e40
add rsp, 0x20
pop rbx
ret

Function at 0x14004d500
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [r8]
mov rdi, rdx
cmp rax, qword [0x1400e84b8]
mov rbx, rcx
jne 0x14004d5d4
mov rax, qword [r8 + 8]
cmp rax, qword [0x1400e84c0]
jne 0x14004d5d4
cmp dword [r8 + 0x10], 0
jne 0x14004d5d4
call fcn.14000b440
mov rdx, rdi
call fcn.1400931d0
mov rdi, rax
test rax, rax
jne 0x14004d574
mov r8d, 0x14f
lea rdx, str.CJackImpedanceDetect::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140061d00
mov eax, dword [rax + 0x1ac]
dec eax
test eax, 0xfffffffd
jne 0x14004d5d4
cmp dword [rbx + 0x64], 0
je 0x14004d5c5
mov qword [rsp + 0x30], rsi
call fcn.140058670
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
cmp eax, 2
jne 0x14004d5a7
mov r8d, dword [rbx + 0x70]
jmp 0x14004d5aa
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14004ceb0
cmp dword [rbx + 0x68], 0
je 0x14004d5d4
lea rcx, [rbx - 0x18]
call fcn.14004d180
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004e050
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
cmp edx, 0x20
jb 0x14004e087
mov r8d, 0x70
lea rdx, str.CJackRetaskCommandLineHelper::OnJackPlugStatusChanged
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140061d00
call fcn.14002ae60
lea rcx, [rax + 0x10]
call fcn.140047070
cmp dword [rdi + 0xa8], ebx
jne 0x14004e0ba
call fcn.14002ae60
imul rdx, rbx, 0xb0
test byte [rax + rdx + reloc.OLEAUT32.dll_BSTR_UserUnmarshal], 2
jne 0x14004e0ba
mov ebx, 1
jmp 0x14004e0bc
xor ebx, ebx
call fcn.14002ae60
mov rcx, rax
mov eax, 0xffffffff
lock xadd dword [rcx + 0x28], eax
mov eax, dword [rcx + 0x28]
test eax, eax
jne 0x14004e0e1
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14004e102
mov eax, dword [rcx + 0x28]
cmp eax, 0x32
jle 0x14004e102
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140061d00
test ebx, ebx
je 0x14004e121
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x3f2
call fcn.1400bb290
lea rcx, [rdi - 0x10]
call fcn.14004e250
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004e6f0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], 0x1001
mov dword [rsp + 0x74], ecx
mov word [rsp + 0x78], si
mov word [rsp + 0x7a], bp
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
mov qword [rsp + 0x60], SafeArrayDestroy
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x58]
mov r8, qword [0x14016abf8]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14004e8b2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0x104
lea r8, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rdx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
lea rcx, [rsp + 0x80]
call fcn.140006bc0
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x140169dd8], 0
je 0x14004e86a
cmp dword [0x140169da4], 0
jne 0x14004e832
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x14004e86a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9, r14
mov r8d, 0x108
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.140061d00
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004e886
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14004f090
Capabilities:
Persist via run registry key

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [r11 - 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [r11 - 0x38], rbp
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0xa
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea rcx, [r11 - 0x48]
call fcn.140084090
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x14004f249
mov rcx, qword [r14 + 0x10]
mov r14, qword [r14]
sub rcx, 0x18
call fcn.140006b40
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
mov rcx, rax
call fcn.140006b40
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x14004f286
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14004f159
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.140004a80
mov rbx, qword [rsp + 0x28]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
cmp esi, dword [rbx - 0xc]
jg 0x14004f27b
mov dword [rbx - 0x10], esi
mov word [rbx + rsi*2], bp
cmp dword [rbx - 0x10], 0
jl 0x14004f202
lea rdx, str.RTHDVBG
mov rcx, rbx
call fcn.1400cbaf0
test rax, rax
je 0x14004f1a0
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14004f1e8
cmp dword [rbx - 0x10], 0
jl 0x14004f202
lea rdx, str.RTHDVCPL
mov rcx, rbx
call fcn.1400cbaf0
test rax, rax
je 0x14004f1c4
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14004f1e8
cmp dword [rbx - 0x10], 0
jl 0x14004f202
lea rdx, str.RTKUGUI
mov rcx, rbx
call fcn.1400cbaf0
test rax, rax
je 0x14004f202
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14004f202
xor r9d, r9d
mov r8, rdi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rcx, 0xffffffff80000002
call fcn.140082710
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f21f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004f240
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14, r14
jne 0x14004f101
lea rcx, [rsp + 0x30]
call fcn.140017730
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c5860
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80070057
call fcn.140004fd0
int3
mov ecx, 0x80070057
call fcn.140004fd0
int3