Function at 0x140049c90
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 [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov dword [rcx + 0x44], 0xffffffff
lea rax, vtable.CGlobalPlaybackMute.3.0
mov dword [rcx + 0x30], r12d
mov qword [rcx], rax
lea rsi, [rcx + 8]
lea rax, vtable.CGlobalPlaybackMute.4.0
mov qword [rcx + 0x3c], r12
mov qword [rsi], rax
lea r14, [rcx + 0x10]
lea rax, vtable.CGlobalPlaybackMute.0
mov qword [rcx + 0x28], r12
mov qword [r14], rax
lea r15, [rcx + 0x20]
lea rax, vtable.CGlobalPlaybackMute.1.0
mov dword [rcx + 0x48], r12d
mov qword [rcx + 0x18], rax
mov rbp, rdx
lea rax, vtable.CGlobalPlaybackMute.2.0
mov rdi, rcx
mov qword [r15], rax
call fcn.14000b810
test rax, rax
je 0x140049de9
movzx ecx, word [rax + 0x342]
mov edx, 0x103c
mov eax, dword [0x1401ad668]
cmp cx, dx
mov ebx, 1
cmove eax, ebx
mov dword [0x1401ad668], eax
mov eax, 0x1028
cmp cx, ax
jne 0x140049de9
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.140029f10
test eax, eax
jne 0x140049dd9
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 0x140049de9
mov rcx, rbx
jmp 0x140049de3
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140049de9
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x1401ad668], r12d
je 0x140049e2b
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 0x140049ee5
mov ebx, dword [rdi + 0x40]
mov qword [rdi + 0x28], rbp
call fcn.1400147e0
mov rdx, rdi
lea rcx, [rax + 0x18]
call fcn.140007090
call fcn.140049ad0
lea rcx, [rax + 8]
test ebx, ebx
je 0x140049e95
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 0x140049edd
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.14004a260
mov rcx, rdi
call fcn.14004b210
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.140065460
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d37a0
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