Function at 0x40e550
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab19
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5cfc24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2e8], edi
mov esi, dword [edi + 0x14c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x2d8], 2
mov dword [ebp - 0x2dc], 0x64
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x58], 0x7a6e6f57
mov byte [ebp - 0x54], 0
mov ecx, dword [edi + 0x24]
mov dword [ebp - 4], 0
call fcn.004150d0
lea edx, [ebp - 0x2e4]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x24]
mov eax, dword [eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x50f9d0]
movss dword [ebp - 0x2d4], xmm0
call fcn.004150d0
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
movss xmm1, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x1a8]
push esi
push 0x5cf030
mov eax, dword [eax + 4]
movss dword [ebp - 0x2f0], xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2dc]
push eax
cvtpd2ps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2f0]
push eax
mulss xmm0, dword [0x50f9d0]
subss xmm0, dword [0x50f9d4]
movss dword [ebp - 0x2ec], xmm0
call fcn.00415690
push eax
lea ecx, [edi + 0x260]
mov byte [ebp - 4], 1
call fcn.00404f30
lea ecx, [ebp - 0x1a8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40e6e5
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee6e
push ecx
push edx
call fcn.004dded2
add esp, 8
mov edi, dword [edi + 0x14c]
lea ecx, [ebp - 0x2ec]
push 0
push 0
push 0
push 0
call fcn.00451f80
mov ecx, dword [str.START]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], ecx
mov esi, eax
mov cl, byte [0x50f970]
mov dword [ebp - 0x2d8], 0x32
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3b], 0
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 4], 2
mov ecx, dword [ecx + 0x24]
call fcn.004150d0
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov eax, dword [eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [eax + 0x24]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x50f9d0]
movss dword [ebp - 0x2dc], xmm0
call fcn.004150d0
lea edx, [ebp - 0x300]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
movss xmm1, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2d0]
push edi
push 0x5cf030
mov eax, dword [eax + 4]
push esi
movss dword [ebp - 0x2e4], xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x40]
push eax
cvtpd2ps xmm0, xmm0
lea eax, [ebp - 0x2e4]
push eax
mulss xmm0, dword [0x50f9d0]
addss xmm0, dword [0x50f9d8]
movss dword [ebp - 0x2e0], xmm0
call fcn.00415b60
mov esi, eax
mov dword [ebp - 0x2d4], esi
mov edi, dword [ebp - 0x2e8]
lea ecx, [esi + 8]
push ecx
mov byte [ebp - 4], 3
lea ecx, [edi + 0x3b8]
call fcn.00404f30
lea ecx, [esi + 0x15c]
push ecx
lea ecx, [edi + 0x50c]
call fcn.004050a0
mov eax, dword [esi + 0x204]
lea edx, [esi + 0x228]
mov dword [edi + 0x5b4], eax
lea ecx, [edi + 0x5d8]
movups xmm0, xmmword [esi + 0x208]
movups xmmword [edi + 0x5b8], xmm0
mov eax, dword [esi + 0x218]
mov dword [edi + 0x5c8], eax
mov eax, dword [esi + 0x21c]
mov dword [edi + 0x5cc], eax
mov eax, dword [esi + 0x220]
mov dword [edi + 0x5d0], eax
cmp ecx, edx
je 0x40e8b1
mov esi, dword [edx]
mov eax, 0x66666667
mov edx, dword [edx + 4]
sub edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004027b0
mov esi, dword [ebp - 0x2d4]
mov eax, dword [esi + 0x234]
lea edx, [esi + 0x23c]
lea ecx, [edi + 0x5ec]
mov dword [edi + 0x5e4], eax
cmp ecx, edx
je 0x40e8f2
mov esi, dword [edx]
mov eax, 0x66666667
mov edx, dword [edx + 4]
sub edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004027b0
mov esi, dword [ebp - 0x2d4]
mov eax, dword [esi + 0x248]
mov dword [edi + 0x5f8], eax
movups xmm0, xmmword [esi + 0x24c]
movups xmmword [edi + 0x5fc], xmm0
movups xmm0, xmmword [esi + 0x25c]
movups xmmword [edi + 0x60c], xmm0
mov ecx, dword [esi + 0x270]
mov eax, dword [esi + 0x26c]
mov dword [edi + 0x620], ecx
lea ecx, [ebp - 0x2d0]
mov dword [edi + 0x61c], eax
call fcn.00415ea0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40e978
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e96e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee73
push ecx
push edx
call fcn.004dded2
add esp, 8
mov esi, dword [edi + 0x14c]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], 2
push 0x20
mov dword [ebp - 0x2d4], 0x14
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00406740
movups xmm0, xmmword [str.Farfocel]
mov edx, eax
mov dword [ebp - 0x18], 0x1d
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x50f984]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x50f98c]
mov dword [edx + 0x18], ecx
mov al, byte [0x50f990]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
mov ecx, dword [edi + 0x24]
mov dword [ebp - 4], 4
call fcn.004150d0
lea edx, [ebp - 0x300]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x24]
mov eax, dword [eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x50f9d0]
movss dword [ebp - 0x2dc], xmm0
call fcn.004150d0
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
movss xmm1, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x1a8]
push esi
push 0x5cf030
mov eax, dword [eax + 4]
movss dword [ebp - 0x2e4], xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2d4]
push eax
cvtpd2ps xmm0, xmm0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2e4]
push eax
mulss xmm0, dword [0x50f9d0]
addss xmm0, dword [0x50f9dc]
movss dword [ebp - 0x2e0], xmm0
call fcn.00415690
push eax
lea ecx, [edi + 0x628]
mov byte [ebp - 4], 5
call fcn.00404f30
lea ecx, [ebp - 0x1a8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40eb16
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee78
push ecx
push edx
call fcn.004dded2
add esp, 8
mov esi, dword [edi + 0x14c]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], 2
push 0x20
mov dword [ebp - 0x2d4], 0x14
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00406740
movups xmm0, xmmword [str.Papaj___Grzes___Heino]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x15
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x50f9a4]
mov dword [eax + 0x10], ecx
mov cl, byte [0x50f9a8]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
mov ecx, dword [edi + 0x24]
mov dword [ebp - 4], 6
call fcn.004150d0
lea edx, [ebp - 0x300]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x24]
mov eax, dword [eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x50f9d0]
movss dword [ebp - 0x2dc], xmm0
call fcn.004150d0
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
movss xmm1, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x1a8]
push esi
push 0x5cf030
mov eax, dword [eax + 4]
movss dword [ebp - 0x2e4], xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f9f0]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2d4]
push eax
cvtpd2ps xmm0, xmm0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2e4]
push eax
mulss xmm0, dword [0x50f9d0]
addss xmm0, dword [0x50f9e0]
movss dword [ebp - 0x2e0], xmm0
call fcn.00415690
push eax
lea ecx, [edi + 0x778]
mov byte [ebp - 4], 7
call fcn.00404f30
lea ecx, [ebp - 0x1a8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40eca6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ec9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee7d
push ecx
push edx
call fcn.004dded2
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
call fcn.00406740
movups xmm0, xmmword [str.res_menu_background.png]
mov edx, eax
mov dword [ebp - 0x30], 0x17
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x2c], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x50f9bc]
mov dword [edx + 0x10], ecx
mov cx, word [0x50f9c0]
mov word [edx + 0x14], cx
mov al, byte [0x50f9c2]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
mov ax, word [0x50f9cc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 8
movq xmm0, qword [str.background]
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x2c]
call fcn.00416b40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp ecx, 0x10
jb 0x40ed85
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ed7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee82
push ecx
push edx
call fcn.004dded2
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40edd2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40edc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee82
push ecx
push edx
call fcn.004dded2
add esp, 8
mov ax, word [0x50f9cc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0xa
movq xmm0, qword [str.background]
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x2c]
call fcn.00416af0
push eax
lea ecx, [edi + 0x150]
call fcn.00454490
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x40ee53
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ee49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee87
push ecx
push edx
call fcn.004dded2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dde94
mov esp, ebp
pop ebp
ret
call fcn.004e5195
call fcn.004e5195
call fcn.004e5195
call fcn.004e5195
call fcn.004e5195
call fcn.004e5195
int3