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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b13e4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
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 0x4218c2
cmp dword [esp + 0x30], ebx
je 0x4218c2
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1d8], 3
mov esi, dword [esp + 0x30]
push 0x681d6c
lea edi, [esp + 0x1c]
call fcn.0041b829
mov byte [esp + 0x1d8], 4
mov eax, dword [eax]
xor edi, edi
inc edi
mov dword [esp + 0x2c], edi
cmp eax, ebx
je 0x421690
mov eax, dword [eax]
jmp 0x421692
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 0x4216b3
mov byte [esp + 0x17], 1
cmp dword [esp + 0x24], ebx
jne 0x4216b7
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.0041b889
cmp byte [esp + 0x17], bl
je 0x4218b0
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 0x4218b0
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.0040852d
mov byte [esp + 0x1d8], 7
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0040fc0a
pop ecx
pop ecx
mov byte [esp + 0x1d8], 8
push dword [eax]
lea edi, [esp + 0x20]
call fcn.0041b829
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d8], 9
push 0x681da4
lea edi, [esp + 0x24]
call fcn.0041b829
mov byte [esp + 0x1d8], 0xa
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x421772
mov ecx, dword [ecx]
jmp 0x421774
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x42177e
mov eax, dword [eax]
jmp 0x421780
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.0041b889
mov byte [esp + 0x1d8], 8
lea edi, [esp + 0x1c]
call fcn.0041b889
mov byte [esp + 0x1d8], 7
lea ecx, [esp + 0x34]
call fcn.0040856e
mov byte [esp + 0x1d8], 6
lea ecx, [esp + 0x38]
call fcn.0040856e
cmp esi, ebx
jl 0x42189e
cmp dword [esp + 0x28], ebx
je 0x42189e
mov esi, fcn.004218ee
push esi
push fcn.00426b60
push 0x64
push 4
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x30], ebx
call fcn.00575f76
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 0x421882
cmp dword [esp + 0x1c], ebx
je 0x421882
mov dword [esp + 0x18], ebx
jbe 0x42185f
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov edi, dword [ebp + 0xc]
call fcn.00426bc7
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 4
cmp eax, dword [esp + 0x1c]
jb 0x421840
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.00574651
cmp dword [esp + 0x28], ebx
jne 0x4217ed
jmp 0x421899
mov byte [esp + 0x1d8], 6
push esi
push 0x64
push 4
lea eax, [esp + 0x48]
push eax
call fcn.00574651
mov byte [esp + 0x16], 1
mov byte [esp + 0x1d8], 3
lea eax, [esp + 0x28]
push eax
call fcn.004201c8
mov byte [esp + 0x1d8], 1
lea eax, [esp + 0x24]
push eax
call fcn.004201c8
or dword [esp + 0x1d8], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.004201c8
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