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

Disassembly:
push 0xffffffffffffffff
push 0x451938
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4668f0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jge 0x40910b
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea eax, [esp + 0x1c]
push eax
push 0x45883c
push 1
push ebx
push 0x45890c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4090f5
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTWMI
call edi
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x409154
push 0x8007000e
call fcn.00401d90
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov dword [esp + 0x60], 0xffffffff
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
setne bl
call ebp
test bl, bl
jne 0x4090f5
push str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call edi
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
jne 0x4091a9
push 0x8007000e
call fcn.00401d90
push 0x45beb8
mov dword [esp + 0x64], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x4091d0
push 0x8007000e
call fcn.00401d90
lea edx, [esp + 0x18]
push edx
push 0
push 0x10
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push edi
push esi
push eax
mov eax, dword [ecx + 0x50]
call eax
push esi
mov ebx, eax
call ebp
push edi
mov dword [esp + 0x64], 0xffffffff
call ebp
test ebx, ebx
jne 0x4090f5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jne 0x4090f5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4090f5
push str.CurrentTemperature
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebx
push ebx
lea edx, [esp + 0x4c]
push edx
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4090f5
push esi
call ebp
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40928c
push eax
call fcn.00433bd0
lea esi, [esp + 0x34]
lea edi, [esp + 0x24]
mov dword [esp + 0x60], 3
call fcn.00408760
mov ecx, esi
push ecx
mov byte [esp + 0x64], 5
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4092cd
cmp dword [esi + 4], 0
jne 0x4092c8
mov edx, dword [esi]
push edx
call fcn.004340d0
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x4092cf
xor eax, eax
push eax
call fcn.00435329
mov ecx, eax
sub ecx, 0xaac
mov eax, 0x66666667
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esp, 4
lea edi, [esp + 0x24]
add esi, edx
call fcn.004083b0
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret