Function at 0x40a5b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59592a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5e000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], eax
lea eax, [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
lea ebx, [ecx + 0x24]
mov dword [ebx], 0
mov dword [ebp - 0x20], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov byte [ebp - 4], 5
mov edx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004df5c0
push 0
push 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call dword [0x5a6364]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
jbe 0x40a717
mov ebx, dword [ebp - 0x18]
nop dword [eax + eax]
push 0x20
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x18], eax
lea esi, [eax + 8]
xor ecx, ecx
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
push ecx
push 8
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call dword [0x5a6364]
mov edx, esi
mov ecx, edi
call fcn.004df5c0
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp ecx, dword [ebx + 8]
je 0x40a6fc
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x40a708
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0040b130
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 8]
jb 0x40a6a0
mov ebx, dword [ebp - 0x20]
push 0
push 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call dword [0x5a6364]
xor esi, esi
cmp dword [ebp + 8], esi
jbe 0x40a772
nop
push 0xc
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x1c], eax
push edi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00408800
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebx + 8]
je 0x40a760
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x40a76c
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.0040b130
inc esi
cmp esi, dword [ebp + 8]
jb 0x40a730
push 0
push 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call dword [0x5a6364]
mov ebx, dword [ebp - 0x14]
xor esi, esi
cmp dword [ebp + 8], esi
jbe 0x40a7d5
nop dword [eax]
push 0xc
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x1c], eax
push edi
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00408800
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebx + 0x38]
je 0x40a7c2
mov dword [ecx], edx
add dword [ebx + 0x34], 4
jmp 0x40a7cf
lea edx, [ebp - 0x20]
push edx
push ecx
lea ecx, [ebx + 0x30]
call fcn.0040b130
inc esi
cmp esi, dword [ebp + 8]
jb 0x40a790
push 0
push 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call dword [0x5a6364]
xor esi, esi
cmp dword [ebp + 8], esi
jbe 0x40a835
nop dword [eax]
push 0xc
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x1c], eax
push edi
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00408800
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebx + 0x44]
je 0x40a822
mov dword [ecx], edx
add dword [ebx + 0x40], 4
jmp 0x40a82f
lea edx, [ebp - 0x20]
push edx
push ecx
lea ecx, [ebx + 0x3c]
call fcn.0040b130
inc esi
cmp esi, dword [ebp + 8]
jb 0x40a7f0
push 0
push 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call dword [0x5a6364]
xor esi, esi
cmp dword [ebp + 8], esi
jbe 0x40a895
nop dword [eax]
push 0xc
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x1c], eax
push edi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00408800
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebx + 0x50]
je 0x40a882
mov dword [ecx], edx
add dword [ebx + 0x4c], 4
jmp 0x40a88f
lea edx, [ebp - 0x20]
push edx
push ecx
lea ecx, [ebx + 0x48]
call fcn.0040b130
inc esi
cmp esi, dword [ebp + 8]
jb 0x40a850
push 0
push 4
lea eax, [ebx + 0x54]
mov ecx, edi
push eax
call dword [0x5a6364]
push 0
push 4
lea eax, [ebx + 0x58]
mov ecx, edi
push eax
call dword [0x5a6364]
push 0
push 2
lea eax, [ebx + 0x5c]
mov ecx, edi
push eax
call dword [0x5a6364]
push 0
push 2
lea eax, [ebx + 0x5e]
mov ecx, edi
push eax
call dword [0x5a6364]
push 0
push 2
lea eax, [ebx + 0x60]
mov ecx, edi
push eax
call dword [0x5a6364]
push 0
push 4
lea eax, [ebx + 0x64]
mov ecx, edi
push eax
call dword [0x5a6364]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4