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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418f49
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x420854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x401ea3
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x401e9d
lea eax, [ebp - 0x14]
push eax
push 0x41a50c
mov edi, 1
push edi
push ebx
push 0x41a5dc
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x401e9d
push 0xc
mov dword [ebp - 0x10], ebx
call fcn.00406c5d
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x401c1a
push str.ROOTWMI
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebx
jne 0x401c1c
push 0x8007000e
call fcn.00406380
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], esi
cmp esi, ebx
jne 0x401c34
push 0x8007000e
call fcn.00406380
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x14]
mov edx, dword [esi]
mov ecx, dword [eax]
push ebx
push ebx
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [esi + 8]
push ecx
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x401c8c
mov eax, dword [esi]
cmp eax, ebx
je 0x401c73
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401c83
push eax
call fcn.00406ba2
add esp, 4
push esi
call fcn.00406611
add esp, 4
cmp edi, ebx
jge 0x401ca0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401e9d
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x401ccb
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x14]
jmp 0x401e95
push 0xc
mov dword [ebp - 0x18], ebx
call fcn.00406c5d
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 2
cmp esi, ebx
je 0x401d02
push str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.004063a0
mov dword [esi], eax
mov edi, esi
jmp 0x401d04
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], edi
cmp edi, ebx
jne 0x401d1c
push 0x8007000e
call fcn.00406380
push 0xc
mov dword [ebp - 4], 3
call fcn.00406c5d
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x401d52
push 0x41d388
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.004063a0
mov dword [esi], eax
jmp 0x401d54
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], esi
cmp esi, ebx
jne 0x401d69
push 0x8007000e
call fcn.00406380
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 5
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push 0x30
push edx
mov edx, dword [esi]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
lea ecx, [esi + 8]
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x401dbc
mov eax, dword [esi]
cmp eax, ebx
je 0x401da3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401db3
push eax
call fcn.00406ba2
add esp, 4
push esi
call fcn.00406611
add esp, 4
lea edx, [edi + 8]
push edx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401df7
mov eax, dword [edi]
cmp eax, ebx
je 0x401dde
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x401dee
push eax
call fcn.00406ba2
add esp, 4
push edi
call fcn.00406611
add esp, 4
cmp dword [ebp - 0x28], ebx
jge 0x401e0f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
jmp 0x401e95
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
cmp eax, ebx
je 0x401e7c
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x24], ebx
je 0x401e6f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push 0x41d38c
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x1c], ebx
call esi
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x401e22
jmp 0x401e7c
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401e7c
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret