Function at 0x5768ac
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 0x576a96
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1d], 0
je 0x57694b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x576a4b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x7898]
call fcn.004089e8
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x576a4b
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0x7898]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x1c]
call fcn.0057e4f0
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x576a4b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x24], 0xffffffff
jle 0x576a4b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x24]
jle 0x576a4b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x7894]
movzx edx, word [edx + eax*8 + 0x1e]
test dl, dl
je 0x5769e1
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x7894]
lea edx, [edx + eax*8]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x7894]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [0x601f14]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0057ed0c
jmp 0x576a44
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0x24]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x7894]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x7894]
movsx eax, word [eax + ebx*8 + 0x22]
mov edx, dword [0x601f14]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x7894]
mov ecx, dword [edx + ebx*8]
lea edx, [ebp - 0x1c]
call fcn.0057e4f0
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x576a96
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
jne 0x576a79
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x60]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
call fcn.00593044
jmp 0x576a96
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x60]
lea edx, [ebp - 0x1c]
call fcn.00578db4
mov eax, dword [ebp + 8]
cmp dword [eax - 0x64], 0
jle 0x576c6a
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x576bef
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call fcn.005c5e08
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov dl, 1
call fcn.005c5df4
pop edx
call fcn.0057dfdc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x576be8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406508
call fcn.004074e0
test eax, eax
jle 0x576b2d
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.0040b00c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00517fac
jmp 0x576b72
mov eax, dword [ebp - 0xc]
call fcn.0045ccac
cmp al, 7
jne 0x576b54
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x60]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00593044
jmp 0x576b72
mov eax, dword [ebp - 0xc]
call fcn.0045cbac
call fcn.00457314
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x60]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.00578db4
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.0040b00c
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.0040b03c
lea eax, [ebp - 0x34]
push eax
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 ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0057b300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576c6a
lea eax, [ebp - 0xc]
call fcn.0041b3c8
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406508
call fcn.004074e0
test eax, eax
jle 0x576c1f
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x68]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00517fac
jmp 0x576c6a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
jne 0x576c4a
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x60]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00593044
jmp 0x576c6a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x60]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.00578db4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x1c]
dec eax
sub eax, 0x63
jb 0x576c84
je 0x576d60
jmp 0x576cad
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
push eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x64]
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.00592e9c
jmp 0x576d60
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
cmp byte [eax + 0x20], 0
jne 0x576d15
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0x64
jne 0x576d15
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
jne 0x576cf0
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00593044
jmp 0x576d60
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.00578db4
jmp 0x576d60
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
jne 0x576d40
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x60]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00593044
jmp 0x576d60
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x60]
mov edx, dword [ebp + 8]
add edx, 0xffffffe8
call fcn.00578db4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret