Function at 0x4f14cc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
call fcn.00406aac
xor eax, eax
push ebp
push 0x4f190e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4569dc]
call fcn.004603a4
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x4569dc]
call fcn.004603a4
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x4569dc]
call fcn.004603a4
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x4569dc]
call fcn.004603a4
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4f18e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4f1930
mov edx, dword [0x512c40]
mov eax, dword [ebp - 0x14]
call fcn.00461480
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, 0x64
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, 6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0xc]
sub edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, dword [ebp - 0xc]
jge 0x4f15e1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0xc]
sub edx, eax
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
pop eax
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
xor eax, eax
call fcn.00432dfc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_CopyRect
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00460cc4
push eax
mov eax, dword [ebp - 0x18]
call fcn.00460cc4
lea edx, [ebp - 0x3c]
pop ecx
call fcn.0045a660
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
xor eax, eax
call fcn.00432dfc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_CopyRect
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_OffsetRect
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00460cc4
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00460cc4
lea edx, [ebp - 0x3c]
pop ecx
call fcn.0045a660
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
xor eax, eax
call fcn.00432dfc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_CopyRect
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_OffsetRect
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00460cc4
push eax
mov eax, dword [ebp - 0x20]
call fcn.00460cc4
lea edx, [ebp - 0x3c]
pop ecx
call fcn.0045a660
mov eax, dword [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4f1720
inc ebx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x2c]
add edi, eax
mov ecx, edi
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x3c]
inc dword [ebp - 0x2c]
dec ebx
jne 0x4f16f4
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x28]
add ebx, eax
mov ecx, ebx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [esi + 0x48]
mov dl, 1
call fcn.0045a004
cmp byte [ebp + 8], 0
je 0x4f17ef
mov ebx, dword [esi + 0x40]
mov edx, 0x4f1948
mov eax, ebx
call fcn.00459654
mov edx, 9
mov eax, ebx
call fcn.004596cc
mov edx, 0x3efdfb
mov eax, ebx
call fcn.00459330
movzx edx, byte [0x4f1958]
mov eax, ebx
call fcn.004596f8
lea eax, [ebp - 4]
mov edx, 0x4f1968
call fcn.00406b18
mov dword [ebp - 0x24], 0x23
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x88]
lea eax, [ebp - 4]
mov edx, 0x4f19b8
call fcn.00406b18
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0045a104
add ebx, eax
add ebx, 3
mov eax, dword [ebp - 4]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x24]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov ebx, dword [esi + 0x40]
mov edx, 0x10
mov eax, ebx
call fcn.004596cc
mov edx, 0xffffff
mov eax, ebx
call fcn.00459330
movzx edx, byte [0x4f1958]
mov eax, ebx
call fcn.004596f8
lea eax, [ebp - 4]
mov edx, dword [ebp + 0xc]
call fcn.00406b18
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0045a124
mov edx, dword [ebp - 8]
sub edx, eax
sar edx, 1
jns 0x4f1839
adc edx, 0
mov dword [ebp - 0x24], edx
cmp byte [ebp + 8], 0
je 0x4f1861
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x28]
dec edx
imul edx
add ebx, eax
add ebx, 0x14
jmp 0x4f187e
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x28]
dec edx
imul edx
add ebx, eax
add ebx, 0xa
mov eax, dword [ebp - 4]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x24]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
add ebx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x28]
add ebx, eax
sub ebx, dword [ebp - 0xc]
add ebx, 0xa
mov dword [ebp - 0x10], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f18f0
mov eax, dword [ebp - 0x14]
call fcn.00404edc
mov eax, dword [ebp - 0x18]
call fcn.00404edc
mov eax, dword [ebp - 0x1c]
call fcn.00404edc
mov eax, dword [ebp - 0x20]
call fcn.00404edc
ret