Function at 0x4964a2
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46860c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push ebp
mov edx, dword [esp + 0x40]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea ebx, [eax + 1]
mov eax, dword [esi + 0x28]
add eax, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x2c]
inc edx
push edi
mov edi, dword [esp + 0x54]
add eax, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], esi
test al, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
je 0x49669b
push 0x48f018
lea ecx, [esp + 0x48]
call 0x4dd810
xor edi, edi
push 8
mov dword [esp + 0x3c], edi
call 0x4dd870
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x38], 1
je 0x49652b
mov ecx, dword [esi + 0x20]
push ecx
push 1
push edi
mov ecx, eax
call 0x4dde2e
mov ebx, eax
jmp 0x49652d
xor ebx, ebx
push 8
mov byte [esp + 0x3c], 0
call 0x4dd870
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x38], 2
je 0x49655a
mov edx, dword [esi + 0x24]
mov ecx, eax
push edx
call 0x4ddc36
mov dword [esp + 0x10], eax
jmp 0x49655e
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x40]
push ebx
mov ecx, esi
mov byte [esp + 0x3c], 0
call 0x4dde28
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call 0x4ddc30
push edi
mov ecx, esi
mov ebp, eax
call 0x4dde28
push ebp
mov ecx, esi
call 0x4ddc30
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.00471074]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov edi, dword [esp + 0x1c]
cdq
sub eax, edx
push 1
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
sub eax, edi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + eax - 4]
mov dword [esp + 0x28], ecx
mov ecx, esi
call 0x4dde22
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x10]
test al, 2
je 0x496624
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
sub eax, edx
mov ebp, dword [esi + 4]
sub ecx, edi
push 0x22
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push edi
push 0
push eax
push 0
push 0
push ebp
call dword [0x471d04]
jmp 0x496653
mov edx, dword [esi]
test al, 1
mov eax, dword [esp + 0x14]
je 0x496633
mov ecx, dword [eax + 0x14]
jmp 0x496636
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
lea edi, [esp + 0x20]
push 0x64
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
push 2
mov ecx, esi
call 0x4dde22
mov ecx, ebx
call 0x4ddb52
mov esi, dword [esp + 0x10]
mov ecx, esi
call 0x4ddb52
test ebx, ebx
je 0x49667b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x496688
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call 0x4dd816
jmp 0x4966dd
mov ebp, dword [ecx + 0x1c]
cmp ebp, 0xffffffff
je 0x4966dd
mov esi, dword [ecx + 0x10]
test al, 2
je 0x4966b5
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x4966b5
mov esi, edi
jmp 0x4966c2
test al, 1
je 0x4966c2
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x4966c2
mov esi, ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4966cd
mov eax, dword [eax + 4]
push 1
push edx
push ebx
push eax
mov eax, dword [esi + 4]
push ebp
push eax
call dword [0x471024]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x18