Function at 0x6489d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x86bf8b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x959698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x78], eax
cmp dword [ebp + 0x10], 0
je 0x648a50
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x2e4]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
and eax, 1
je 0x648a44
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x120]
call eax
test eax, eax
je 0x648a50
mov dword [ebp - 0x150], 1
jmp 0x648a5a
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x34]
call edx
test eax, eax
je 0x648a91
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x48]
call eax
test eax, eax
jne 0x648a91
mov dword [ebp - 0x154], 1
jmp 0x648a9b
mov dword [ebp - 0x154], 0
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x24], ecx
mov edx, dword [0x95a040]
push edx
push 1
push 0
lea ecx, [ebp - 0x80]
call fcn.00828b78
mov dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
call fcn.00828b72
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x2e8]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0
jle 0x648c08
mov eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x64
sub edx, eax
cmp edx, 0xa
jge 0x648b47
mov dword [ebp - 0x158], 0xa
jmp 0x648b5c
mov eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
mov ecx, 0x64
sub ecx, eax
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [0x95a03c]
push ecx
call fcn.006b3ab0
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
push 1
push 0
lea ecx, [ebp - 0x94]
call fcn.00828b78
mov byte [ebp - 4], 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
call fcn.00828b72
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00828c0e
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
push edx
mov ecx, dword [ebp + 8]
call fcn.00828c08
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00828b72
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], 0x88a2ec
lea ecx, [ebp - 0x94]
call fcn.00401090
cmp dword [ebp + 0x10], 0
jne 0x648c41
cmp dword [ebp - 0x24], 0
jne 0x648c41
mov ecx, dword [0x95a050]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x80], 0x88a2ec
lea ecx, [ebp - 0x80]
call fcn.00401090
mov eax, dword [ebp - 0xac]
jmp 0x64901c
mov edx, dword [ebp - 0x18]
sub edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 3
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 3
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x8856ac
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x88f1f4
mov byte [ebp - 4], 2
push 2
push 8
lea eax, [ebp - 0x6c]
push eax
call dword [0x8830c4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00828c20
cmp dword [ebp + 0x10], 0
je 0x648fc3
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00828fe6
mov ecx, dword [ebp + 0xc]
call fcn.006d9830
test eax, eax
je 0x648ea8
mov edx, dword [0x95a044]
mov dword [ebp - 0x15c], edx
jmp 0x648ee9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [eax + 0x320]
call edx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xffffffff
je 0x648f61
mov ecx, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.008292bc
lea edx, [ebp - 0xa0]
test edx, edx
jne 0x648f26
mov dword [ebp - 0x160], 0
jmp 0x648f32
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [0x88396c]
mov dword [ebp - 0xa0], 0x88a44c
lea ecx, [ebp - 0xa0]
call fcn.00401090
jmp 0x648fb9
cmp dword [ebp - 0x24], 0
je 0x648f73
mov dword [ebp - 0x148], 0x95a0a8
jmp 0x648f7d
mov dword [ebp - 0x148], 0x95a0b0
cmp dword [ebp - 0x148], 0
jne 0x648f92
mov dword [ebp - 0x164], 0
jmp 0x648fa1
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 4]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [0x88396c]
push 0
mov ecx, dword [ebp + 8]
call fcn.00828fe6
push 8
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [0x8830b0]
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
call fcn.00828b72
mov eax, dword [0x95a050]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0x88f1f4
lea ecx, [ebp - 0x2c]
call fcn.00401090
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x80], 0x88a2ec
lea ecx, [ebp - 0x80]
call fcn.00401090
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc