Function at 0x5777a8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x5777b0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x577cc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5c], 1
sbb eax, eax
inc eax
cmp al, 1
je 0x577cae
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0xffffffff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x520c78]
call fcn.00523f8c
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41c188]
call fcn.00403ec0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, 0x577ce0
call fcn.00405284
mov ebx, eax
cmp ebx, 1
jge 0x577988
push 0x577cf0
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push 0x577d44
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405000
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00524f10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b2d38
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0xffffffff
jne 0x5778a3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005773b4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.004b2d38
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, 2
call fcn.004b2d38
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.004bcf30
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.005775b4
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, dword [ebp - 0x1c]
call fcn.00404cd4
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, dword [ebp - 0x20]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x577974
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x577d50
push dword [ebp - 0x1c]
push 0x577d88
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405000
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00524f10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b2d38
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57797e
mov eax, dword [ebp - 0xc]
call fcn.004bcf30
jmp 0x577a04
lea eax, [ebp - 0x18]
push eax
lea edx, [ebx + 5]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov ecx, 0x7fffffff
call fcn.004051a0
mov al, byte [0x577d94]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov ecx, 0x7fffffff
mov edx, ebx
call fcn.004051a0
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x577da0
mov edx, dword [ebp - 0x18]
call fcn.00404f8c
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
pop edx
call fcn.0040f7a4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404d18
mov eax, dword [ebp - 0x18]
call fcn.0040a15c
test al, al
je 0x577a04
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov al, byte [0x577da8]
push eax
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x48]
mov ecx, 0x577db4
mov edx, 0x577dc0
call fcn.0040f7a4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
xor eax, eax
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 4]
add eax, 0x78
mov ecx, 1
mov edx, dword [0x5516fc]
call fcn.004061e8
add esp, 4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x4c]
mov eax, 0x577dcc
call fcn.00405284
test eax, eax
jle 0x577c1f
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, 0x577dcc
call fcn.00405284
mov ebx, eax
test ebx, ebx
jle 0x577bfe
lea eax, [ebp - 0x14]
push eax
lea edx, [ebx + 3]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
call fcn.004051a0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004051a0
mov edx, dword [ebp - 0x54]
pop eax
call fcn.00404f48
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov al, byte [0x577da8]
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x577dd8
mov edx, 0x577de4
mov eax, dword [ebp - 0x14]
call fcn.0040f7a4
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x14]
call fcn.00404d18
mov edx, dword [ebp - 0x14]
mov eax, 0x577df0
call fcn.00405284
mov ebx, eax
test ebx, ebx
jle 0x577b58
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x7fffffff
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004051a0
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004051a0
jmp 0x577b60
lea eax, [ebp - 0x18]
call fcn.00404c80
mov al, byte [0x577da8]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x577db4
mov edx, 0x577dd8
mov eax, dword [ebp - 0x14]
call fcn.0040f7a4
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
call fcn.00404d18
jmp 0x577bf3
mov edx, dword [ebp - 0x14]
mov eax, 0x577dfc
call fcn.00405284
mov ebx, eax
cmp ebx, 1
jl 0x577a93
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
add eax, 0x7c
mov ecx, 1
mov edx, dword [0x551724]
call fcn.004061e8
add esp, 4
push ebp
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004051a0
mov eax, dword [ebp - 0x60]
call fcn.005776d4
pop ecx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebx + 3]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x14]
call fcn.004051a0
cmp dword [ebp - 0x14], 0
jne 0x577b89
jmp 0x577a93
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x18]
call fcn.00404f48
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor ebx, ebx
jmp 0x577c8c
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 0x68], 0
jne 0x577c39
inc ebx
jmp 0x577c8c
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x6c]
cmp byte [eax], 0xa
jae 0x577c51
inc ebx
jmp 0x577c8c
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x70]
call fcn.00409c68
mov esi, eax
lea ecx, [ebp - 0x74]
lea edx, [ebx + 1]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.00409c68
add ebx, 2
push ebp
mov edx, eax
mov eax, esi
call fcn.00577664
pop ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
dec eax
cmp ebx, eax
jle 0x577c23
mov dl, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov dl, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577cd0
lea eax, [ebp - 0x74]
mov edx, 0x19
call fcn.00404ca4
ret