Function at 0x426700
Capabilities:
Get number of processor cores
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
lea ecx, [ebp - 8]
call fcn.0040ee90
push 0
lea ecx, [ebp - 0x10]
call fcn.0048c570
push 0
lea ecx, [ebp - 0x1c]
call fcn.0048c600
push 0
lea ecx, [ebp - 4]
call fcn.0048c430
push 0
lea ecx, [ebp - 0x14]
call fcn.0048c680
push 0x17
push 0
push 0x574b58
lea ecx, [ebp - 0x10]
call fcn.0048c5d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x42678d
push 0x55027c
mov ecx, dword [ebp + 8]
call fcn.0041c8a0
lea ecx, [ebp - 0x14]
call fcn.004316a0
lea ecx, [ebp - 4]
call fcn.00431640
lea ecx, [ebp - 0x1c]
call fcn.00431680
lea ecx, [ebp - 0x10]
call fcn.00431660
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x426a6a
lea ecx, [ebp - 0x10]
call fcn.0048c5c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x1c]
call fcn.0048c660
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x550280
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x426806
push 0x550298
mov ecx, dword [ebp + 8]
call fcn.0041c8a0
lea ecx, [ebp - 0x14]
call fcn.004316a0
lea ecx, [ebp - 4]
call fcn.00431640
lea ecx, [ebp - 0x1c]
call fcn.00431680
lea ecx, [ebp - 0x10]
call fcn.00431660
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x426a6a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.0048c650
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x426869
push 0x55029c
mov ecx, dword [ebp + 8]
call fcn.0041c8a0
lea ecx, [ebp - 0x14]
call fcn.004316a0
lea ecx, [ebp - 4]
call fcn.00431640
lea ecx, [ebp - 0x1c]
call fcn.00431680
lea ecx, [ebp - 0x10]
call fcn.00431660
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x426a6a
lea ecx, [ebp - 0x1c]
call fcn.0048c670
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x14]
call fcn.0048c6e0
push eax
push 0
push 0x30
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x2c]
call fcn.00431410
mov ecx, eax
call fcn.00431490
push eax
push 0x5502c0
lea ecx, [ebp - 0x30]
call fcn.00431410
mov ecx, eax
call fcn.00431490
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
call fcn.00431470
lea ecx, [ebp - 0x2c]
call fcn.00431470
cmp dword [ebp - 0x18], 0
jge 0x42690f
push 0x5502c4
mov ecx, dword [ebp + 8]
call fcn.0041c8a0
lea ecx, [ebp - 0x14]
call fcn.004316a0
lea ecx, [ebp - 4]
call fcn.00431640
lea ecx, [ebp - 0x1c]
call fcn.00431680
lea ecx, [ebp - 0x10]
call fcn.00431660
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x426a6a
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
call fcn.0048c6d0
test eax, eax
je 0x426a33
push 0
lea ecx, [ebp - 4]
call fcn.0048c470
lea ecx, [ebp - 0x14]
call fcn.0048c6f0
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 4]
call fcn.0048c530
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
jne 0x426968
jmp 0x426a33
push 0x5502c8
push ecx
mov ecx, esp
lea edx, [ebp - 4]
push edx
call fcn.0048c450
lea eax, [ebp - 0x38]
push eax
call fcn.00426a70
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x38]
call fcn.0040f740
push str.NumberOfCores
push ecx
mov ecx, esp
lea edx, [ebp - 4]
push edx
call fcn.0048c450
call fcn.00426b30
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
ja 0x4269c1
cmp dword [ebp - 0x28], 0
jbe 0x426a2c
cmp dword [ebp - 0x24], 0
ja 0x426a2c
jb 0x4269cf
cmp dword [ebp - 0x28], 8
ja 0x426a2c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x50], 2
jne 0x4269e7
cmp dword [ebp - 0x4c], 0
je 0x426a01
cmp dword [ebp - 0x50], 3
jne 0x4269f3
cmp dword [ebp - 0x4c], 0
je 0x426a10
cmp dword [ebp - 0x50], 4
jne 0x4269ff
cmp dword [ebp - 0x4c], 0
je 0x426a1f
jmp 0x426a2c
push 0x5502f0
lea ecx, [ebp - 8]
call fcn.0041c900
jmp 0x426a2c
push 0x5502f8
lea ecx, [ebp - 8]
call fcn.0041c900
jmp 0x426a2c
push 0x550300
lea ecx, [ebp - 8]
call fcn.0041c900
jmp 0x426a33
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x14]
call fcn.004316a0
lea ecx, [ebp - 4]
call fcn.00431640
lea ecx, [ebp - 0x1c]
call fcn.00431680
lea ecx, [ebp - 0x10]
call fcn.00431660
lea ecx, [ebp - 8]
call fcn.0040f740
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret