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

Disassembly:
push 0xffffffffffffffff
push 0x578528
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
push 0x58b93c
push 1
xor ebx, ebx
push ebx
push 0x58ba0c
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x42779e
mov ecx, dword [esp + 0x20]
push ecx
lea esi, [esp + 0x20]
call fcn.0042ec20
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 0x632c78
push eax
call edx
cmp eax, ebx
jge 0x4277b4
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.0042ec90
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 0x427830
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 0x632c90
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp eax, ebx
jl 0x4277e0
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [esp + 0x34]
call fcn.0042ed00
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 0x4278ee
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 0x4278d0
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 0x4278c1
inc edi
add esi, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
call ebp
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x427883
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4278e0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp edi, ebx
je 0x4278ee
mov eax, esi
xor edx, edx
div edi
mov edi, eax
jmp 0x4278f0
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