Function at 0x416710
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cff9e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x4ea894
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
push eax
call fcn.00405c50
add esp, 0xc
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x2c8], ebx
lea esi, [esp + 0x34]
call fcn.00418ae0
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.00405410
cmp esi, edi
je 0x4169d4
jmp 0x4167d0
mov ecx, 0x4ea8a0
lea eax, [esp + 0x90]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416806
cmp dx, bx
je 0x416802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416806
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4167e0
xor eax, eax
jmp 0x41680a
sbb eax, eax
sbb eax, edi
cmp eax, ebx
je 0x416963
mov ecx, 0x4ea8a4
lea eax, [esp + 0x90]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416846
cmp dx, bx
je 0x416842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416846
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x416820
xor eax, eax
jmp 0x41684a
sbb eax, eax
sbb eax, edi
cmp eax, ebx
je 0x416963
mov eax, dword [esp + 0x24]
push 0x4ea8ac
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00405c50
add esp, 0xc
mov dword [esp + 0x2c8], 2
lea edx, [esp + 0x90]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00405c50
add esp, 0xc
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x2c]
call fcn.00405410
test byte [esp + 0x64], 0x10
je 0x4168e9
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00416710
add esp, 8
push 0x54
mov ecx, 0x5b
lea esi, [esp + 0x50]
call fcn.00417790
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.00419100
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.00417790
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.00405410
lea esi, [esp + 0x18]
call fcn.004191e0
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 0x4167d0
push 0x64
lea esi, [esp + 0x1c]
call fcn.00419020
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 0x416a13
push 0x54
mov ecx, 0x5b
lea esi, [esp + 0x1c]
call fcn.00417790
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.004a974c
mov esp, ebp
pop ebp
ret