Function at 0x4218e6
Capabilities:
Connect to wmi namespace via wbemlocator
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b171b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push esi
push edi
mov eax, dword [0x6b06f8]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x16], bl
mov dword [esp + 0x30], ebx
xor eax, eax
inc eax
mov dword [esp + 0x1d8], eax
lea ecx, [esp + 0x30]
push ecx
push 0x5cdacc
push eax
push ebx
push 0x5cdb9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x421bc2
cmp dword [esp + 0x30], ebx
je 0x421bc2
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1d8], 3
mov esi, dword [esp + 0x30]
push 0x6776ac
lea edi, [esp + 0x1c]
call fcn.0041bbb1
mov byte [esp + 0x1d8], 4
mov eax, dword [eax]
xor edi, edi
inc edi
mov dword [esp + 0x2c], edi
cmp eax, ebx
je 0x421990
mov eax, dword [eax]
jmp 0x421992
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
test eax, eax
jl 0x4219b3
mov byte [esp + 0x17], 1
cmp dword [esp + 0x24], ebx
jne 0x4219b7
mov byte [esp + 0x17], bl
push 3
pop esi
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x2c], edi
and dword [esp + 0x2c], 0xfffffffe
lea edi, [esp + 0x18]
call fcn.0041bc11
cmp byte [esp + 0x17], bl
je 0x421bb0
push ebx
push ebx
push esi
push esi
push ebx
push ebx
push 0xa
push dword [esp + 0x40]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x421bb0
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1d8], 6
mov esi, dword [esp + 0x24]
push str.SELECT__FROM
lea eax, [esp + 0x3c]
push eax
call fcn.00408561
mov byte [esp + 0x1d8], 7
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0040fc53
pop ecx
pop ecx
mov byte [esp + 0x1d8], 8
push dword [eax]
lea edi, [esp + 0x20]
call fcn.0041bbb1
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d8], 9
push 0x6776c4
lea edi, [esp + 0x24]
call fcn.0041bbb1
mov byte [esp + 0x1d8], 0xa
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x421a72
mov ecx, dword [ecx]
jmp 0x421a74
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x421a7e
mov eax, dword [eax]
jmp 0x421a80
xor eax, eax
mov edx, dword [esi]
lea edi, [esp + 0x28]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov esi, eax
mov byte [esp + 0x1d8], 9
lea edi, [esp + 0x20]
call fcn.0041bc11
mov byte [esp + 0x1d8], 8
lea edi, [esp + 0x1c]
call fcn.0041bc11
mov byte [esp + 0x1d8], 7
lea ecx, [esp + 0x34]
call fcn.004085a2
mov byte [esp + 0x1d8], 6
lea ecx, [esp + 0x38]
call fcn.004085a2
cmp esi, ebx
jl 0x421b9e
cmp dword [esp + 0x28], ebx
je 0x421b9e
mov esi, fcn.00421bee
push esi
push fcn.00426df8
push 0x64
push 4
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x30], ebx
call fcn.00576296
mov byte [esp + 0x1d8], 0xb
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x40]
push edx
push 0x64
push 0x2710
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x421b82
cmp dword [esp + 0x1c], ebx
je 0x421b82
mov dword [esp + 0x18], ebx
jbe 0x421b5f
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov edi, dword [ebp + 0xc]
call fcn.00426e5f
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 4
cmp eax, dword [esp + 0x1c]
jb 0x421b40
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.005749c8
cmp dword [esp + 0x28], ebx
jne 0x421aed
jmp 0x421b99
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.005749c8
mov byte [esp + 0x16], 1
mov byte [esp + 0x1d8], 3
lea eax, [esp + 0x28]
push eax
call fcn.004204aa
mov byte [esp + 0x1d8], 1
lea eax, [esp + 0x24]
push eax
call fcn.004204aa
or dword [esp + 0x1d8], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.004204aa
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret