Function at 0x4cc5cc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4ccadb
mov eax, dword [0x6549a8]
cmp byte [eax], 0
je 0x4cc601
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp - 0xc]
jne 0x4ccadb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00519adc
test al, al
je 0x4cc942
mov eax, dword [ebp - 4]
push eax
call fcn.00409f4c
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.00519b18
test al, al
jne 0x4cc933
mov bl, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x30]
cmp dword [edi + 0x24], 0
jge 0x4cc7a0
mov eax, edi
call fcn.0051b8fc
mov eax, dword [eax + 0xdc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 0x40], 0x64
jne 0x4cc7a0
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x23], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x54]
xor ecx, ecx
call fcn.0051f1dc
cmp byte [ebp - 0x24], 2
jne 0x4cc74e
cmp dword [ebp - 0x54], 0
je 0x4cc74e
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.0043efec
call fcn.00439e30
push eax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00409d2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.0051ac60
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.0043efec
call fcn.00439e30
push eax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
call fcn.0043efec
call fcn.00439e30
push eax
call fcn.00409d2c
jmp 0x4cc904
mov eax, dword [ebp - 4]
push eax
call fcn.00409f4c
mov esi, eax
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00523304
push ebp
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [edi + 0x48]
xor edx, edx
xor eax, eax
call fcn.004095c8
lea eax, [ebp - 0x64]
call fcn.004cc590
pop ecx
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.00409f3c
jmp 0x4cc904
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x35], 0
jne 0x4cc7b6
cmp byte [eax + 0x36], 0
jne 0x4cc7b6
xor edx, edx
jmp 0x4cc7b8
mov dl, 1
mov byte [eax + 0x35], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.0051baf4
test al, al
je 0x4cc878
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x30], 0
je 0x4cc878
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov edx, dword [ebx + 0x44]
inc edx
mov eax, dword [ebx + 0x40]
inc eax
call fcn.004095f8
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x64]
pop edx
call fcn.00409628
xor al, 1
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x36], 0
jne 0x4cc86b
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov edx, dword [ebx + 0x44]
add edx, dword [ebx + 0x4c]
dec edx
mov eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x48]
dec eax
lea ecx, [ebp - 0x6c]
call fcn.004095f8
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x64]
pop edx
call fcn.00409628
test al, al
je 0x4cc86b
xor eax, eax
jmp 0x4cc86d
mov al, 1
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov byte [edx + 0x36], al
jmp 0x4cc882
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x36], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
movzx ebx, byte [eax + 0x35]
test bl, bl
je 0x4cc8b7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x34], 0
jne 0x4cc8b7
mov eax, dword [ebp - 8]
call fcn.004ccae4
test al, al
jne 0x4cc8b7
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.00409f3c
jmp 0x4ccadb
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [edi + 0x48]
xor edx, edx
xor eax, eax
call fcn.004095c8
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
push eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004095c8
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0051d424
lea ecx, [ebp - 0x6c]
xor edx, edx
xor eax, eax
call fcn.004095f8
lea eax, [ebp - 0x6c]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0052d800
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0052d5ac
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.00409f3c
jmp 0x4ccadb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0051be8c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.0051acf0
mov ebx, eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x34]
mov eax, dword [esi + 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [esi + 0x48]
xor edx, edx
xor eax, eax
call fcn.004095c8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp - 0xc]
je 0x4cc998
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.00496f10
push eax
call fcn.0040a220
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4ccad4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
call fcn.00409f4c
mov esi, eax
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00523304
test ebx, ebx
jne 0x4cc9d5
push ebp
lea eax, [ebp - 0x1c]
call fcn.004cc590
pop ecx
jmp 0x4cca2a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x40], 0
jne 0x4cc9fb
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
call fcn.005280f0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004c9b40
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a3a0
push ebp
lea eax, [ebp - 0x1c]
call fcn.004cc590
pop ecx
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.00409f3c
test ebx, ebx
jle 0x4cca6b
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x34]
mov eax, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
call fcn.0043efec
call fcn.00439e30
push eax
push 0
push 0
push ebx
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0052323c
lea ecx, [ebp - 0x6c]
xor edx, edx
xor eax, eax
call fcn.004095f8
lea eax, [ebp - 0x6c]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0052d800
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x40], 0
je 0x4ccaa3
add eax, 0x40
call fcn.00415b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccadb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp - 0xc]
je 0x4ccad3
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.00496f10
push eax
call fcn.0040a508
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret