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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b819e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
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 0x5d4a8c
push eax
push ebx
push 0x5d4b5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x421880
cmp dword [esp + 0x30], ebx
je 0x421880
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1d8], 3
mov esi, dword [esp + 0x30]
push 0x6896a4
lea edi, [esp + 0x1c]
call fcn.0041b722
mov byte [esp + 0x1d8], 4
mov eax, dword [eax]
xor edi, edi
inc edi
mov dword [esp + 0x2c], edi
cmp eax, ebx
je 0x42164e
mov eax, dword [eax]
jmp 0x421650
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 0x421671
mov byte [esp + 0x17], 1
cmp dword [esp + 0x24], ebx
jne 0x421675
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.0041b782
cmp byte [esp + 0x17], bl
je 0x42186e
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 0x42186e
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.00408518
mov byte [esp + 0x1d8], 7
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [esp + 0x1d8], 8
push dword [eax]
lea edi, [esp + 0x20]
call fcn.0041b722
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d8], 9
push 0x6896dc
lea edi, [esp + 0x24]
call fcn.0041b722
mov byte [esp + 0x1d8], 0xa
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x421730
mov ecx, dword [ecx]
jmp 0x421732
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x42173c
mov eax, dword [eax]
jmp 0x42173e
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.0041b782
mov byte [esp + 0x1d8], 8
lea edi, [esp + 0x1c]
call fcn.0041b782
mov byte [esp + 0x1d8], 7
lea ecx, [esp + 0x34]
call fcn.00408559
mov byte [esp + 0x1d8], 6
lea ecx, [esp + 0x38]
call fcn.00408559
cmp esi, ebx
jl 0x42185c
cmp dword [esp + 0x28], ebx
je 0x42185c
mov esi, fcn.004218ac
push esi
push fcn.00426d82
push 0x64
push 4
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x30], ebx
call fcn.0057c246
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 0x421840
cmp dword [esp + 0x1c], ebx
je 0x421840
mov dword [esp + 0x18], ebx
jbe 0x42181d
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov edi, dword [ebp + 0xc]
call fcn.00426de9
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 4
cmp eax, dword [esp + 0x1c]
jb 0x4217fe
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.0057a921
cmp dword [esp + 0x28], ebx
jne 0x4217ab
jmp 0x421857
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.0057a921
mov byte [esp + 0x16], 1
mov byte [esp + 0x1d8], 3
lea eax, [esp + 0x28]
push eax
call fcn.0046f5eb
mov byte [esp + 0x1d8], 1
lea eax, [esp + 0x24]
push eax
call fcn.0046f5eb
or dword [esp + 0x1d8], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.0046f5eb
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