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

Disassembly:
push 0xffffffffffffffff
push 0x4313ee
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4390b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
or esi, 0xffffffff
push ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x402cb5
push ebp
push ebp
push ebp
push 3
push ebp
push ebp
push ebp
push esi
push ebp
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jl 0x402caf
lea eax, [esp + 0x18]
push eax
push 0x434b20
mov ebx, 1
push ebx
push ebp
push 0x434bf0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x402caf
lea ecx, [esp + 0x2c]
push ecx
mov edi, str.ROOTWMI
mov dword [esp + 0x18], ebp
call fcn.00402610
mov dword [esp + 0x50], ebp
mov eax, dword [eax]
cmp eax, ebp
je 0x402a41
mov ecx, dword [eax]
jmp 0x402a43
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x14]
push edi
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x402aa3
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x402aa3
cmp esi, ebp
je 0x402aa3
mov eax, dword [esi]
cmp eax, ebp
je 0x402a8a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x402a9a
push eax
call fcn.004088ab
add esp, 4
push esi
call fcn.00408475
add esp, 4
cmp edi, ebp
jl 0x402acc
mov eax, dword [esp + 0x14]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
jge 0x402ad5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
jmp 0x402ca7
push 0xc
mov dword [esp + 0x20], ebp
call fcn.004089ae
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], ebx
cmp esi, ebp
je 0x402b07
push str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
call fcn.004285d0
mov dword [esi], eax
mov edi, esi
jmp 0x402b09
xor edi, edi
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x2c], edi
cmp edi, ebp
jne 0x402b23
push 0x8007000e
call fcn.004283a0
mov ebx, 2
push 0xc
mov dword [esp + 0x54], ebx
call fcn.004089ae
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x50], 3
cmp esi, ebp
je 0x402b5d
push 0x435224
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.004285d0
mov dword [esi], eax
jmp 0x402b5f
xor esi, esi
mov byte [esp + 0x50], bl
mov dword [esp + 0x30], esi
cmp esi, ebp
jne 0x402b75
push 0x8007000e
call fcn.004283a0
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x54], 4
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push 0x30
push edx
mov edx, dword [esi]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x30], eax
call ebx
cmp eax, ebp
jne 0x402bce
mov eax, dword [esi]
cmp eax, ebp
je 0x402bb5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x402bc5
push eax
call fcn.004088ab
add esp, 4
push esi
call fcn.00408475
add esp, 4
lea edx, [edi + 8]
push edx
mov dword [esp + 0x54], 0xffffffff
call ebx
test eax, eax
jne 0x402c06
mov eax, dword [edi]
cmp eax, ebp
je 0x402bed
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x402bfd
push eax
call fcn.004088ab
add esp, 4
push edi
call fcn.00408475
add esp, 4
cmp dword [esp + 0x2c], ebp
jl 0x402ac0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
cmp eax, ebp
je 0x402c8b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x28], ebp
je 0x402c7c
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x3c]
push edx
push ebp
push 0x435228
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x24], ebp
call esi
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x402c26
jmp 0x402c8b
cmp dword [esp + 0x20], 0xffffffff
jne 0x402c8b
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret