Function at 0x6c5b90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7348ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x7a39fc]
mov ebp, dword [eax + 8]
mov ecx, ebp
call fcn.004aee70
mov ebx, eax
mov ecx, ebx
call fcn.00563340
movzx edx, byte [edi + 0x324]
mov ecx, dword [edi + 0x330]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x294]
shl edx, 1
sub eax, edx
push 0x54
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x3c], 1
je 0x6c5c3f
push 0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push str.upgrade
call fcn.00406d80
mov ecx, esi
call fcn.00413cc0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x6c5c4b
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
mov ecx, esi
mov byte [esp + 0x3c], 0
call fcn.004143b0
mov ecx, ebp
call fcn.004aed90
mov eax, dword [eax]
mov eax, dword [eax]
test eax, eax
jne 0x6c5c6a
xor ecx, ecx
jmp 0x6c5c6d
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [eax + 0x38]
push eax
mov ecx, ebp
call fcn.004ae770
push esi
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.006c4960
xor esi, esi
lea ecx, [ecx]
push esi
mov ecx, ebx
call fcn.005636b0
test eax, eax
je 0x6c5cd2
push esi
mov ecx, ebx
call fcn.005637c0
test al, al
je 0x6c5cd2
push 1
push 0
push esi
mov ecx, ebx
call fcn.00564700
push eax
mov ecx, ebp
call fcn.004ae770
test eax, eax
je 0x6c5cd2
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.006c4960
inc esi
cmp esi, 9
jb 0x6c5c90
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], esi
jbe 0x6c5e39
lea ecx, [ecx]
push esi
mov ecx, ebx
call fcn.005560b0
mov ebp, eax
test ebp, ebp
je 0x6c5e29
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
call fcn.005541c0
cmp al, byte [edi + 0xc2c]
jne 0x6c5e29
push 0x3a4
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x3c], 2
je 0x6c5d3f
mov ecx, eax
call fcn.006c3e00
mov esi, eax
jmp 0x6c5d41
xor esi, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + 0xe0]
push ecx
lea ecx, [eax + 0x6c]
push ecx
add eax, 0x154
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0
call dword [edx + 0xa0]
push 0x6c4880
push edi
push 0
mov ecx, esi
call int.0041ab20
push 0x6c2df0
push edi
push 0x27
mov ecx, esi
call int.0041ab20
push 0x6c2df0
push edi
push 0x2d
mov ecx, esi
call int.0041ab20
mov eax, dword [ebp + 0x14]
push 0
push 0x7f000000
push 0
push eax
mov ecx, esi
call fcn.006c3ea0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
jne 0x6c5e11
test eax, eax
je 0x6c5dbd
add eax, eax
jmp 0x6c5dc2
mov eax, 0x10
mov ebp, dword [esp + 0x28]
lea edx, [eax*4]
push edx
mov dword [esp + 0x34], eax
call fcn.006fa7e6
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x6c5e04
jmp 0x6c5df0
mov ecx, dword [ebp + eax*4]
mov edx, dword [esp + 0x28]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
jl 0x6c5df0
test ebp, ebp
je 0x6c5e11
push ebp
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jb 0x6c5cf0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x6c5e47
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 1
lea eax, [esp + 0x34]
push eax
call fcn.0041c1d0
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x40], 0xffffffff
call fcn.006fa390
mov ecx, dword [esp + 0x38]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret