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

Disassembly:
mov eax, 0x469a21
call fcn.00469788
mov eax, 0x8044
call fcn.00442e00
push ebx
push 8
mov ebx, ecx
push 0
push ebx
call fcn.00445670
add esp, 0xc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x406837
xor eax, eax
inc eax
jmp 0x406b62
push edi
xor eax, eax
push eax
push eax
push eax
push 3
pop edi
push edi
push eax
push eax
push eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x406859
push 2
pop edi
jmp 0x406b59
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x46d45c
push 1
push 0
push 0x46d46c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x406b59
and dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0x24]
call fcn.004066e8
and dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x406898
mov edx, dword [eax]
jmp 0x40689a
xor edx, edx
mov eax, dword [ebp - 0x18]
push esi
lea esi, [ebp - 0x10]
push esi
mov ecx, dword [eax]
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00406753
test esi, esi
jns 0x4068d3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 4
jmp 0x406ac4
xor eax, eax
push eax
push eax
push edi
push edi
push eax
push eax
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x406903
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 5
jmp 0x406ac4
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
push str.SELECT__FROM_Win32_OperatingSystem
call fcn.00406684
mov esi, eax
push 0x47d394
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00406684
mov byte [ebp - 4], 2
mov ecx, dword [esi]
test ecx, ecx
je 0x406938
mov esi, dword [ecx]
jmp 0x40693a
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x406944
mov edx, dword [eax]
jmp 0x406946
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00406753
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406753
test esi, esi
js 0x406ab0
and dword [ebp - 0x24], 0
jmp 0x406a2f
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x406a3c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x47d398
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x406a1c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
mov edx, 0x8000
push eax
call fcn.004067a9
xor ecx, ecx
lea eax, [ebp - 0x8050]
push ecx
push ecx
push 0x7d00
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x8050]
mov byte [ebp - 0x350], 0
push eax
call fcn.00450226
fmul qword [0x483b90]
pop ecx
fstp qword [ebp - 0x30]
cvttsd2si eax, qword [ebp - 0x30]
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x406983
jmp 0x406a3f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x28]
call fcn.00406684
mov esi, eax
push 0x47d394
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00406684
mov byte [ebp - 4], 4
mov esi, dword [esi]
test esi, esi
je 0x406a72
mov esi, dword [esi]
jmp 0x406a74
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x406a7e
mov edx, dword [eax]
jmp 0x406a80
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00406753
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406753
test esi, esi
jns 0x406aca
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 6
pop edi
jmp 0x406b58
and dword [ebp - 0x20], 0
jmp 0x406b32
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x406b3b
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.MaxClockSpeed
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x406b1f
cmp word [ebp - 0x50], di
jne 0x406b1f
mov eax, dword [ebp - 0x48]
cmp dword [ebx + 4], eax
jge 0x406b1f
mov dword [ebx + 4], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x406ad0
jmp 0x406b3e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor edi, edi
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret