Function at 0x416a80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x4eb88c
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
push eax
call fcn.00405800
add esp, 0xc
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x2c8], ebx
lea esi, [esp + 0x34]
call fcn.00418e20
mov byte [esp + 0x2c8], 1
mov edi, dword [edi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x64]
push ecx
push edi
call edx
mov esi, eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c8], bl
or edi, 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c8], edi
lea ecx, [esp + 0x30]
call fcn.00405020
cmp esi, edi
je 0x416d44
jmp 0x416b40
mov ecx, 0x4eb898
lea eax, [esp + 0x90]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416b76
cmp dx, bx
je 0x416b72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416b76
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x416b50
xor eax, eax
jmp 0x416b7a
sbb eax, eax
sbb eax, edi
cmp eax, ebx
je 0x416cd3
mov ecx, 0x4eb89c
lea eax, [esp + 0x90]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416bb6
cmp dx, bx
je 0x416bb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416bb6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x416b90
xor eax, eax
jmp 0x416bba
sbb eax, eax
sbb eax, edi
cmp eax, ebx
je 0x416cd3
mov eax, dword [esp + 0x24]
push 0x4eb8a4
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00405800
add esp, 0xc
mov dword [esp + 0x2c8], 2
lea edx, [esp + 0x90]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00405800
add esp, 0xc
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x2c]
call fcn.00405020
test byte [esp + 0x64], 0x10
je 0x416c59
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00416a80
add esp, 8
push 0x54
mov ecx, 0x5b
lea esi, [esp + 0x50]
call fcn.00417b20
mov byte [esp + 0x2c8], 5
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 8]
push ecx
call edx
mov byte [esp + 0x2c8], 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x58]
call fcn.004198a0
mov byte [esp + 0x2c8], 6
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 8]
push 0x80
push ecx
call edx
mov byte [esp + 0x2c8], 4
push 0x54
mov ecx, 0x61
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00417b20
mov byte [esp + 0x2c8], 7
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 8]
push ecx
call edx
mov byte [esp + 0x2c8], 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c8], edi
lea ecx, [esp + 0x14]
call fcn.00405020
lea esi, [esp + 0x18]
call fcn.00419980
mov dword [esp + 0x2c8], 8
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
push ecx
push edx
call eax
mov dword [esp + 0x2c8], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x416b40
push 0x64
lea esi, [esp + 0x1c]
call fcn.00419440
mov dword [esp + 0x2c8], 9
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 8]
push ecx
call edx
mov dword [esp + 0x2c8], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp byte [ebp + 0xc], bl
je 0x416d83
push 0x54
mov ecx, 0x5b
lea esi, [esp + 0x1c]
call fcn.00417b20
mov dword [esp + 0x2c8], 0xa
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov edx, dword [eax + 8]
push ecx
call edx
mov dword [esp + 0x2c8], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.004aa641
mov esp, ebp
pop ebp
ret