Function at 0x408584
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fbdc7
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54d894]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [edi - 0x110]
call fcn.0040912d
mov ebx, eax
cmp esi, 0xfa
jne 0x4085ea
test ebx, ebx
je 0x40884e
lea ecx, [ebx + 0x70]
call fcn.00402b35
jmp 0x40884e
mov eax, 0xc8
cmp esi, 0x64
jl 0x4086cf
cmp esi, eax
jge 0x4086d7
movdqa xmm0, xmmword [0x52f490]
movdqu xmmword [esp + 0x1c], xmm0
and dword [esp + 0x50], 0
mov dword [esp + 0x14], 0x51d44c
lea eax, [esp + 0x14]
mov byte [esp + 0x50], 1
push eax
push ecx
mov eax, esp
mov dword [eax], str.recentFilterGraphFiles
call fcn.004070c0
lea ecx, [esp + 0x34]
push ecx
push ecx
mov ecx, dword [eax + 0x44]
call fcn.004409f3
pop ecx
mov ecx, eax
call fcn.00426164
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call fcn.004daafe
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
mov ecx, esp
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
test ebx, ebx
je 0x4086c1
lea ecx, [ebx + 0x70]
call fcn.004da61c
test eax, eax
jne 0x4086c1
lea eax, [esi - 0x64]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00428f9b
push ecx
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 3
push eax
lea ecx, [ebx + 0x70]
call fcn.004da088
lea ecx, [esp + 0x2c]
call fcn.0042db44
lea ecx, [esp + 0x14]
call fcn.0042db44
lea ecx, [esp + 0x1c]
call fcn.0042ff71
jmp 0x40884e
cmp esi, eax
jl 0x4087bc
cmp esi, 0xd2
jge 0x4087bc
cmp esi, eax
jne 0x4086f0
and dword [edi + 0x278], 0
jmp 0x40873e
cmp esi, 0xc9
jne 0x408704
mov dword [edi + 0x278], 1
jmp 0x40873e
cmp esi, 0xca
jne 0x408718
mov dword [edi + 0x278], 2
jmp 0x40873e
cmp esi, 0xcb
jne 0x40872c
mov dword [edi + 0x278], 3
jmp 0x40873e
cmp esi, 0xcc
jne 0x40873e
mov dword [edi + 0x278], 5
mov eax, dword [edi + 0x278]
mov dword [esp + 0x2c], 0x54e830
mov dword [esp + 0x34], eax
push ecx
mov eax, esp
mov dword [esp + 0x54], 4
lea ecx, [esp + 0x18]
mov dword [eax], str.pluginSortMethod
call fcn.0043d793
pop ecx
mov byte [esp + 0x50], 5
call fcn.004070c0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x44]
call fcn.004409f3
mov ecx, eax
call fcn.004262ec
mov eax, dword [esp + 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
or dword [esp + 0x54], 0xffffffff
lea edx, [esp + 0x38]
pop ecx
mov ecx, dword [esp + 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, edi
call fcn.00442b03
jmp 0x40884e
call fcn.0042c4b0
mov ecx, eax
call fcn.0042c548
mulss xmm0, dword [0x52f080]
movd xmm1, dword [edi - 0xf4]
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x52f034]
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x52f378]
movsd qword [esp + 0x2c], xmm0
call fcn.0042c4b0
mov ecx, eax
call fcn.0042c548
mulss xmm0, dword [0x52f080]
lea ecx, [edi - 0x110]
movd xmm1, dword [edi - 0xf8]
push dword [esp + 0x2c]
addss xmm0, dword [0x52f034]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x52f378]
movsd qword [esp + 0x18], xmm0
push dword [esp + 0x18]
push esi
call fcn.00408916
push eax
call fcn.0040886e
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004db457
mov esp, ebp
pop ebp
ret 8