Function at 0x140022de0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
movzx ebx, r9w
movzx r12d, r8w
mov rdi, rdx
mov rsi, rcx
lea rcx, [rdx + 0x14]
xor edx, edx
lea r8d, [rdx + 0x6c]
call fcn.1401e67e0
mov word [rdi], r12w
mov word [rdi + 2], bx
mov r13d, dword [rbp + 0x50]
mov dword [rdi + 4], r13d
mov eax, dword [rbp + 0x58]
mov dword [rdi + 8], eax
xor r14d, r14d
mov dword [rdi + 0xc], r14d
mov eax, dword [rbp + 0x68]
mov dword [rdi + 0x10], eax
cmp dword [rbp + 0x70], 0x54
jne 0x140022e6f
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x140022e61
mov r8d, dword [rbp + 0x80]
lea rcx, [rdi + 0x2c]
call fcn.1401e6370
mov dword [rdi + 0x24], 0x1000001
mov dword [rdi + 0x28], 0x54
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14002311e
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x38], rax
movzx r8d, r12w
lea rdx, str.RtkMute:_______CallingInterfaceSMI___Class:0x_02X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movzx r8d, bx
lea rdx, str.RtkMute:_____________________________Selector:0x_02X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, r13d
lea rdx, str.RtkMute:_____________________________Arg1:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rbp + 0x58]
lea rdx, str.RtkMute:_____________________________Arg2:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, str.RtkMute:_____________________________Arg3:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rbp + 0x68]
lea rdx, str.RtkMute:_____________________________Arg4:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsi + 0x100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rdi + 0x14], 0xfffffffd
cmp qword [rsi + 0x90], 0
jne 0x140022f73
lea rcx, str.RtkMute:__m_pInstBDatClass_is_NULL.__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400230da
cmp qword [rsi + 0xa8], 0
jne 0x140022f8f
lea rcx, str.RtkMute:__m_pInParamsDef_is_NULL.__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400230da
mov r8d, dword [rbp + 0x70]
mov rdx, rdi
mov rcx, rsi
call fcn.140023730
mov rcx, qword [rsi + 0x90]
mov eax, SafeArrayGetDim
mov word [rbp - 0x20], ax
mov qword [rbp - 0x18], rcx
test rcx, rcx
je 0x140022fbe
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r12, qword [rsi + 0xb8]
lea rcx, str.Data
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140023113
mov rax, qword [r12]
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [rax + 0x28]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call fcn.140023bf0
mov ebx, eax
test eax, eax
je 0x140023034
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9d, ebx
lea rdx, str.RtkMute:__ExecuteDoBFnMethod___failed__Error___d__l_hr__0x_0x_n
lea rcx, [rbp + 0x38]
call fcn.140004e30
jmp 0x1400230c1
mov r8d, dword [rbp + 0x70]
mov rdx, rdi
mov rcx, rsi
call fcn.140023d80
mov r14d, eax
lea rcx, [rsi + 0x100]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, dword [rdi + 0x14]
lea rdx, str.RtkMute:____________Returned_value___Res1:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x18]
lea rdx, str.RtkMute:_____________________________Res2:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x1c]
lea rdx, str.RtkMute:_____________________________Res3:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x20]
lea rdx, str.RtkMute:_____________________________Res4:0x_08X_______n
lea rcx, [rbp + 0x38]
call fcn.140004e30
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400230f7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r14d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3