Function at 0x632a10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
sub edx, 1
jb 0x632a2e
je 0x632a6d
dec edx
je 0x632be7
jmp 0x632c16
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x2c]
je 0x632c37
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x2c], eax
test eax, eax
jge 0x632a4e
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0xff
jle 0x632c16
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 0xff
jmp 0x632c16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp ecx, eax
je 0x632c37
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x30], eax
test eax, eax
jg 0x632a93
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0x7d0
jle 0x632aa9
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0x7d0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x70]
mov eax, esi
mov edx, dword [0x4e784c]
call fcn.00404668
test al, al
je 0x632c16
mov dword [ebp - 8], esi
cmp ebx, 0x64
jne 0x632ae4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0x64
jl 0x632c16
mov eax, dword [ebp - 8]
call fcn.004f0928
xor edx, edx
push ebp
push 0x632be0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x54]
or ax, word [0x632c40]
mov edx, dword [ebp - 8]
mov word [edx + 0x54], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp eax, 0x64
jne 0x632b2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
jmp 0x632b3e
push 0x64
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 8]
add edx, 0x48
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp eax, 0x64
jne 0x632b59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
jmp 0x632b68
push 0x64
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 8]
add edx, 0x4c
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24c]
test eax, eax
je 0x632b9c
push 0x416
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4c]
push edx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x48]
push edx
push 0
push 0
push 0
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x632c16
mov eax, dword [ebp - 8]
movzx edx, word [0x632c40]
not edx
and dx, word [eax + 0x54]
mov eax, dword [ebp - 8]
mov word [eax + 0x54], dx
mov eax, dword [ebp - 8]
movzx edx, word [0x632c44]
not edx
and dx, word [eax + 0x54]
mov eax, dword [ebp - 8]
mov word [eax + 0x54], dx
mov eax, dword [ebp - 8]
call fcn.004f0930
ret
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x34]
je 0x632c37
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x34], eax
test eax, eax
jge 0x632c03
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0x64
jle 0x632c16
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0x64
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x70]
mov eax, ebx
mov edx, dword [0x4e6f50]
call fcn.00404668
test al, al
je 0x632c37
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret