Function at 0x140049470
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rax, vtable.CGlobalPlaybackMute.3.0
mov dword [rcx + 0x30], 0xffffffff
mov qword [rcx], rax
lea rbx, [rcx + 8]
lea rax, vtable.CGlobalPlaybackMute.4.0
xor r12d, r12d
mov qword [rbx], rax
lea rdi, [rcx + 0x10]
lea rax, vtable.CGlobalPlaybackMute.1.0
mov dword [rcx + 0x3c], r12d
mov qword [rdi], rax
lea r14, [rcx + 0x20]
lea rax, vtable.CGlobalPlaybackMute.2.0
mov r15, rdx
mov qword [rcx + 0x18], rax
mov rsi, rcx
lea rax, vtable.CGlobalPlaybackMute.0
mov qword [r14], rax
mov qword [rcx + 0x28], r12
call fcn.14000b2a0
lea r13d, [r12 + 1]
test rax, rax
je 0x140049535
movzx ecx, word [rax + 0x342]
mov eax, 0x103c
cmp cx, ax
jne 0x14004951d
mov dword [0x1401439dc], r13d
jmp 0x140049535
mov eax, dword [0x1401439d8]
mov edx, 0x1028
cmp cx, dx
cmove eax, r13d
mov dword [0x1401439d8], eax
cmp dword [0x1401439dc], r12d
je 0x1400495ea
mov qword [rbp - 0x30], rbx
call fcn.14000b5c0
mov r14, rax
test rbx, rbx
je 0x140049591
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x38]
lea rcx, [r14 + 0x38]
test rax, rax
je 0x14004957e
nop word [rax + rax]
cmp qword [rax + 0x10], rbx
je 0x140049587
mov rax, qword [rax]
test rax, rax
jne 0x140049570
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r14 + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], rdi
call fcn.14000b740
mov rbx, rax
test rdi, rdi
je 0x1400495e1
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x50]
lea rcx, [rbx + 0x50]
test rax, rax
je 0x1400495ce
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x1400495d7
mov rax, qword [rax]
test rax, rax
jne 0x1400495c0
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rsi + 0x34], r12d
jmp 0x140049912
mov qword [rsi + 0x28], r15
cmp dword [0x1401439d8], r12d
mov qword [rbp - 0x30], rsi
je 0x1400497cb
call fcn.140014120
mov r15, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r15 + 0x40]
lea rcx, [r15 + 0x40]
test rax, rax
je 0x14004962e
nop
cmp qword [rax + 0x10], rsi
je 0x140049637
mov rax, qword [rax]
test rax, rax
jne 0x140049620
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r15 + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], r14
call fcn.1400492c0
mov r15, rax
test r14, r14
je 0x140049691
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r15 + 0x30]
lea rcx, [r15 + 0x30]
test rax, rax
je 0x14004967e
nop dword [rax]
cmp qword [rax + 0x10], r14
je 0x140049687
mov rax, qword [rax]
test rax, rax
jne 0x140049670
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r15 + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], rbx
call fcn.14000b5c0
mov r14, rax
test rbx, rbx
je 0x1400496e1
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x38]
lea rcx, [r14 + 0x38]
test rax, rax
je 0x1400496ce
nop dword [rax]
cmp qword [rax + 0x10], rbx
je 0x1400496d7
mov rax, qword [rax]
test rax, rax
jne 0x1400496c0
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r14 + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], rdi
call fcn.14000b740
mov rbx, rax
test rdi, rdi
je 0x140049731
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x50]
lea rcx, [rbx + 0x50]
test rax, rax
je 0x14004971e
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x140049727
mov rax, qword [rax]
test rax, rax
jne 0x140049710
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, rsi
mov dword [rsi + 0x34], r12d
call fcn.14004ab10
mov r9d, 0x2001b
mov qword [rbp - 0x20], r12
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov qword [rbp - 0x28], r12
mov rdx, 0xffffffff80000002
mov qword [rbp - 0x18], r12
lea rcx, [rbp - 0x28]
call fcn.1400280a0
test eax, eax
jne 0x1400497b3
mov rbx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov r9d, 4
mov dword [rbp - 0x30], r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DellPlaybackMuteFunction
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test rbx, rbx
je 0x140049912
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140049912
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140049912
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140049912
call fcn.140014120
mov r15, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r15 + 0x40]
lea rcx, [r15 + 0x40]
test rax, rax
je 0x1400497fe
nop word [rax + rax]
cmp qword [rax + 0x10], rsi
je 0x140049807
mov rax, qword [rax]
test rax, rax
jne 0x1400497f0
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r15 + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], r14
call fcn.1400492c0
mov r15, rax
test r14, r14
je 0x140049861
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r15 + 0x30]
lea rcx, [r15 + 0x30]
test rax, rax
je 0x14004984e
nop dword [rax]
cmp qword [rax + 0x10], r14
je 0x140049857
mov rax, qword [rax]
test rax, rax
jne 0x140049840
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r15 + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], rbx
call fcn.14000b5c0
mov r14, rax
test rbx, rbx
je 0x1400498b1
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x38]
lea rcx, [r14 + 0x38]
test rax, rax
je 0x14004989e
nop dword [rax]
cmp qword [rax + 0x10], rbx
je 0x1400498a7
mov rax, qword [rax]
test rax, rax
jne 0x140049890
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [r14 + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], rdi
call fcn.14000b740
mov rbx, rax
test rdi, rdi
je 0x140049901
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x50]
lea rcx, [rbx + 0x50]
test rax, rax
je 0x1400498ee
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x1400498f7
mov rax, qword [rax]
test rax, rax
jne 0x1400498e0
lea rdx, [rbp - 0x30]
call fcn.140006520
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rsi + 0x34], r12d
call fcn.140049c90
mov rcx, rsi
call fcn.14004ab10
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r8d, 0x4e
lea rdx, str.CGlobalPlaybackMute::CGlobalPlaybackMute
mov r9d, eax
lea rcx, str._s__d_ThreadId_d
call fcn.14005b9a0
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret