Function at 0x5af8b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5af8b9
xchg dword [ebp - 4], ecx
push ebx
test dl, dl
je 0x5af8d0
add esp, 0xfffffff0
call fcn.004052fc
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5afc3e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00405008
mov eax, dword [ebp - 4]
mov byte [eax + 8], 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
call fcn.00406a70
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x38]
call fcn.004069d4
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x84]
call fcn.004069d4
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x9c]
call fcn.004069d4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xa0]
mov edx, dword [ebp - 4]
mov byte [edx + 0x12d], al
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xa1]
mov edx, dword [ebp - 4]
mov byte [edx + 0x12c], al
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xa2]
mov edx, dword [ebp - 4]
mov byte [edx + 0x12e], al
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xa3]
mov edx, dword [ebp - 4]
mov byte [edx + 0x12f], al
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 4]
mov dword [edx + 0x134], eax
mov eax, dword [ebp - 4]
mov dx, word [0x5afc68]
mov word [eax + 0xfc], dx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
call fcn.005ab040
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0059d330
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x138
call fcn.00406a70
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xbc]
mov edx, dword [ebp - 4]
add edx, 0x138
call fcn.004f4280
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x13c], edx
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0059d2a0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x150
call fcn.00406a70
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xbc]
mov edx, dword [ebp - 4]
add edx, 0x150
call fcn.004f4280
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x154], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [ebp - 4]
add eax, 0x180
mov ecx, 1
mov edx, dword [0x5a30b4]
call fcn.00408510
add esp, 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
dec eax
test eax, eax
jl 0x5afb5f
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0059d3c0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x180]
lea eax, [ecx + eax*4]
call fcn.00406a70
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xbc]
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x180]
lea edx, [ecx + edx*4]
call fcn.004f4280
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x180]
xor ecx, ecx
mov dword [edx + eax*4 + 4], ecx
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0059d3c0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x180]
lea eax, [ecx + eax*4 + 8]
call fcn.00406a70
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xbc]
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x180]
lea edx, [ecx + edx*4 + 8]
call fcn.004f4280
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x180]
xor ecx, ecx
mov dword [edx + eax*4 + 0xc], ecx
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x5afa93
mov eax, dword [ebp - 4]
add eax, 0x5c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x8c]
call fcn.004069d4
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, dword [0x427aec]
call fcn.0040851c
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x90]
mov edx, 0x5afc78
call fcn.0042b780
mov eax, dword [ebp - 4]
add eax, 0x58
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x98]
call fcn.004069d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0xd8], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0xdc], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0xb8], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0xbc], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x28]
mov dword [eax + 0xc0], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc4], ecx
mov eax, dword [ebp - 4]
add eax, 0x108
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x24]
call fcn.00406a70
mov eax, dword [ebp - 4]
call fcn.005a9b80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5afc45
lea eax, [ebp - 0x34]
mov edx, dword [0x5959ac]
mov ecx, 2
call fcn.004079f8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004066a0
ret