Function at 0x642d00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cc833
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x7a1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x60]
call fcn.0058c150
cmp eax, 3
jle 0x642fac
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x64]
lea ebx, [edi + 0x20c]
push eax
mov ecx, ebx
call fcn.0064a2b0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x642d6a
cmp dword [eax + 4], 0
jne 0x642e17
mov eax, dword [edi + 0x30]
sub esp, 0xc
mov dword [ebp - 0x60], esp
mov ecx, dword [eax + 0x60]
mov eax, esp
push 0xc
push 0x10
push 0x94
push eax
call fcn.00620690
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0064a2b0
mov ecx, dword [ebp - 0x58]
add ecx, 0x58
mov dword [ebp - 4], 0xffffffff
call fcn.005a10a0
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov eax, dword [edi + 0x30]
sub esp, 8
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + 0x60]
lea eax, [edx + 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00620e60
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0064a2b0
mov edx, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [edx + 0x6c]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x68]
mov dword [edx + 0x68], eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x68]
call fcn.005a0ac0
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov ecx, dword [ebp - 0x58]
add ecx, 0x5c
call fcn.00569d30
sub esp, 0xc
mov ecx, eax
call fcn.0062a3e0
mov esi, eax
mov ecx, ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov eax, dword [ebp - 0x58]
mov ecx, esi
add eax, 0x18
push eax
call fcn.005adca0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x3f800000
push eax
lea ecx, [ebp - 0x50]
call fcn.005ad9d0
push eax
lea ecx, [esi + 0x40]
call fcn.005adca0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x80]
call fcn.004c4910
cmp dword [edi + 0x2c], 0
mov ecx, ebx
setne al
mov byte [esi + 0x90], al
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov ecx, dword [ebp - 0x58]
add ecx, 0x5c
call fcn.00569d30
mov ecx, eax
call fcn.0062a450
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x642ed6
cmp dword [eax + 4], 0
jne 0x642fac
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x68]
lea edx, [eax + 0x8c]
push edx
push ecx
mov ecx, dword [eax + 0x60]
call fcn.006204f0
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0064a2b0
mov edx, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [edx + 0x78]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x74]
mov dword [edx + 0x74], eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x68]
call fcn.005a0650
push 1
lea ecx, [ebp - 0x84]
call fcn.0058db20
lea eax, [ebp + 8]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0064a2b0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x84]
add eax, 0x64
push eax
sub esp, 0xc
call fcn.0063e0e0
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0064a2b0
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx + 0x74]
call fcn.00569d30
mov esi, eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [esi + 0x1c]
call fcn.0062f7a0
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x28]
call fcn.0062f520
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
mov dword [esi + 0x34], eax
call fcn.00599860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065c160
mov esp, ebp
pop ebp
ret 8