Function at 0x14005c280
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14014f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov rdi, rcx
mov qword [r11 - 0x50], rcx
add rcx, 0x20
call fcn.140085150
nop
lea rsi, [rdi + 0x18]
lea rax, vtable.CGlobalRecMute.2.0
mov qword [rdi], rax
lea rax, vtable.CGlobalRecMute.3.0
mov qword [rdi + 8], rax
lea rax, vtable.CGlobalRecMute.0
mov qword [rdi + 0x10], rax
lea rax, vtable.CGlobalRecMute.1.0
mov qword [rsi], rax
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x28], r15
mov dword [rdi + 0x30], 0xffffffff
call fcn.14000b1e0
test byte [rax + 0xf0], 0x10
je 0x14005c318
mov dword [rdi + 0x38], 1
call fcn.14000b1e0
test rax, rax
je 0x14005c33c
mov ecx, 0x103c
cmp word [rax + 0x342], cx
jne 0x14005c33c
mov dword [0x140156cf0], 1
jmp 0x14005c345
cmp dword [0x140156cf0], r15d
je 0x14005c35d
call fcn.14000b4c0
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.140006b40
mov dword [rdi + 0x34], r15d
jmp 0x14005c3a7
mov qword [rdi + 0x28], rbp
call fcn.140013f90
lea rcx, [rax + 0x18]
mov rdx, rdi
call fcn.140006b40
call fcn.1400434a0
lea rcx, [rax + 8]
lea rdx, [rdi + 0x10]
call fcn.140006b40
call fcn.14000b4c0
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.140006b40
mov dword [rdi + 0x34], r15d
call fcn.14005c7c0
mov rcx, rdi
call fcn.14005d080
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov r9d, 0x2001b
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140026e10
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x14005c432
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DellMuteFunction
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test rbx, rbx
je 0x14005c42d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x40], rsi
call fcn.14000b630
mov rbp, rax
test rsi, rsi
je 0x14005c482
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbp + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14005c46e
nop word [rax + rax]
cmp qword [rax + 0x10], rsi
je 0x14005c478
mov rax, qword [rax]
test rax, rax
jne 0x14005c460
lea rdx, [rsp + 0x40]
call fcn.140006d00
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r9d, eax
mov r8d, 0x3a
lea rdx, str.CGlobalRecMute::CGlobalRecMute
lea rcx, str._s__d_ThreadId_d
call fcn.14005be10
nop
test rbx, rbx
je 0x14005c4b4
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b96d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret