Function at 0x1400493b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov dword [rcx + 0x44], 0xffffffff
lea rax, vtable.CGlobalPlaybackMute.1.0
mov dword [rcx + 0x30], r12d
mov qword [rcx], rax
lea rsi, [rcx + 8]
lea rax, vtable.CGlobalPlaybackMute.2.0
mov qword [rcx + 0x3c], r12
mov qword [rsi], rax
lea r14, [rcx + 0x10]
lea rax, vtable.CGlobalPlaybackMute.3.0
mov qword [rcx + 0x28], r12
mov qword [r14], rax
lea r15, [rcx + 0x20]
lea rax, vtable.CGlobalPlaybackMute.4.0
mov dword [rcx + 0x48], r12d
mov qword [rcx + 0x18], rax
mov rbp, rdx
lea rax, vtable.CGlobalPlaybackMute.0
mov rdi, rcx
mov qword [r15], rax
call fcn.14000b810
test rax, rax
je 0x140049509
movzx ecx, word [rax + 0x342]
mov edx, 0x103c
mov eax, dword [0x1401a4668]
cmp cx, dx
mov ebx, 1
cmove eax, ebx
mov dword [0x1401a4668], eax
mov eax, 0x1028
cmp cx, ax
jne 0x140049509
call fcn.14000b810
mov r9d, 0x2001b
mov qword [rsp + 0x40], r12
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov qword [rsp + 0x38], r12
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x48], r12
mov ecx, dword [rax + 0x1c4]
shr ecx, 0xc
not ecx
mov dword [rdi + 0x3c], ebx
and ecx, ebx
mov dword [rdi + 0x40], ecx
lea rcx, [rsp + 0x38]
call fcn.1400298b0
test eax, eax
jne 0x1400494f9
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
lea r9d, [r12 + 4]
mov rcx, rbx
mov dword [rsp + 0x28], 4
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 0x140049509
mov rcx, rbx
jmp 0x140049503
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140049509
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x1401a4668], r12d
je 0x14004954b
test rdi, rdi
cmove rsi, r12
call fcn.14000b9e0
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140007090
test rdi, rdi
cmove r14, r12
call fcn.14000bb60
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140007090
mov dword [rdi + 0x34], r12d
jmp 0x140049605
mov ebx, dword [rdi + 0x40]
mov qword [rdi + 0x28], rbp
call fcn.140014580
mov rdx, rdi
lea rcx, [rax + 0x18]
call fcn.140007090
call fcn.1400491f0
lea rcx, [rax + 8]
test ebx, ebx
je 0x1400495b5
test rdi, rdi
cmove r15, r12
mov rdx, r15
call fcn.140007090
test rdi, rdi
cmove rsi, r12
call fcn.14000b9e0
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140007090
test rdi, rdi
cmove r14, r12
call fcn.14000bb60
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140007090
mov dword [rdi + 0x34], r12d
jmp 0x1400495fd
test rdi, rdi
cmove r15, r12
mov rdx, r15
call fcn.140007090
test rdi, rdi
cmove rsi, r12
call fcn.14000b9e0
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140007090
test rdi, rdi
cmove r14, r12
call fcn.14000bb60
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140007090
mov dword [rdi + 0x34], r12d
call fcn.140049980
mov rcx, rdi
call fcn.14004a930
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r8d, 0x51
lea rdx, str.CGlobalPlaybackMute::CGlobalPlaybackMute
mov r9d, eax
lea rcx, str._s__d_ThreadId_d
call fcn.140064950
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ce210
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret