Function at 0x62c6d8
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 0x62c6f6
je 0x62c735
dec edx
je 0x62c8af
jmp 0x62c8de
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x2c]
je 0x62c8ff
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x2c], eax
test eax, eax
jge 0x62c716
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0xff
jle 0x62c8de
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 0xff
jmp 0x62c8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp ecx, eax
je 0x62c8ff
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x30], eax
test eax, eax
jg 0x62c75b
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0x7d0
jle 0x62c771
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 [0x4e7440]
call fcn.00404668
test al, al
je 0x62c8de
mov dword [ebp - 8], esi
cmp ebx, 0x64
jne 0x62c7ac
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 0x62c8de
mov eax, dword [ebp - 8]
call fcn.004f051c
xor edx, edx
push ebp
push 0x62c8a8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x54]
or ax, word [0x62c908]
mov edx, dword [ebp - 8]
mov word [edx + 0x54], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp eax, 0x64
jne 0x62c7f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
jmp 0x62c806
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 0x62c821
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
jmp 0x62c830
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 0x62c864
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 0x62c8de
mov eax, dword [ebp - 8]
movzx edx, word [0x62c908]
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 [0x62c90c]
not edx
and dx, word [eax + 0x54]
mov eax, dword [ebp - 8]
mov word [eax + 0x54], dx
mov eax, dword [ebp - 8]
call fcn.004f0524
ret
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x34]
je 0x62c8ff
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [edx + 0x34], eax
test eax, eax
jge 0x62c8cb
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0x64
jle 0x62c8de
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 [0x4e6b44]
call fcn.00404668
test al, al
je 0x62c8ff
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret