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

Disassembly:
mov eax, 0x10019ecc
call fcn.1001566c
sub esp, 0x34
or dword [ebp - 0x1c], 0xffffffff
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x1000212d
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jl 0x10002127
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0x1001fe00
push 1
pop ebx
push ebx
push esi
push 0x1001fed0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x10002127
push str.ROOTWMI
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esi
call fcn.10003af3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov edi, dword [ecx]
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, eax
call fcn.10003b4c
push eax
push dword [ebp - 0x14]
call dword [edi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.10003b47
cmp edi, esi
jl 0x1000211e
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jl 0x10002115
push str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
call fcn.10003a9f
mov edi, eax
push 0x100231ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.10003a9f
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 2
mov edx, dword [eax]
lea eax, [ebp - 0x18]
push eax
push esi
push 0x30
mov dword [ebp - 0x28], edx
call fcn.10003b4c
push eax
mov ecx, ebx
call fcn.10003b4c
push eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [eax + 0x50]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.10003b47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10003b47
cmp edi, esi
jl 0x10002115
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x18], esi
je 0x100020fe
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
push ecx
push 1
pop edi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [eax + 0x10]
cmp dword [ebp - 0x24], esi
je 0x100020f5
mov eax, dword [ebp - 0x20]
push esi
lea edx, [ebp - 0x40]
push esi
mov ecx, dword [eax]
push edx
push esi
push 0x100231b0
push eax
call dword [ecx + 0x10]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], esi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100020a5
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x100020fe
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
jmp 0x10002121
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret