Function at 0x876110
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.004059c8
xor eax, eax
push ebp
push 0x876768
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x87673e
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.006e7bcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
xor ecx, ecx
mov dl, 1
call fcn.006e7ce4
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x616b84]
call fcn.00617c6c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00624ac0
mov byte [eax + 0x30], 0
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0x4c8], 4
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov edx, dword [ebp - 8]
call fcn.00613f64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.005f6738
dec eax
test eax, eax
jl 0x8766d8
inc eax
mov dword [ebp - 0x18], eax
xor edi, edi
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
cmp dword [eax + 0xc], 1
je 0x8766d8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, edi
call fcn.005f65fc
mov eax, dword [ebp - 0x1c]
call fcn.008b4aa0
test al, al
je 0x8766ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, edi
call fcn.005f66d0
mov esi, eax
test esi, esi
jle 0x87668b
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, edi
call fcn.005f65fc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00875954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 5
jne 0x8762d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
call fcn.006332f8
test al, al
je 0x8762d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
xor ecx, ecx
mov edx, 0xffffff
call fcn.0062b4ec
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
jne 0x8762fe
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0x4c8], 2
jmp 0x876583
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0xc8]
test eax, eax
jg 0x87632d
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0x4c8], 0
jmp 0x876583
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0xc8]
cmp eax, 8
jne 0x87636f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov dl, 1
call fcn.00633c60
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0x4c8], 2
jmp 0x876583
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov dl, 5
call fcn.00633c60
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0x4c8], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0xc8]
cmp eax, 7
ja case.0x8763b0.0
jmp dword [eax*4 + 0x8763b7]
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x5f
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x5a
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x55
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x50
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x4b
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x46
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x32
jmp 0x8764ae
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov dword [eax + 0xc8], 0x5a
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0xc8], 0x5a
jl 0x8764dc
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xcd], 0
jmp 0x8764f1
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xcd], 2
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov edx, dword [0x98a548]
mov edx, dword [edx]
mov edx, dword [edx + 0x7c4]
mov dl, byte [edx + 0xcc]
mov byte [eax + 0xd8], dl
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xcc], 0
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
xor edx, edx
mov dword [eax + 0xdc], edx
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xd8], 1
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xe0], 0
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov byte [eax + 0xc4], 2
mov ebx, 0x60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov edx, dword [eax]
call dword [edx + 0xc8]
dec eax
jne 0x8765ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x1c], 0xa
jl 0x8765ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
cmp dword [eax + 0x1c], 0xbb8
jg 0x8765ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul dword [0x87677c]
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x28]
fdivp st(1)
fmul dword [0x876780]
call fcn.00402ffc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
pop edx
mov dword [eax + 0x4c0], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul dword [0x87677c]
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x28]
fdivp st(1)
fmul dword [0x876780]
call fcn.00402ffc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
mov eax, dword [eax + 0x1bc]
pop edx
mov dword [eax + 0x4c4], edx
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
call fcn.00613f94
inc dword [ebp - 0x10]
dec esi
jne 0x87624d
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x364]
cmp dword [ebx + 0xc], 1
je 0x8766d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.005f6738
push eax
lea eax, [edi + 1]
imul eax, eax, 0x64
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.006e7bcc
mov byte [ebp - 9], 1
inc edi
dec dword [ebp - 0x18]
jne 0x8761ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x876745
xor eax, eax
push ebp
push 0x876712
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00624a6c
call fcn.00614014
lea eax, [ebp - 0x14]
call fcn.004120b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x876720
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047aed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, dword [eax + 0x50]
call fcn.006e7bcc
ret