Function at 0x14002b490
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea r8d, [rdx + 0x2d]
mov rcx, rdi
call fcn.1400832b0
mov word [rdi], 1
mov word [rdi + 2], 0
mov ebx, dword [rsp + 0xa0]
mov dword [rdi + 4], ebx
mov ebp, dword [rsp + 0xa8]
mov dword [rdi + 8], ebp
mov dword [rdi + 0xc], 0
mov dword [rdi + 0x10], 0
call fcn.140054628
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002b50c
mov ecx, 0x80004005
call fcn.140012060
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov r8d, 1
lea rdx, str.RtkMute:_______CallingInterfaceSMI___Class:0x_02X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, str.RtkMute:_____________________________Selector:0x_02X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, ebx
lea rdx, str.RtkMute:_____________________________Arg1:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, ebp
lea rdx, str.RtkMute:_____________________________Arg2:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, str.RtkMute:_____________________________Arg3:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, str.RtkMute:_____________________________Arg4:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r12, [rsi + 0x98]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rdi + 0x14], 0xfffffffd
cmp qword [rsi + 0x28], 0
jne 0x14002b654
lea rcx, str.RtkMute:__m_pInstBDatClass_is_NULL.__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b64d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14002b851
cmp qword [rsi + 0x40], 0
jne 0x14002b68c
lea rcx, str.RtkMute:__m_pInParamsDef_is_NULL.__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b685
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14002b851
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14002bdc0
mov rcx, qword [rsi + 0x28]
mov word [rsp + 0x40], SafeArrayGetDim
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14002b6b6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbp, qword [rsi + 0x50]
lea rcx, str.Data
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14002b6df
mov ecx, 0x8007000e
call fcn.140012060
nop
mov rax, qword [rbp]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call qword [rax + 0x28]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call fcn.14002c6d0
mov ebx, eax
test eax, eax
je 0x14002b775
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, [rsp + 0x88]
call fcn.140015b40
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b76e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14002b851
mov rdx, rdi
mov rcx, rsi
call fcn.14002c8b0
mov esi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, dword [rdi + 0x14]
lea rdx, str.RtkMute:____________Returned_value___Res1:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x18]
lea rdx, str.RtkMute:_____________________________Res2:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x1c]
lea rdx, str.RtkMute:_____________________________Res3:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x20]
lea rdx, str.RtkMute:_____________________________Res4:0x_08X_______n
lea rcx, [rsp + 0x88]
call fcn.140015b40
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b84f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret