Function at 0x14004c8a0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14011f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rbx, rcx
lea rdi, [rcx + 8]
lea r14, [rcx + 0x10]
lea rax, vtable.CGlobalRecMute.1.0
mov qword [rcx], rax
lea rax, vtable.CGlobalRecMute.2.0
mov qword [rdi], rax
lea rax, vtable.CGlobalRecMute.0
mov qword [r14], rax
xor ebp, ebp
mov qword [rcx + 0x18], rbp
mov dword [rcx + 0x20], 0xffffffff
mov dword [rcx + 0x28], ebp
call fcn.14000ac00
test byte [rax + 0x78], 0x10
je 0x14004c918
mov dword [rbx + 0x28], 1
call fcn.14000ac00
test rax, rax
je 0x14004c93c
mov ecx, 0x103c
cmp word [rax + 0x2ce], cx
jne 0x14004c93c
mov dword [0x140125ca0], 1
jmp 0x14004c944
cmp dword [0x140125ca0], ebp
je 0x14004c99a
mov qword [rsp + 0x38], rdi
call fcn.14000adc0
mov rsi, rax
test rdi, rdi
je 0x14004c992
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 0x14004c97e
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x14004c988
mov rax, qword [rax]
test rax, rax
jne 0x14004c970
lea rdx, [rsp + 0x38]
call fcn.140006270
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x24], ebp
jmp 0x14004ca92
mov qword [rbx + 0x18], rsi
mov qword [rsp + 0x38], rbx
call fcn.140012c60
mov rsi, rax
test rbx, rbx
je 0x14004c9e8
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 0x14004c9d4
cmp qword [rax + 0x10], rbx
je 0x14004c9de
mov rax, qword [rax]
test rax, rax
jne 0x14004c9c6
lea rdx, [rsp + 0x38]
call fcn.140006270
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.14003b6c0
mov rsi, rax
test r14, r14
je 0x14004ca32
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 0x14004ca1e
cmp qword [rax + 0x10], r14
je 0x14004ca28
mov rax, qword [rax]
test rax, rax
jne 0x14004ca10
lea rdx, [rsp + 0x38]
call fcn.140006270
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.14000adc0
mov rsi, rax
test rdi, rdi
je 0x14004ca82
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 0x14004ca6e
nop word [rax + rax]
cmp qword [rax + 0x10], rdi
je 0x14004ca78
mov rax, qword [rax]
test rax, rax
jne 0x14004ca60
lea rdx, [rsp + 0x38]
call fcn.140006270
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x24], ebp
call fcn.14004cec0
mov rcx, rbx
call fcn.14004d660
xor eax, eax
mov qword [rsp + 0x48], rax
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.140021cb0
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x14004cb1b
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 0x14004cb17
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
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r9d, eax
mov r8d, 0x39
lea rdx, str.CGlobalRecMute::CGlobalRecMute
lea rcx, str._s__d_ThreadId_d
call fcn.14004c3d0
nop
test rdi, rdi
je 0x14004cb4c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a4020
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret