Function at 0x313ad360
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [eax - 5], 0
mov eax, dword [ebp + 8]
lea esi, [eax - 0x18]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1c], 0
jle 0x313ad533
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1d], 0
je 0x313ad3ff
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x313ad4ed
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x98]
call fcn.312385fc
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x313ad4ed
mov eax, dword [ebp + 8]
add eax, 0xffffffa8
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x98]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x1c]
call fcn.313b707c
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x313ad4ed
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x313ad4ed
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x94]
call fcn.312385fc
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x313ad4ed
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x24], 0xd
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x94]
movzx edx, word [edx + eax*4 + 0x1e]
test dl, dl
je 0x313ad48c
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x94]
lea edx, [edx + eax*4]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x94]
movsx eax, word [edx + eax*4 + 0x22]
mov edx, dword [0x3143f5f8]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x6c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.313b7704
jmp 0x313ad4e6
mov eax, dword [ebp + 8]
imul ebx, dword [eax - 0x24], 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x94]
movsx eax, word [eax + ebx*4 + 0x22]
mov edx, dword [0x3143f5f8]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x94]
mov ecx, dword [edx + ebx*4]
lea edx, [ebp - 0x1c]
call fcn.313b707c
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x313ad533
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d678
cmp al, 7
jne 0x313ad516
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x70]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3141989c
jmp 0x313ad533
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x70]
lea edx, [ebp - 0x1c]
call fcn.313b0204
mov eax, dword [ebp + 8]
cmp dword [eax - 0x74], 0
jle 0x313ad766
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x313ad6f0
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call fcn.3141428c
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call fcn.314142a0
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d678
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.3128e8d4
xor eax, eax
push ebp
push 0x313ad6e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.31236564
call fcn.31237170
test eax, eax
jle 0x313ad5f7
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.31263970
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
mov eax, dword [ebp - 0xc]
call fcn.3139bd64
jmp 0x313ad637
mov eax, dword [ebp - 0xc]
call fcn.3128d678
cmp al, 7
jne 0x313ad619
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x70]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.3141989c
jmp 0x313ad637
mov eax, dword [ebp - 0xc]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x70]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.313b0204
mov eax, dword [ebp + 8]
mov byte [eax - 0x79], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, 0xff
call fcn.3123e15c
xor edx, edx
call fcn.3123e224
mov ebx, eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x7c], bl
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov byte [eax - 0x7b], bl
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x7c]
mov edx, dword [ebp + 8]
mov byte [edx - 0x7a], al
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
dec ecx
xor edx, edx
xor eax, eax
call fcn.31263970
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.31263940
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.313b29c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313ad766
lea eax, [ebp - 0xc]
call fcn.3124bdd0
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.31236564
call fcn.31237170
test eax, eax
jle 0x313ad720
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3139bd64
jmp 0x313ad766
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d678
cmp al, 7
jne 0x313ad746
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x70]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3141989c
jmp 0x313ad766
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x70]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.313b0204
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x1c]
sub eax, 1
jb 0x313ad7a9
sub eax, 0x63
jae 0x313ad8bd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
push eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x74]
mov eax, dword [ebp + 8]
add cl, byte [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.31419674
jmp 0x313ad8bd
mov eax, dword [ebp + 8]
cmp byte [eax - 0x5c], 0
jne 0x313ad877
mov eax, dword [ebp + 8]
cmp dword [eax - 0x80], 0
je 0x313ad877
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80]
sub eax, 1
jb 0x313ad7d5
sub eax, 0x63
je 0x313ad7e6
jmp 0x313ad7f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x313ad829
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x313ad829
mov eax, dword [ebp + 8]
fild dword [eax - 0x80]
fld dword [0x313ad8c4]
call fcn.312348c4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x60]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
call fcn.313b6c10
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d678
cmp al, 7
jne 0x313ad852
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x84]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3141989c
jmp 0x313ad8bd
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x84]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.313b0204
jmp 0x313ad8bd
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d678
cmp al, 7
jne 0x313ad89d
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x70]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3141989c
jmp 0x313ad8bd
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x70]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.313b0204
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret