Function at 0x6228a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a221
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [esi], 0x75a144
mov edi, 2
mov dword [ebp - 4], edi
call fcn.00622ff0
mov ecx, esi
call fcn.00623090
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x6228f5
push eax
call fcn.00728d1c
add esp, 4
mov dword [ebp - 4], edi
mov dword [esi + 0x30], ebx
mov edi, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
sub eax, edi
mov byte [ebp - 4], 1
sar eax, 2
mov dword [ebp - 0x14], edi
je 0x622947
shl eax, 2
cmp eax, 0x80
jbe 0x62291e
push edi
call fcn.00702a90
add esp, 4
jmp 0x622947
add eax, 7
mov ecx, 0x7e5430
shr eax, 3
lea ebx, [eax*4 + 0x7e53ec]
call fcn.00401df0
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], edi
mov dword [0x7e5430], 0
xor ebx, ebx
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
sub eax, edi
mov byte [ebp - 4], 0
sar eax, 2
mov dword [ebp - 0x14], edi
je 0x622999
shl eax, 2
cmp eax, 0x80
jbe 0x622970
push edi
call fcn.00702a90
add esp, 4
jmp 0x622999
add eax, 7
mov ecx, 0x7e5430
shr eax, 3
lea ebx, [eax*4 + 0x7e53ec]
call fcn.00401df0
mov ecx, dword [ebx]
mov dword [edi], ecx
mov dword [ebx], edi
mov dword [0x7e5430], 0
xor ebx, ebx
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x622ac1
cmp dword [esi + 8], ebx
jne 0x622a6b
mov ebx, dword [esi + 0xc]
xor ecx, ecx
cmp ebx, ecx
mov dword [ebp - 0x14], ecx
je 0x622a51
mov edi, ebx
lea eax, [ebx + 8]
mov dword [ebp - 0x18], eax
mov edx, dword [edi]
mov ebx, dword [eax]
cmp edx, ecx
jne 0x6229f7
push 0x50
push str.....commonAutoLink.h
push str.pCurr__IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
mov eax, dword [ebp - 0x18]
add esp, 0x14
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [edi], ecx
cmp eax, 0x64
mov dword [edi + 4], ecx
mov dword [ebp - 0x14], eax
jg 0x622a28
cmp ebx, ecx
jne 0x6229c4
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, str.DEAD_LOCK_BREAK
test edx, edx
je 0x622a51
push 0x53
push str.....commonAutoLink.h
push str.__DEAD_LOCK_BREAK_
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x622ac1
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x622aa5
push 0x78
push str.....commonAutoLink.h
push str._IsMaster__
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x622ab8
mov edx, dword [esi + 8]
mov dword [eax + 4], edx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret