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

Disassembly:
push 0xffffffffffffffff
push 0x5c6eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
push 0x5efacc
push 1
xor ebx, ebx
push ebx
push 0x5efb9c
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x42db2e
mov ecx, dword [esp + 0x20]
push ecx
lea esi, [esp + 0x20]
call fcn.0043ef40
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x30], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0x6996b4
push eax
call edx
cmp eax, ebx
jge 0x42db44
mov dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x2c]
call fcn.0043efb0
mov byte [esp + 0x50], 1
mov ecx, dword [esp + 0x14]
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 0x42dbc0
mov byte [esp + 0x50], bl
mov esi, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_Processor
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push 0x6996cc
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp eax, ebx
jl 0x42db70
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [esp + 0x34]
call fcn.0043f020
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x42dc7e
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push 0xffffffffffffffff
push eax
call edx
cmp dword [esp + 0x2c], ebx
je 0x42dc60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x3c]
push edx
push ebx
push str.MaxClockSpeed
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x42dc51
inc edi
add esi, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
call ebp
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x42dc13
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42dc70
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp edi, ebx
je 0x42dc7e
mov eax, esi
xor edx, edx
div edi
mov edi, eax
jmp 0x42dc80
xor edi, edi
mov byte [esp + 0x50], 1
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x50], bl
mov esi, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret