Function at 0x140045c30
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 [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov dword [rcx + 0x44], 0xffffffff
lea rax, vtable.CGlobalPlaybackMute.4.0
mov dword [rcx + 0x30], r12d
mov qword [rcx], rax
lea rsi, [rcx + 8]
lea rax, vtable.CGlobalPlaybackMute.3.0
mov qword [rcx + 0x3c], r12
mov qword [rsi], rax
lea r14, [rcx + 0x10]
lea rax, vtable.CGlobalPlaybackMute.1.0
mov qword [rcx + 0x28], r12
mov qword [r14], rax
lea r15, [rcx + 0x20]
lea rax, vtable.CGlobalPlaybackMute.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.14000b240
test rax, rax
je 0x140045d89
movzx ecx, word [rax + 0x342]
mov edx, 0x103c
mov eax, dword [0x140162b58]
cmp cx, dx
mov ebx, 1
cmove eax, ebx
mov dword [0x140162b58], eax
mov eax, 0x1028
cmp cx, ax
jne 0x140045d89
call fcn.14000b240
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.140027bc0
test eax, eax
jne 0x140045d79
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 0x140045d89
mov rcx, rbx
jmp 0x140045d83
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140045d89
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x140162b58], r12d
je 0x140045dcb
test rdi, rdi
cmove rsi, r12
call fcn.14000b520
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140006ae0
test rdi, rdi
cmove r14, r12
call fcn.14000b690
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140006ae0
mov dword [rdi + 0x34], r12d
jmp 0x140045e85
mov ebx, dword [rdi + 0x40]
mov qword [rdi + 0x28], rbp
call fcn.140013fa0
mov rdx, rdi
lea rcx, [rax + 0x18]
call fcn.140006ae0
call fcn.140045a70
lea rcx, [rax + 8]
test ebx, ebx
je 0x140045e35
test rdi, rdi
cmove r15, r12
mov rdx, r15
call fcn.140006ae0
test rdi, rdi
cmove rsi, r12
call fcn.14000b520
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140006ae0
test rdi, rdi
cmove r14, r12
call fcn.14000b690
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140006ae0
mov dword [rdi + 0x34], r12d
jmp 0x140045e7d
test rdi, rdi
cmove r15, r12
mov rdx, r15
call fcn.140006ae0
test rdi, rdi
cmove rsi, r12
call fcn.14000b520
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140006ae0
test rdi, rdi
cmove r14, r12
call fcn.14000b690
mov rdx, r14
lea rcx, [rax + 0x28]
call fcn.140006ae0
mov dword [rdi + 0x34], r12d
call fcn.140046200
mov rcx, rdi
call fcn.1400471c0
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.14005f240
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c0920
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