Function at 0x140001d50
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1400360a0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140002110
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14000210a
mov qword [rbp + 7], r15
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [0x140024ea0]
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [0x140024e90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000210a
mov qword [rbp - 1], r15
lea ecx, [rsi + 0x19]
call fcn.1400066d4
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140001e4f
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r12d
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000214a
jmp 0x140001e52
mov rbx, r15
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140002155
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140001ed0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001eb1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001ec3
call fcn.140006544
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140006544
test edi, edi
js 0x140001f10
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140001f1f
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000210a
mov qword [rbp + 0xf], r15
mov ecx, 0x18
call fcn.1400066d4
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140001f5b
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r12d
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call fcn.1400061d0
mov qword [rbx], rax
jmp 0x140001f5e
mov rbx, r15
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x140002160
mov ecx, 0x18
call fcn.1400066d4
mov rdi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140001fa3
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r12d
lea rcx, [0x140030a5c]
call fcn.1400061d0
mov qword [rdi], rax
jmp 0x140001fa6
mov rdi, r15
mov qword [rbp - 9], rdi
test rdi, rdi
je 0x14000213f
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rdi]
call qword [rax + 0xa0]
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000201d
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001ffd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000200f
call fcn.140006544
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.140006544
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000205c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000203d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000204f
call fcn.140006544
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140006544
test r14d, r14d
js 0x140001f06
mov qword [rbp + 0x17], r15
mov dword [rbp + 0x1f], r15d
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400020ec
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x17]
mov r8d, r12d
mov edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp + 0x1f], 0
je 0x1400020e5
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, str.CurrentTemperature
call qword [rax + 0x20]
mov esi, r15d
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
jne 0x140002080
jmp 0x1400020ec
cmp esi, 0xffffffff
cmove esi, r12d
mov rcx, qword [rbp - 1]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 7]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140006520
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400061c0
nop
mov ecx, 0x8007000e
call fcn.1400061c0
nop
mov ecx, 0x8007000e
call fcn.1400061c0
int3
mov ecx, 0x8007000e
call fcn.1400061c0
int3