Function at 0x407fb0
Capabilities:
Get number of processors

Disassembly:
mov ecx, entry0
call dword [ecx + 0x35a]
mov ecx, entry0
mov dword [ecx + 0x3d2], eax
mov ecx, entry0
add ecx, 0x1d
push ecx
add ecx, 0x371
call dword [ecx]
mov ecx, entry0
mov dword [ecx + 0x39e], eax
add ecx, 0x24
push ecx
add ecx, 0x37a
push dword [ecx]
add ecx, 0xfffffff8
call dword [ecx]
mov ecx, entry0
mov dword [ecx + 0x39a], eax
push ebx
push 0xda
add dword [esp], entry0
mov ecx, entry0
call dword [ecx + 0x38e]
mov ecx, entry0
mov dword [ecx + 0xe7], eax
mov eax, ecx
add eax, 0x1b6
add ecx, 0x1e2
mov ebx, dword [ecx - 0xfb]
push eax
push ecx
push ebx
push eax
push ebx
mov ecx, entry0
call dword [ecx + 0x396]
pop ebx
pop ecx
mov dword [ecx], eax
add ecx, 4
pop eax
inc eax
cmp byte [eax], 0
jne 0x407955
inc eax
cmp byte [eax], 0xff
jne 0x40793d
pop ebx
pushal
mov edi, 5
add edi, entry0
mov ecx, 4
xor eax, eax
cld
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
test eax, eax
jns 0x407a73
push ebx
push 0xc5
add dword [esp], entry0
mov ecx, entry0
call dword [ecx + 0x38e]
mov ecx, entry0
mov dword [ecx + 0xd6], eax
mov eax, ecx
add eax, 0x3a2
add ecx, 0x3ca
mov ebx, dword [ecx - 0x2f4]
push eax
push ecx
push ebx
push eax
push ebx
mov ecx, entry0
call dword [ecx + 0x396]
pop ebx
pop ecx
mov dword [ecx], eax
add ecx, 4
pop eax
inc eax
cmp byte [eax], 0
jne 0x4079d4
inc eax
cmp byte [eax], 0xff
jne 0x4079bc
pop ebx
push ebx
mov ebx, entry0
mov byte [ebx + 0x1ee], 0
mov word [ebx + 0x3da], 0xffff
call dword [ebx + 0x3ca]
mov ebx, entry0
mov dword [ebx + 0x3d6], eax
mov ecx, eax
shr ecx, 8
mov ebx, ecx
and ebx, 0xe0
jecxz 0x4079f2
add byte [eax], al
add byte [ecx + 0xe0fb], al
add byte [ebx + 0xb8d8], cl
add byte [eax], al
je 0x407d3b
mov eax, ebx
and eax, 0xff
push eax
dec dword [esp]
mov ebx, entry0
add ebx, 0x3dc
push edi
mov edi, ebx
mov al, 0
mov ecx, 0x3c
rep stosb byte es:[edi], al
pop edi
mov ebx, entry0
mov byte [ebx + 0x3dc], 0
mov eax, dword [esp]
mov byte [ebx + 0x3de], al
push ebx
add dword [esp], 0x3dc
call dword [ebx + 0x3ce]
add esp, 4
jmp 0x407ab5
mov edx, entry0
mov ecx, dword [edx + 0x362]
mov eax, entry0
imul eax, dword [eax], 0xffffff89
mov dl, cl
add eax, dword [eax]
add byte [ecx + entry0], bh
add ecx, 0xf55
mov dword [eax + 0x362], ecx
jmp 0x407d41
push eax
jmp 0x408014
xor eax, eax
mov ebx, entry0
mov al, byte [ebx + 0x409]
mov ebx, dword [esp]
cmp eax, 0x10
je 0x407acf
mov eax, 8
push eax
dec dword [esp]
mov ebx, dword [esp]
mov ecx, entry0
mov eax, dword [ecx + 0x376]
or eax, eax
je 0x407ae7
call eax
or eax, eax
jne 0x407ce7
mov ecx, entry0
push 0
push 0
push 1
push 0
call dword [ecx + 0x366]
mov ecx, entry0
mov dword [ecx + 0x42c], eax
mov eax, ecx
add eax, 0x3dc
push edi
mov edi, eax
mov al, 0
mov ecx, 0x50
rep stosb byte es:[edi], al
pop edi
mov ecx, entry0
mov byte [ecx + 0x3dc], 2
mov byte [ecx + 0x3df], 0x48
mov eax, dword [esp + 4]
mov byte [ecx + 0x3de], al
mov eax, dword [esp]
mov byte [ecx + 0x3e4], al
mov dword [ecx + 0x3e8], 0x20
mov eax, ecx
add eax, 0x3d2
mov eax, dword [eax]
mov dword [ecx + 0x3ec], eax
mov byte [ecx + 0x3f0], 0xe
mov byte [ecx + 0x3f1], 6
mov eax, dword [ecx + 0x42c]
mov dword [ecx + 0x3f4], eax
mov byte [ecx + 0x40c], 0x12
mov byte [ecx + 0x410], 0x20
push eax
call dword [ecx + 0x372]
push entry0
dec edx
imul eax, dword [eax], 0xffffff81
add al, 0x24
fadd qword [ebx]
add byte [eax], al
mov eax, entry0
call dword [eax + 0x3ce]
add esp, 4
cmp eax, 0
jne 0x407bc1
push 0xffffffffffffffff
mov eax, entry0
push dword [eax + 0x42c]
call dword [eax + 0x36e]
mov eax, entry0
add eax, 0x42c
push dword [eax]
call dword [eax - 0xc2]
mov ecx, entry0
cmp byte [ecx + 0x3dd], 1
jne 0x407cf8
mov ecx, 0x3dc
add ecx, entry0
push edi
mov edi, ecx
mov al, 0
mov ecx, 0xc
rep stosb byte es:[edi], al
pop edi
mov ecx, entry0
mov byte [ecx + 0x3dc], 1
mov eax, dword [esp + 4]
mov byte [ecx + 0x3de], al
mov eax, dword [esp]
mov byte [ecx + 0x3e4], al
push ecx
add dword [esp], 0x3dc
call dword [ecx + 0x3ce]
add esp, 4
mov eax, entry0
inc eax
add byte [eax + 0x3e6b8], al
add byte [0xb9850f], al
add byte [eax], al
mov byte [eax + 0x451], 0
mov cl, byte [esp]
mov ch, byte [esp + 4]
mov word [eax + 0x3da], cx
call fcn.004072cc
mov ecx, entry0
mov eax, ecx
mov ecx, dword [ecx + 0x15]
push ecx
add ecx, 0x10
push 0
push 0
push ecx
add eax, 0x8cb
call eax
pop ecx
or eax, eax
jne 0x407c8f
mov eax, entry0
cmp byte [eax + 0x451], 1
je 0x407ce7
mov byte [eax + 0x451], 1
jmp 0x407c63
mov eax, entry0
mov byte [eax + 0x1ee], 1
push 0
push 0
add ecx, 0x10
push ecx
add eax, 0x8cb
call eax
or eax, eax
jne 0x407cba
mov eax, entry0
mov byte [eax + 0x1ee], 0
mov eax, entry0
mov eax, dword [eax + 0x3d2]
cmp dword [eax + 0x720], 0
je 0x407cd3
add eax, 0x6f8
cmp dword [eax + 0x28], 0x314d484a
jne 0x407ce7
cmp dword [eax + 0x2c], 0x20363431
jne 0x407ce7
jmp 0x407cf8
mov ecx, 0xffff
mov eax, entry0
mov word [eax + 0x3da], cx
mov ebx, entry0
cmp word [ebx + 0x3da], 0xffff
jne 0x407d11
cmp dword [esp], 0
jne 0x407ad0
pop eax
mov ebx, entry0
cmp word [ebx + 0x3da], 0xffff
jne 0x407d33
cmp dword [esp], 0
jne 0x407a30
pop eax
mov eax, 2
jmp 0x407d39
pop eax
mov eax, 1
xor ecx, ecx
pop ebx
jmp 0x408126
mov ecx, entry0
mov edx, entry0
add edx, 0x790
mov dword [ecx + 0x3ce], edx
push 0x50
push 0
mov ecx, entry0
call dword [ecx + 0x35a]
mov ecx, entry0
mov dword [ecx + 0x210], eax
mov ecx, entry0
mov byte [ecx + 0x1ee], 0
mov byte [ecx + 0x1f0], 0
mov byte [ecx + 0x1f5], 0x41
mov byte [ecx + 0x1ef], 1
add ecx, 0x1f1
cmp dword [ecx], 0xffffffff
je 0x407dbb
push dword [ecx]
mov ecx, entry0
call dword [ecx + 0x36a]
mov ecx, entry0
add ecx, 0x1f1
mov dword [ecx], 0xffffffff
mov ecx, 0x1a
push ecx
mov ecx, entry0
add ecx, 0x1f5
push ecx
mov ecx, entry0
add ecx, 0x37e
call dword [ecx]
cmp eax, 5
jne 0x4080e7
mov ecx, entry0
add ecx, 0x1f5
mov al, byte [ecx]
mov ecx, entry0
add ecx, 0x1fa
mov byte [ecx + 4], al
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
cmp byte [ecx - 0xa], 0
je 0x407e1a
xor dword [esp], 0x40000000
push ecx
mov ecx, entry0
add ecx, 0x382
call dword [ecx]
push eax
mov ecx, entry0
add ecx, 0x38a
call dword [ecx]
sub eax, 5
jne 0x407e6a
pop eax
mov ecx, entry0
cmp byte [ecx + 0x1f0], 1
je 0x407e53
mov byte [ecx + 0x1f0], 1
jmp 0x407de3
pop ecx
mov ecx, entry0
mov byte [ecx + 0x1ef], 0
mov eax, 3
jmp 0x408114
pop eax
cmp eax, 0xffffffff
je 0x4080e7
mov ecx, entry0
add ecx, 0x1f1
mov dword [ecx], eax
push 0
mov ecx, entry0
add ecx, 0x201
push ecx
push 8
mov ecx, entry0
add ecx, 0x205
push ecx
push 0
push 0
push 0x41018
mov ecx, entry0
add ecx, 0x1f1
push dword [ecx]
mov ecx, entry0
add ecx, 0x386
call dword [ecx]
mov ecx, entry0
add ecx, 0x205
mov edx, ecx
mov al, byte [edx + 4]
mov ecx, entry0
add ecx, 0x20d
mov byte [ecx], al
mov al, byte [edx + 6]
mov ecx, entry0
add ecx, 0x20e
mov byte [ecx], al
mov al, byte [edx + 7]
mov ecx, entry0
add ecx, 0x20f
mov byte [ecx], al
mov edx, entry0
add edx, 0x3da
mov ecx, entry0
add ecx, 0x20e
mov al, byte [ecx]
mov byte [edx], al
mov ecx, entry0
mov al, byte [ecx + 0x20d]
mov byte [edx + 1], al
add al, 0x30
mov byte [ecx + 0x115], al
push ecx
add dword [esp], 0x11e
push 0x20019
push 0
push ecx
add dword [esp], 0xf3
push 0x80000002
call dword [ecx + 0x1e2]
cmp eax, 0
jne 0x40802e
mov ecx, entry0
push ecx
add dword [esp], 0x122
push 0x20019
push 0
push ecx
add dword [esp], 0x10b
push dword [ecx + 0x11e]
call dword [ecx + 0x1e2]
cmp eax, 0
jne 0x407aad
mov ecx, entry0
mov eax, ecx
add eax, 0x12e
mov dword [eax], 0x64
push eax
mov eax, dword [ecx + 0x3d2]
push eax
push ecx
add dword [esp], 0x12a
push 0
push ecx
add dword [esp], 0x117
and al, 0x17
add dword [eax], eax
add bh, bh
mov cl, 0x22
add dword [eax], eax
add bh, bh
xchg ecx, eax
out 1, al
add byte [eax], al
cmp eax, 0
jne 0x408002
pushal
cld
mov edi, entry0
mov ecx, dword [edi + 0x12e]
mov esi, dword [edi + 0x3d2]
add edi, 0x132
push ecx
push esi
repe cmpsb byte [esi], byte es:[edi]
jne 0x407fec
pop esi
pop ecx
popal
xor eax, eax
jmp 0x408002
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
cmp byte [edi], 0xff
pop esi
pop ecx
jne 0x407fdf
popal
mov eax, 1
push eax
mov ecx, entry0
push dword [ecx + 0x122]
call dword [ecx + 0x1ea]
mov ecx, entry0
push dword [ecx + 0x11e]
call dword [ecx + 0x1ea]
pop eax
or eax, eax
je 0x4080cc
call fcn.004072cc
pushal
push 0
push 1
push 0x10
call fcn.00407055
or eax, eax
jne 0x40806a
push 0
push 1
push 0x10
call fcn.00407055
or eax, eax
jne 0x40806a
mov ecx, entry0
cmp byte [ecx + 0x1f0], 0
je 0x408067
mov byte [ecx + 0x1ef], 0
popal
jmp 0x4080cc
popal
mov eax, entry0
mov byte [eax + 0x1ee], 1
push 0
push 5
push 0x10
call fcn.00407055
or eax, eax
jne 0x408092
mov eax, entry0
mov byte [eax + 0x1ee], 0
add byte [eax], al
mov ecx, entry0
add ecx, 0x3d2
mov esi, dword [ecx]
cmp dword [esi + 0x720], 0
je 0x4080ae
add esi, 0x6f8
add esi, 0x28
mov eax, 0x314d484a
cmp eax, dword [esi]
jne 0x4080cc
mov eax, 0x20363431
cmp eax, dword [esi + 4]
jne 0x4080cc
pop ecx
mov eax, 1
jmp 0x408126
mov ecx, entry0
push dword [ecx + 0x1f1]
mov dword [ecx + 0x1f1], 0xffffffff
call dword [ecx + 0x36a]
mov ecx, entry0
add ecx, 0x1f5
inc byte [ecx]
pop ecx
dec ecx
jne 0x407dc0
mov eax, 2
mov ecx, entry0
cmp byte [ecx + 0x1ef], 0
jne 0x408114
mov eax, 3
mov ecx, entry0
add ecx, 0x3da
mov byte [ecx], 0xff
mov byte [ecx + 1], 0xff
cmp eax, 1
je 0x40817b
mov ebx, ecx
and ebx, 0xf
add ebx, 0x30
mov ecx, entry0
mov byte [ecx + 0xc3], bl
push 0x40
cmp eax, 0
jne 0x40814d
add ecx, 0xaa
jmp 0x408160
cmp eax, 3
jne 0x40815a
add ecx, 0x74
jmp 0x408160
add ecx, 0x36
push ecx
push ecx
push 0
mov ecx, entry0
add ecx, 0x392
push dword [ecx]
add ecx, 8
mov eax, dword [ecx]
jmp eax
mov ecx, 4