Function at 0x487c8c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x488131
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x486540]
call fcn.00481680
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x488107
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x482bd0]
call fcn.00482c6c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x486540]
call fcn.00481680
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4880ea
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.00475b40
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00409454
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
add eax, 0x20
call fcn.004046ec
mov eax, dword [ebp - 8]
call fcn.00480cdc
dec eax
test eax, eax
jl 0x487f8b
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fdf8
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fdf8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 8]
xor edx, edx
mov dl, al
cmp edx, 7
ja case.0x487d80.0
jmp dword [edx*4 + 0x487d87]
mov dl, 1
mov eax, dword [0x482bd0]
call fcn.00482c6c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x487e11
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004874dc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx]
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.004190f4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
call fcn.00486c0c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.0x487d80.0
mov eax, dword [ebp - 0x20]
call fcn.00403864
ret
xor edx, edx
push ebp
push 0x487f45
push dword fs:[edx]
mov dword fs:[edx], esp
cmp al, 7
jne 0x487e48
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
call fcn.00486c0c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x487f3b
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402960
xor eax, eax
push ebp
push 0x487ecd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x487e74
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.004028f0
push 0x20
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x14]
mov dl, 1
mov eax, dword [0x414c34]
call fcn.004195f0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
call fcn.004772a4
call fcn.00477224
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00419108
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ed4
mov eax, dword [ebp - 0x28]
call fcn.004028f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x487d80.0
inc dword [ebp - 0x18]
dec dword [ebp - 0x30]
jne 0x487d48
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004190f4
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [0x414d24]
call fcn.004039f0
test al, al
je 0x487fc5
mov eax, ebx
mov edx, dword [ebp - 0x1c]
call fcn.004197d8
jmp 0x48804e
mov eax, ebx
mov edx, dword [0x482bd0]
call fcn.004039f0
test al, al
je 0x487fec
mov eax, dword [ebp - 0x1c]
call fcn.00419108
push edx
push eax
mov eax, ebx
mov edx, dword [ebp - 0x1c]
call fcn.00419370
jmp 0x48804e
mov eax, ebx
call fcn.00403864
push 0x21
push 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dl, 1
mov eax, dword [0x47e4b4]
call fcn.0047ea70
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x1c]
call fcn.00419108
push edx
push eax
mov eax, ebx
mov edx, dword [ebp - 0x1c]
call fcn.00419370
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x34], edx
mov edx, dword [edx]
mov edx, dword [edx + 0x64]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x3c], edx
mov edx, dword [edx]
mov edx, dword [edx + 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 8]
call fcn.00480cdc
dec eax
cmp eax, 0
jl 0x4880b2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fdf8
cmp byte [eax + 8], 3
jne 0x488083
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fc20
jmp 0x4880a9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fdf8
cmp byte [eax + 8], 0
je 0x4880a9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.0047fdf8
mov byte [eax + 8], 1
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x48805f
lea ecx, [ebp - 0x11]
mov dl, 0x64
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea ecx, [ebp - 0x11]
mov dl, 0x64
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4880f1
mov eax, dword [ebp - 0x10]
call fcn.00403864
mov eax, dword [ebp - 0x1c]
call fcn.00403864
ret