Function at 0x14006e1b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
add rcx, 0x20
call fcn.14009c120
nop
lea rdi, [rbx + 8]
lea r14, [rbx + 0x10]
lea r15, [rbx + 0x18]
lea rax, vtable.CGlobalRecMute.3.0
mov qword [rbx], rax
lea rax, vtable.CGlobalRecMute.1.0
mov qword [rdi], rax
lea rax, vtable.CGlobalRecMute.0
mov qword [r14], rax
lea rax, vtable.CGlobalRecMute.2.0
mov qword [r15], rax
xor ebp, ebp
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x28], rbp
mov dword [rbx + 0x30], 0xffffffff
call fcn.14000bb10
test byte [rax + 0xf0], 0x10
je 0x14006e24b
mov dword [rbx + 0x38], 1
call fcn.14000bb10
test rax, rax
je 0x14006e26f
mov ecx, 0x103c
cmp word [rax + 0x342], cx
jne 0x14006e26f
mov dword [0x1401802b0], 1
jmp 0x14006e277
cmp dword [0x1401802b0], ebp
je 0x14006e2ca
mov qword [rsp + 0x38], rdi
call fcn.14000bd10
mov rsi, rax
test rdi, rdi
je 0x14006e2c2
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x14006e2ae
nop
cmp qword [rax + 0x10], rdi
je 0x14006e2b8
mov rax, qword [rax]
test rax, rax
jne 0x14006e2a0
lea rdx, [rsp + 0x38]
call fcn.140006d60
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x34], ebp
jmp 0x14006e3c2
mov qword [rbx + 0x28], rsi
mov qword [rsp + 0x38], rbx
call fcn.140014a60
mov rsi, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x40]
mov rax, qword [rcx]
test rax, rax
je 0x14006e2ff
cmp qword [rax + 0x10], rbx
je 0x14006e309
mov rax, qword [rax]
test rax, rax
jne 0x14006e2f1
lea rdx, [rsp + 0x38]
call fcn.140006d60
lea rcx, [rsi + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], r14
call fcn.140050f90
mov rsi, rax
test r14, r14
je 0x14006e362
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x30]
mov rax, qword [rcx]
test rax, rax
je 0x14006e34e
nop dword [rax + rax]
cmp qword [rax + 0x10], r14
je 0x14006e358
mov rax, qword [rax]
test rax, rax
jne 0x14006e340
lea rdx, [rsp + 0x38]
call fcn.140006d60
lea rcx, [rsi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], rdi
call fcn.14000bd10
mov rsi, rax
test rdi, rdi
je 0x14006e3b2
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x14006e39e
nop word [rax + rax]
cmp qword [rax + 0x10], rdi
je 0x14006e3a8
mov rax, qword [rax]
test rax, rax
jne 0x14006e390
lea rdx, [rsp + 0x38]
call fcn.140006d60
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x34], ebp
call fcn.14006e7e0
mov rcx, rbx
call fcn.14006ef90
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
mov r9d, 0x2001b
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14002b400
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x14006e44c
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DellMuteFunction
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test rdi, rdi
je 0x14006e448
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x38], r15
call fcn.14000be90
mov rsi, rax
test r15, r15
je 0x14006e496
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14006e482
cmp qword [rax + 0x10], r15
je 0x14006e48c
mov rax, qword [rax]
test rax, rax
jne 0x14006e474
lea rdx, [rsp + 0x38]
call fcn.140006d60
lea rcx, [rsi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r9d, eax
mov r8d, 0x3b
lea rdx, str.CGlobalRecMute::CGlobalRecMute
lea rcx, str._s__d_ThreadId_d
call fcn.14006dd20
nop
test rdi, rdi
je 0x14006e4c8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rax, rbx
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 rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret