Function at 0x60d218
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
cmp eax, 0x64
jne 0x60d35a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
sub eax, 0x63
jae 0x60d35a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x7894]
cmp word [edx + eax*8 + 0x22], 0
jne 0x60d35a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp dword [eax + 9], 2
jge 0x60d35a
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.006c76b8
test al, al
je 0x60d35a
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 0x7894]
mov ebx, dword [eax + ecx*8]
test ebx, ebx
je 0x60d30c
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7894]
lea eax, [eax + ecx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
push 0xff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x14]
call fcn.0060af7c
jmp 0x60d7f2
mov eax, dword [esi + 0x7a88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7894]
lea eax, [eax + ecx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
push 0xff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x14]
call fcn.0060af7c
jmp 0x60d7f2
mov eax, dword [ebp + 8]
lea esi, [eax - 0x24]
lea edi, [ebp - 0x18]
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 - 8], 0
jle 0x60d525
mov eax, dword [ebp + 8]
cmp byte [eax - 0x25], 0
je 0x60d3e6
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0xffffffff
jle 0x60d4da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7898]
call fcn.0040b694
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
jle 0x60d4da
mov eax, dword [ebp + 8]
add eax, 0xffffffa0
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005072ac
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x7898]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x18]
call fcn.006162e4
mov eax, dword [ebp + 8]
mov byte [eax - 1], 1
jmp 0x60d4da
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0xffffffff
jle 0x60d4da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7894]
call fcn.0040b694
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
jle 0x60d4da
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x7894]
movzx edx, word [edx + eax*8 + 0x1e]
test dl, dl
je 0x60d476
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x7894]
lea edx, [edx + eax*8]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x7894]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [0x76266c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x64]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00616af4
jmp 0x60d4d3
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0x10]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7894]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x7894]
movsx eax, word [eax + ebx*8 + 0x22]
mov edx, dword [0x76266c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005072ac
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x7894]
mov ecx, dword [edx + ebx*8]
lea edx, [ebp - 0x18]
call fcn.006162e4
mov eax, dword [ebp + 8]
mov byte [eax - 1], 1
cmp dword [ebp - 0x10], 0xffffffff
je 0x60d525
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005073ac
cmp al, 7
jne 0x60d508
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea edx, [ebp - 0x18]
call fcn.00602efc
jmp 0x60d525
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005072ac
call fcn.00501678
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x68]
lea edx, [ebp - 0x18]
call fcn.0061080c
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x60d700
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x60d68a
mov eax, dword [ebp + 8]
add eax, 0xffffffdc
mov dl, 1
call fcn.006bd050
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffdc
mov dl, 1
call fcn.006bd03c
pop edx
call fcn.00615dd0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x60d683
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00409794
test eax, eax
jle 0x60d5b7
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ffe0
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, dword [ebp - 8]
call fcn.0060a768
jmp 0x60d5fc
mov eax, dword [ebp - 8]
call fcn.005073ac
cmp al, 7
jne 0x60d5de
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 8]
call fcn.00602efc
jmp 0x60d5fc
mov eax, dword [ebp - 8]
call fcn.005072ac
call fcn.00501678
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x68]
mov edx, dword [ebp + 8]
add edx, 0xffffffdc
call fcn.0061080c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ffe0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00410070
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, 0xff
call fcn.0043b044
xor edx, edx
call fcn.0043b10c
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00612df8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d700
lea eax, [ebp - 8]
call fcn.0042bdf8
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.00409794
test eax, eax
jle 0x60d6b5
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0060a768
jmp 0x60d700
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005073ac
cmp al, 7
jne 0x60d6e0
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00602efc
jmp 0x60d700
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005072ac
call fcn.00501678
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x68]
mov edx, dword [ebp + 8]
add edx, 0xffffffdc
call fcn.0061080c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx - 8]
sub eax, 1
jb 0x60d743
sub eax, 0x63
jae 0x60d7f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
push eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0xc]
mov eax, dword [ebp + 8]
add cl, byte [eax - 8]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00602d58
jmp 0x60d7f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
cmp byte [eax + 0x20], 0
jne 0x60d7d7
mov eax, dword [ebp + 8]
cmp dword [eax - 0x70], 0
je 0x60d7d7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
sub eax, 1
jb 0x60d76e
sub eax, 0x63
je 0x60d77f
jmp 0x60d78d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx - 0x74], eax
jmp 0x60d7ba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov edx, dword [ebp + 8]
mov dword [edx - 0x74], eax
jmp 0x60d7ba
mov eax, dword [ebp + 8]
fild dword [eax - 0x70]
fdiv dword [0x60d7fc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x64]
mov edx, dword [edx + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
call fcn.00615e54
mov edx, dword [ebp + 8]
mov dword [edx - 0x74], eax
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x74]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00602efc
jmp 0x60d7f2
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00602efc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret