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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, rcx
xor esi, esi
mov qword [rax + 0x18], rsi
lea r15, [rcx + 0x80]
mov qword [rsp + 0x20], r15
lea r9, [0x1400c1270]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x1400c1290]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140030c51
lea rcx, str.RtkMute:CoCreateInstance_CLSID_StdGlobalInterfaceTable__ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140030c5e
lea rcx, str.RtkMute:CoCreateInstance_CLSID_StdGlobalInterfaceTable__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b80a0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b8170]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140031034
lea rcx, str.RtkMute:CoCreateInstance_CLSID_WbemLocator__ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r14, [r13 + 0x88]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rootwmi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140030d1e
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], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea rdi, [r13 + 0xe8]
mov qword [rsp + 0x20], rdi
lea r9, [0x1400b80f0]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x1400b8190]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140030d57
lea rcx, str.RtkMute:CoCreateInstance_CLSID_UnsecuredApartment__ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140030d64
lea rcx, str.RtkMute:CoCreateInstance_CLSID_UnsecuredApartment__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x40
call fcn.140063100
mov rbx, rax
test rax, rax
je 0x140030d93
lea rax, [0x1400cceb0]
mov qword [rbx], rax
mov dword [rbx + 8], esi
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x140030d96
mov rbx, rsi
mov qword [r13 + 0xd0], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [r13 + 0x130]
mov rax, qword [r13 + 0xd0]
mov qword [rax + 0x10], r11
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [r13 + 0xe0]
mov rdx, qword [r13 + 0xd0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140030de2
lea rcx, str.RtkMute:pUnsecApp__CreateObjectStub_m_pSink_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140030def
lea rcx, str.RtkMute:pUnsecApp__CreateObjectStub_m_pSink_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [r13 + 0xe0]
mov rax, qword [rcx]
lea r8, [r13 + 0xd8]
lea rdx, [0x1400b80b0]
call qword [rax]
test eax, eax
jne 0x140030e1c
lea rcx, str.RtkMute:pStubUnk__QueryInterface_IID_IWbemObjectSink_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140030e29
lea rcx, str.RtkMute:pStubUnk__QueryInterface_IID_IWbemObjectSink_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbp, qword [r14]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140063100
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140030e62
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_BIOSEvent
call fcn.140062900
mov qword [rbx], rax
jmp 0x140030e65
mov rbx, rsi
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x140030e7a
mov ecx, 0x8007000e
call fcn.140062830
nop
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140063100
mov rdi, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140030eb0
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
lea rcx, [0x1400c60c0]
call fcn.140062900
mov qword [rdi], rax
jmp 0x140030eb3
mov rdi, rsi
mov qword [rsp + 0x60], rdi
test rdi, rdi
jne 0x140030ec8
mov ecx, 0x8007000e
call fcn.140062830
nop
test rbx, rbx
je 0x140030ed2
mov r8, qword [rbx]
jmp 0x140030ed5
mov r8, rsi
test rdi, rdi
je 0x140030edf
mov rdx, qword [rdi]
jmp 0x140030ee2
mov rdx, rsi
mov r10, qword [rbp]
mov rax, qword [r13 + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x80
mov rcx, rbp
call qword [r10 + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov r12d, eax
or ebp, 0xffffffff
test rdi, rdi
je 0x140030f42
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, ebp
jne 0x140030f42
mov rcx, qword [rdi]
test rcx, rcx
je 0x140030f2b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140030f39
call fcn.14006314c
mov rcx, rdi
call fcn.14006314c
nop
test rbx, rbx
je 0x140030f77
mov eax, ebp
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
jne 0x140030f77
mov rcx, qword [rbx]
test rcx, rcx
je 0x140030f61
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140030f6f
call fcn.14006314c
mov rcx, rbx
call fcn.14006314c
test r12d, r12d
jne 0x140030f8b
lea rcx, str.RtkMute:m_pWMINamespace__ExecNotificationQueryAsync_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14003100a
lea rcx, str.RtkMute:m_pWMINamespace__ExecNotificationQueryAsync_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140063708
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140030fb6
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xc8], rax
mov r8d, r12d
lea rdx, str.RtkMute:ret_x_r_n
lea rcx, [rsp + 0xc8]
call fcn.140001e50
mov rbx, qword [rsp + 0xc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14003100a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r15]
mov rax, qword [rcx]
lea r9, [r13 + 0xf8]
lea r8, [0x1400b8090]
mov rdx, qword [r14]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140031041
lea rcx, str.RtkMute:CoCreateInstance_CLSID_WbemLocator__fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret