Function at 0x140031170
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
movzx ebx, r9w
movzx ebp, r8w
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x80
mov rcx, rdi
call fcn.140096180
mov word [rdi], bp
mov word [rdi + 2], bx
mov r13d, dword [rsp + 0xb0]
mov dword [rdi + 4], r13d
mov r14d, dword [rsp + 0xb8]
mov dword [rdi + 8], r14d
mov dword [rdi + 0xc], 0
mov r15d, dword [rsp + 0xc8]
mov dword [rdi + 0x10], r15d
cmp dword [rsp + 0xd0], 0x54
jne 0x140031216
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x140031208
mov r8d, dword [rsp + 0xe0]
lea rcx, [rdi + 0x2c]
call fcn.140095e30
mov dword [rdi + 0x24], 0x1000001
mov dword [rdi + 0x28], 0x54
call fcn.14006628c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140031235
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x98], rax
movzx r8d, bp
lea rdx, str.RtkMute:_______CallingInterfaceSMI___Class:0x_02X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movzx r8d, bx
lea rdx, str.RtkMute:_____________________________Selector:0x_02X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, r13d
lea rdx, str.RtkMute:_____________________________Arg1:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, r14d
lea rdx, str.RtkMute:_____________________________Arg2:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, str.RtkMute:_____________________________Arg3:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, r15d
lea rdx, str.RtkMute:_____________________________Arg4:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rbx, qword [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r13, [rsi + 0x100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rdi + 0x14], 0xfffffffd
cmp qword [rsi + 0x90], 0
jne 0x14003137f
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 0x140031378
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140031592
cmp qword [rsi + 0xa8], 0
jne 0x1400313ba
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 0x1400313b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140031592
mov r8d, dword [rsp + 0xd0]
mov rdx, rdi
mov rcx, rsi
call fcn.140031d80
mov rcx, qword [rsi + 0x90]
mov word [rsp + 0x40], SafeArrayGetDim
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400313ec
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbp, qword [rsi + 0xb8]
lea rcx, str.Data
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140031418
mov ecx, 0x8007000e
call fcn.140001950
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.1400326a0
mov ebx, eax
test eax, eax
je 0x1400314ae
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 + 0x98]
call fcn.140001e40
mov rbx, qword [rsp + 0x98]
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 0x1400314a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140031592
mov r8d, dword [rsp + 0xd0]
mov rdx, rdi
mov rcx, rsi
call fcn.140032880
mov esi, eax
mov rcx, r13
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 + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x18]
lea rdx, str.RtkMute:_____________________________Res2:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x1c]
lea rdx, str.RtkMute:_____________________________Res3:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, dword [rdi + 0x20]
lea rdx, str.RtkMute:_____________________________Res4:0x_08X_______n
lea rcx, [rsp + 0x98]
call fcn.140001e40
mov rbx, qword [rsp + 0x98]
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 0x140031590
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 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret