Function at 0x14005f8b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [r11 - 0x50], rcx
lea rax, vtable.IEndpointVolumeEventNotify.0
mov qword [rcx], rax
lea r14, [rcx + 8]
lea rax, vtable.IAudioDeviceChangeNotify.0
mov qword [r14], rax
lea rsi, [rcx + 0x10]
lea rax, vtable.IWmiEventSinkNotify.0
mov qword [rsi], rax
lea r15, [rcx + 0x18]
lea rax, vtable.ITimerEventNotify.0
mov qword [r15], rax
add rcx, 0x20
call fcn.140065c40
nop
lea rax, vtable.CPrivacyMute.3.0
mov qword [rdi], rax
lea rax, vtable.CPrivacyMute.2.0
mov qword [r14], rax
lea rax, vtable.CPrivacyMute.1.0
mov qword [rsi], rax
lea rax, vtable.CPrivacyMute.0
mov qword [r15], rax
xor ebp, ebp
mov qword [rdi + 0x28], rbp
mov dword [rdi + 0x34], ebp
call fcn.140009c60
mov qword [rdi + 0x28], rbx
mov qword [rsp + 0x40], rdi
call fcn.140011940
mov rbx, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x40]
mov rax, qword [rcx]
test rax, rax
je 0x14005f992
cmp qword [rax + 0x10], rdi
je 0x14005f99c
mov rax, qword [rax]
test rax, rax
jne 0x14005f984
lea rdx, [rsp + 0x40]
call fcn.140005800
lea rcx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x40], rsi
call fcn.140035450
mov rbx, rax
test rsi, rsi
je 0x14005f9f2
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x30]
mov rax, qword [rcx]
test rax, rax
je 0x14005f9de
nop
cmp qword [rax + 0x10], rsi
je 0x14005f9e8
mov rax, qword [rax]
test rax, rax
jne 0x14005f9d0
lea rdx, [rsp + 0x40]
call fcn.140005800
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x40], r14
call fcn.140009e20
mov rbx, rax
test r14, r14
je 0x14005fa42
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x14005fa2e
nop word [rax + rax]
cmp qword [rax + 0x10], r14
je 0x14005fa38
mov rax, qword [rax]
test rax, rax
jne 0x14005fa20
lea rdx, [rsp + 0x40]
call fcn.140005800
lea rcx, [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x40], r15
call fcn.140009f90
mov rbx, rax
test r15, r15
je 0x14005fa92
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14005fa7e
nop word [rax + rax]
cmp qword [rax + 0x10], r15
je 0x14005fa88
mov rax, qword [rax]
test rax, rax
jne 0x14005fa70
lea rdx, [rsp + 0x40]
call fcn.140005800
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x28]
call fcn.14004e0d0
lea rdx, [0x1400c9ee8]
lea rcx, str._s__d_GetPrivacyMicCurrentState_d
test eax, eax
je 0x14005fac0
mov r9d, 1
lea r8d, [r9 + 0x15]
call fcn.1400430e0
xor edx, edx
jmp 0x14005fad1
xor r9d, r9d
lea r8d, [r9 + 0x1b]
call fcn.1400430e0
mov edx, 1
call fcn.14005fe30
mov dword [rdi + 0x30], ebp
movups xmm0, xmmword [0x1400b01d0]
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], 4
lea r9, [rdi + 0x30]
xor r8d, r8d
lea edx, [r8 + 0x6c]
lea rcx, [rsp + 0x40]
call fcn.140067ee0
mov r9d, dword [rdi + 0x30]
mov r8d, 0x27
lea rdx, [0x1400c9ee8]
lea rcx, str._s__d_m_dwDelayMS_d
call fcn.1400430e0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r9d, eax
mov r8d, 0x28
lea rdx, [0x1400c9ee8]
lea rcx, str._s__d_ThreadId_d
call fcn.1400430e0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rbp
mov r9d, 0x2001b
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.14001da70
test eax, eax
jne 0x14005fbb4
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DellMuteFunction
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test rbx, rbx
je 0x14005fbc5
mov rcx, rbx
jmp 0x14005fbbe
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005fbc5
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret