Function at 0x140023b40
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov r15, rdx
mov rsi, rcx
lea rcx, str.WMI_Query.InstanceName_ACPIPNP0C140_0_
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140023dd5
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140023de0
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x11], rdi
xor r14d, r14d
mov qword [rbp + 0x7f], r14
mov rcx, qword [rsi + 0x88]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x30]
test eax, eax
jns 0x140023bfa
mov r8d, eax
lea rdx, str.RtkMute:__Failed_to_get_class_object_in_WMIQuery____0x_X_n
lea rcx, [rbp - 0x11]
call fcn.140004e30
mov rdi, qword [rbp - 0x11]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140023d78
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rsi, qword [rbp + 0x7f]
lea rcx, str.QDATA
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x27], rax
test rax, rax
je 0x140023deb
mov rax, qword [rsi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x20]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x140023c72
lea rcx, str.RtkMute:__Failed_to_get_QDATA_property_in_WMIQuery____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140023d6d
mov qword [rbp + 0x77], r14
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140023c9d
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
lea rdx, [0x140285c10]
call qword [rax]
mov rcx, qword [rbp + 0x77]
test eax, eax
cmovs rcx, r14
mov qword [rbp + 0x77], rcx
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rsi, qword [rbp + 0x77]
lea rcx, str.Bytes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x140023dca
mov rax, qword [rsi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x20]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x140023d1c
lea rcx, str.RtkMute:__Failed_to_get_Bytes_property_in_WMIQuery____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140023d52
mov qword [rbp - 9], r14
lea rdx, [rbp - 9]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rax, qword [rbp - 9]
mov ecx, dword [rax + 0xc]
mov dword [r15], ecx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r14d, 1
lea rcx, [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140023d6d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140023d88
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rdx, [rdi - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140023da6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, r14d
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140005680
nop
mov ecx, 0x8007000e
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x8007000e
call fcn.140005680
int3