Function at 0x14005bd70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
add rcx, 0x20
call fcn.140089de0
nop
lea rdi, [rbx + 8]
lea r14, [rbx + 0x10]
lea r15, [rbx + 0x18]
lea rax, vtable.CGlobalRecMute.3.0
mov qword [rbx], rax
lea rax, vtable.CGlobalRecMute.1.0
mov qword [rdi], rax
lea rax, vtable.CGlobalRecMute.2.0
mov qword [r14], rax
lea rax, vtable.CGlobalRecMute.0
mov qword [r15], rax
xor ebp, ebp
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x28], rbp
mov dword [rbx + 0x30], 0xffffffff
call fcn.14000b2a0
test byte [rax + 0xf0], 0x10
je 0x14005be0b
mov dword [rbx + 0x38], 1
call fcn.14000b2a0
test rax, rax
je 0x14005be2f
mov ecx, 0x103c
cmp word [rax + 0x342], cx
jne 0x14005be2f
mov dword [0x140143c50], 1
jmp 0x14005be37
cmp dword [0x140143c50], ebp
je 0x14005be8a
mov qword [rsp + 0x38], rdi
call fcn.14000b5c0
mov rsi, rax
test rdi, rdi
je 0x14005be82
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x14005be6e
nop
cmp qword [rax + 0x10], rdi
je 0x14005be78
mov rax, qword [rax]
test rax, rax
jne 0x14005be60
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x34], ebp
jmp 0x14005bf82
mov qword [rbx + 0x28], rsi
mov qword [rsp + 0x38], rbx
call fcn.140014120
mov rsi, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x40]
mov rax, qword [rcx]
test rax, rax
je 0x14005bebf
cmp qword [rax + 0x10], rbx
je 0x14005bec9
mov rax, qword [rax]
test rax, rax
jne 0x14005beb1
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rsi + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], r14
call fcn.1400492c0
mov rsi, rax
test r14, r14
je 0x14005bf22
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x30]
mov rax, qword [rcx]
test rax, rax
je 0x14005bf0e
nop dword [rax + rax]
cmp qword [rax + 0x10], r14
je 0x14005bf18
mov rax, qword [rax]
test rax, rax
jne 0x14005bf00
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rsi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], rdi
call fcn.14000b5c0
mov rsi, rax
test rdi, rdi
je 0x14005bf72
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x14005bf5e
nop word [rax + rax]
cmp qword [rax + 0x10], rdi
je 0x14005bf68
mov rax, qword [rax]
test rax, rax
jne 0x14005bf50
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov dword [rbx + 0x34], ebp
call fcn.14005c3b0
mov rcx, rbx
call fcn.14005cb70
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
mov r9d, 0x2001b
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceGeneral
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400280a0
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x14005c00c
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DellMuteFunction
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test rdi, rdi
je 0x14005c008
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x38], r15
call fcn.14000b740
mov rsi, rax
test r15, r15
je 0x14005c056
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rsi + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14005c042
cmp qword [rax + 0x10], r15
je 0x14005c04c
mov rax, qword [rax]
test rax, rax
jne 0x14005c034
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rsi + 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.14005b9a0
nop
test rdi, rdi
je 0x14005c088
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x60]
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