Function at 0x4979a2
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46982c
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 0x497b9b
push 0x490094
lea ecx, [esp + 0x48]
call 0x4df7b0
xor edi, edi
push 8
mov dword [esp + 0x3c], edi
call 0x4df810
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x38], 1
je 0x497a2b
mov ecx, dword [esi + 0x20]
push ecx
push 1
push edi
mov ecx, eax
call 0x4dfdce
mov ebx, eax
jmp 0x497a2d
xor ebx, ebx
push 8
mov byte [esp + 0x3c], 0
call 0x4df810
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x38], 2
je 0x497a5a
mov edx, dword [esi + 0x24]
mov ecx, eax
push edx
call 0x4dfbd6
mov dword [esp + 0x10], eax
jmp 0x497a5e
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x40]
push ebx
mov ecx, esi
mov byte [esp + 0x3c], 0
call 0x4dfdc8
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call 0x4dfbd0
push edi
mov ecx, esi
mov ebp, eax
call 0x4dfdc8
push ebp
mov ecx, esi
call 0x4dfbd0
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.00472074]
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 0x4dfdc2
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x10]
test al, 2
je 0x497b24
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 [0x472d08]
jmp 0x497b53
mov edx, dword [esi]
test al, 1
mov eax, dword [esp + 0x14]
je 0x497b33
mov ecx, dword [eax + 0x14]
jmp 0x497b36
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 0x4dfdc2
mov ecx, ebx
call 0x4dfaf2
mov esi, dword [esp + 0x10]
mov ecx, esi
call 0x4dfaf2
test ebx, ebx
je 0x497b7b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x497b88
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call 0x4df7b6
jmp 0x497bdd
mov ebp, dword [ecx + 0x1c]
cmp ebp, 0xffffffff
je 0x497bdd
mov esi, dword [ecx + 0x10]
test al, 2
je 0x497bb5
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x497bb5
mov esi, edi
jmp 0x497bc2
test al, 1
je 0x497bc2
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x497bc2
mov esi, ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x497bcd
mov eax, dword [eax + 4]
push 1
push edx
push ebx
push eax
mov eax, dword [esi + 4]
push ebp
push eax
call dword [0x472024]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x18