Function at 0x1400234e0
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rsi, rcx
xor ebp, ebp
mov qword [rsp + 0xb0], rbp
lea r13, [rcx + 0x80]
mov qword [rsp + 0x20], r13
lea r9, [0x140276758]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x1402767b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
lea rcx, str.RtkMute:CoCreateInstance_CLSID_StdGlobalInterfaceTable__ok_r_n
je 0x140023543
lea rcx, str.RtkMute:CoCreateInstance_CLSID_StdGlobalInterfaceTable__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x14021ac30]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14021ac00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140023901
lea rcx, str.RtkMute:CoCreateInstance_CLSID_WbemLocator__ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r12, [rsi + 0x88]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rootwmi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x14002360a
lea rcx, str.RtkMute:pIWbemLocator__ConnectServer_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.RtkMute:pIWbemLocator__ConnectServer_WBEM_S_NO_ERROR_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r12]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea rdi, [rsi + 0xe8]
mov qword [rsp + 0x20], rdi
lea r9, [0x14021ac40]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14021abf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
lea rcx, str.RtkMute:CoCreateInstance_CLSID_UnsecuredApartment__ok_r_n
je 0x140023642
lea rcx, str.RtkMute:CoCreateInstance_CLSID_UnsecuredApartment__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x40
call fcn.14004a8d0
mov rbx, rax
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x14002367f
lea rax, vtable.CWmiEventSink.0
mov qword [rbx], rax
mov dword [rbx + 8], ebp
mov qword [rbx + 0x10], rbp
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x140023682
mov rbx, rbp
mov qword [rsi + 0xd0], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x130]
mov rax, qword [rsi + 0xd0]
mov qword [rax + 0x10], rcx
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsi + 0xe0]
mov rdx, qword [rsi + 0xd0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
lea rcx, str.RtkMute:pUnsecApp__CreateObjectStub_m_pSink_ok_r_n
je 0x1400236cd
lea rcx, str.RtkMute:pUnsecApp__CreateObjectStub_m_pSink_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsi + 0xe0]
mov rax, qword [rcx]
lea r8, [rsi + 0xd8]
lea rdx, [0x14021ac10]
call qword [rax]
test eax, eax
lea rcx, str.RtkMute:pStubUnk__QueryInterface_IID_IWbemObjectSink_ok_r_n
je 0x1400236ff
lea rcx, str.RtkMute:pStubUnk__QueryInterface_IID_IWbemObjectSink_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r14, qword [r12]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14004a8d0
mov rbx, rax
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x14002373f
mov qword [rax + 8], rbp
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_BIOSEvent
call fcn.140049c60
mov qword [rbx], rax
jmp 0x140023742
mov rbx, rbp
mov qword [rsp + 0xc8], rbx
test rbx, rbx
je 0x14002392a
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14004a8d0
mov rdi, rax
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x140023789
mov qword [rax + 8], rbp
mov dword [rax + 0x10], 1
lea rcx, [0x140285390]
call fcn.140049c60
mov qword [rdi], rax
jmp 0x14002378c
mov rdi, rbp
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x140023935
mov r10, qword [r14]
mov rax, qword [rsi + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 0x80
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, r14
call qword [r10 + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov r14d, eax
mov ebp, 0xffffffff
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x140023812
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400237ee
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor r15d, r15d
mov qword [rdi], r15
jmp 0x1400237f1
xor r15d, r15d
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140023803
call fcn.14004a918
mov qword [rdi + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.14000e3e0
jmp 0x140023815
xor r15d, r15d
mov eax, ebp
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140023851
mov rcx, qword [rbx]
test rcx, rcx
je 0x140023832
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140023844
call fcn.14004a918
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.14000e3e0
test r14d, r14d
jne 0x140023865
lea rcx, str.RtkMute:m_pWMINamespace__ExecNotificationQueryAsync_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400238d5
lea rcx, str.RtkMute:m_pWMINamespace__ExecNotificationQueryAsync_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14002391f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xc0], rax
mov r8d, r14d
lea rdx, str.RtkMute:ret_x_r_n
lea rcx, [rsp + 0xc0]
call fcn.140004e30
mov rbx, qword [rsp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x1400238d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r13]
mov rax, qword [rcx]
lea r9, [rsi + 0xf8]
lea r8, [0x14021ac20]
mov rdx, qword [r12]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14002390e
lea rcx, str.RtkMute:CoCreateInstance_CLSID_WbemLocator__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x8007000e
call fcn.1400499d0
nop
mov ecx, 0x8007000e
call fcn.1400499d0
int3