Function at 0x5c4e50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx*8 + 0x652ea0]
push esi
mov esi, ecx
mov edx, dword [esi + 0x38]
and eax, dword [edx + 0x158]
mov ecx, dword [ebx*8 + 0x652ea4]
push edi
and ecx, dword [edx + 0x15c]
or eax, ecx
jne 0x5c5080
mov ecx, dword [esi + 0x3c]
call fcn.0044eb60
call fcn.004e1240
mov eax, dword [esi + 0x10c]
xor edi, edi
test eax, eax
jle 0x5c4c90
lea ebx, [esi + 0x5c]
mov ecx, dword [ebx]
push 0
push 1
call fcn.005b1250
call fcn.004e1240
mov eax, dword [esi + 0x10c]
inc edi
add ebx, 4
cmp edi, eax
jl 0x5c4c6f
mov ebx, dword [ebp + 8]
mov ecx, dword [0x67d8ac]
push 0x176
push 0x320
push 0
push 0
call fcn.005f0150
mov ecx, dword [esi + 0x38]
push 1
push 1
push ebx
call fcn.005ad220
mov ecx, dword [esi + 0x10c]
test ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jle 0x5c4d2c
lea eax, [esi + 0x5c]
mov edx, dword [eax]
mov edi, dword [edx + 0x1c]
mov ecx, dword [edi*8 + 0x652ea0]
mov ebx, dword [esi + 0x38]
and ecx, dword [ebx + 0x150]
mov edi, dword [edi*8 + 0x652ea4]
and edi, dword [ebx + 0x154]
or ecx, edi
je 0x5c4d05
mov dword [edx + 0x18], 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x2c]
or byte [ecx + 0x16], 2
jmp 0x5c4d15
mov dword [edx + 0x18], 0
mov edx, dword [eax]
mov ecx, dword [edx + 0x2c]
and byte [ecx + 0x16], 0xfd
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x10c]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [ebp - 8], ecx
jl 0x5c4ccd
mov eax, dword [ebp - 0xc]
mov edi, dword [esi + 0x10c]
or ebx, 0xffffffff
xor ecx, ecx
test edi, edi
mov dword [ebp - 4], ebx
jle 0x5c4d5b
lea edx, [esi + 0x5c]
mov edi, dword [edx]
cmp dword [edi + 0x1c], eax
jne 0x5c4d4d
mov dword [ebp - 4], ecx
mov ebx, ecx
mov edi, dword [esi + 0x10c]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x5c4d41
mov ecx, dword [esi + 0x38]
mov dl, byte [ecx + 4]
cmp dl, 1
je 0x5c4d6f
cmp dl, 4
jne 0x5c4f0e
mov eax, dword [ebp + 8]
cmp eax, 0xa
jle 0x5c4f0b
cmp eax, 0xd
jg 0x5c4f0b
mov eax, dword [ebp - 0xc]
sub eax, 0xb
mov dword [ebp + 8], 0xffffffff
je 0x5c4da7
dec eax
je 0x5c4da0
dec eax
jne 0x5c4dae
mov edx, 0x1d
jmp 0x5c4db1
mov edx, 0x1c
jmp 0x5c4db1
mov edx, 0x1b
jmp 0x5c4db1
mov edx, dword [ebp + 8]
xor eax, eax
test edi, edi
jle 0x5c4dd2
lea ecx, [esi + 0x5c]
mov edi, dword [ecx]
cmp dword [edi + 0x1c], edx
jne 0x5c4dc4
mov dword [ebp + 8], eax
mov edi, dword [esi + 0x10c]
inc eax
add ecx, 4
cmp eax, edi
jl 0x5c4dba
mov ecx, dword [ebp + 8]
mov eax, dword [esi + ebx*4 + 0x5c]
mov ecx, dword [esi + ecx*4 + 0x5c]
mov edx, dword [eax + 8]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x10], edx
cmp edi, edx
mov dword [ebp + 8], edi
lea edx, [ebp + 8]
jl 0x5c4df3
lea edx, [ebp - 0x10]
mov edx, dword [edx]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], edx
cmp edx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
lea edx, [ebp + 8]
jl 0x5c4e14
lea edx, [ebp - 0x10]
mov edx, dword [edx]
mov ebx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [ecx + 0x10]
add edx, edi
mov edi, dword [eax + 0x10]
add edi, ebx
mov dword [ebp + 8], edx
cmp edi, edx
mov dword [ebp - 0x10], edi
lea edx, [ebp + 8]
jl 0x5c4e36
lea edx, [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [edx]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
add ecx, edi
add eax, dword [ebp - 0x18]
sub ebx, edx
mov dword [ebp - 0x18], eax
cmp eax, ecx
mov dword [ebp + 8], ecx
lea eax, [ebp + 8]
jl 0x5c4e5b
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
sub eax, ecx
push eax
push ebx
push ecx
mov ecx, dword [0x67d8ac]
push edx
mov dword [ebp - 0x10], eax
call fcn.005f0240
mov edx, dword [esi + 0x118]
mov edi, dword [edx + 0x4c]
xor eax, eax
mov ecx, 0x3a980
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x3c]
call fcn.0044eb60
call fcn.004e1240
mov eax, dword [esi + 0x10c]
xor edi, edi
test eax, eax
jle 0x5c4ecc
lea eax, [esi + 0x5c]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 1
push 1
call fcn.005b1250
call fcn.004e1240
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x10c]
inc edi
add ecx, 4
cmp edi, eax
mov dword [ebp + 8], ecx
jl 0x5c4ea5
mov ecx, 0x671264
call fcn.005891f0
mov ecx, dword [ebp - 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
push edx
mov edi, eax
mov eax, dword [ebp - 8]
push ebx
push eax
push ecx
mov ecx, dword [0x67d8ac]
call fcn.005f0340
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 4]
push ebx
push eax
push ecx
push edx
jmp 0x5c4ff5
mov eax, dword [ebp - 0xc]
cmp dl, 5
jne 0x5c4f42
cmp eax, 4
jne 0x5c4f42
mov eax, dword [ecx + 0x150]
mov edx, dword [0x652f48]
mov ecx, dword [ecx + 0x154]
mov edi, dword [0x652f4c]
and eax, edx
and ecx, edi
or eax, ecx
je 0x5c4f42
mov eax, dword [esi + 0xa8]
add dword [eax + 4], 0xa
mov eax, dword [esi + ebx*4 + 0x5c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [0x67d8ac]
push edx
call fcn.005f0240
mov edx, dword [esi + 0x118]
mov edi, dword [edx + 0x4c]
xor eax, eax
mov ecx, 0x3a980
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x3c]
call fcn.0044eb60
call fcn.004e1240
mov eax, dword [esi + 0x10c]
xor edi, edi
test eax, eax
jle 0x5c4fb0
lea ebx, [esi + 0x5c]
mov ecx, dword [ebx]
push 1
push 1
call fcn.005b1250
call fcn.004e1240
mov eax, dword [esi + 0x10c]
inc edi
add ebx, 4
cmp edi, eax
jl 0x5c4f8f
mov ebx, dword [ebp - 4]
mov ecx, 0x671264
call fcn.005891f0
mov edi, eax
mov eax, dword [esi + ebx*4 + 0x5c]
mov ecx, dword [eax + 0x14]
push 0x42
push ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [0x67d8ac]
push edx
call fcn.005f0340
mov eax, dword [esi + ebx*4 + 0x5c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.005c4ab0
mov eax, dword [ebp - 0x18]
push eax
or ebx, 0xffffffff
mov ecx, ebx
push edi
call fcn.00589240
call fcn.004e1240
push 0x4008
push 0x7800
mov dword [0x68e1d0], ebx
push 6
mov dword [esi + 0x1b8], ebx
mov ecx, dword [0x67d8ac]
push 0x200
call fcn.005efba0
xor ebx, ebx
mov ecx, 0x652fc8
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x158]
mov edi, dword [ecx]
mov edx, dword [edx + 0x15c]
and eax, edi
and edx, dword [ecx + 4]
or eax, edx
je 0x5c5066
mov al, bl
add al, 7
mov byte [ebx + esi + 0x1cc], al
jmp 0x5c506d
mov byte [ebx + esi + 0x1cc], bl
add ecx, 8
inc ebx
cmp ecx, 0x653000
jl 0x5c503f
mov ecx, esi
call fcn.005c3520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4