Function at 0x4c6e79
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x53f7c4
call fcn.004eec88
push ecx
mov eax, 0x1428
call fcn.004eef30
mov eax, dword [0x5927d4]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0050a3a8
push dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x28]
push dword [esi + 8]
push eax
call fcn.00523151
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.0052316c
cmp dword [ebp - 0x18], 0x191
jne 0x4c6f0e
mov ecx, dword [esi + 0x24]
push ebx
push 6
push 0x2eee
push ebx
call fcn.0052304f
cmp eax, 0x2f00
je 0x4c6f00
push 2
call fcn.004c812d
pop ecx
mov ecx, dword [esi + 0x24]
push ebx
push ebx
push ebx
push ebx
call fcn.0052311e
jmp 0x4c6ecb
mov ecx, dword [esi + 0x20]
push ebx
push 0x64
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
push ebx
push 0xa
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x18], 0xc8
je 0x4c6f38
push dword [ebp - 0x18]
call fcn.004c812d
pop ecx
mov eax, dword [0x5927d4]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x24]
push ebx
push eax
push 5
mov byte [ebp - 4], 2
call fcn.005231ab
cmp eax, ebx
je 0x4c6f63
push dword [ebp - 0x24]
call fcn.004efb2d
pop ecx
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x4c6f7e
mov eax, dword [ecx]
push dword [esi + 0x24]
call dword [eax + 0x18]
cmp eax, ebx
jne 0x4c6f7e
push 5
call fcn.004c812d
pop ecx
cmp dword [esi + 0x30], ebx
jle 0x4c7012
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4c6f98
push eax
call fcn.00509cfa
pop ecx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x30]
inc eax
push eax
call fcn.00509cd1
cmp eax, ebx
pop ecx
mov dword [esi + 0x2c], eax
jne 0x4c6fb2
push 4
call fcn.004c812d
pop ecx
mov eax, dword [esi + 0x30]
inc eax
push eax
push ebx
push dword [esi + 0x2c]
call fcn.004eed90
mov ecx, dword [esi + 0x20]
add esp, 0xc
mov eax, dword [ecx]
push ebx
push dword [esi + 0x30]
push ebx
call dword [eax + 0x14]
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x30]
mov ecx, 0x1000
sub eax, dword [ebp - 0x14]
cmp eax, ecx
jle 0x4c6fe7
mov eax, ecx
mov ecx, dword [esi + 0x24]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x34]
cmp eax, ebx
jle 0x4c70f2
add dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x20]
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov edi, dword [esi + 0x2c]
add edi, dword [ebp - 0x14]
jmp 0x4c6fd6
mov eax, dword [0x5927d4]
xor edi, edi
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x1438]
push 0x1000
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jle 0x4c709b
add eax, edi
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], eax
call fcn.0050a3c0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1438]
add eax, edi
push ecx
push eax
call fcn.004ef020
mov edi, dword [ebp - 0x30]
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.0050a40f
mov ecx, dword [esi + 0x20]
cmp dword [ebp - 0x2c], 0x1000
push ebx
mov eax, dword [ecx]
jne 0x4c7082
lea edx, [edi + 0x5000]
push edx
jmp 0x4c7083
push edi
push ebx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x1438]
push edx
push edi
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4c7020
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4c70ac
push eax
call fcn.00509cfa
pop ecx
mov dword [esi + 0x2c], ebx
push edi
call fcn.00509cd1
pop ecx
mov dword [esi + 0x2c], eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0050a3c0
push edi
push eax
push dword [esi + 0x2c]
call fcn.004ef020
mov ecx, dword [esi + 0x20]
add esp, 0xc
mov dword [esi + 0x30], edi
mov eax, dword [ecx]
push ebx
push edi
push ebx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
push ebx
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00509f90
mov ecx, esi
call fcn.004c6b5a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00509f90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00509f90
jmp 0x4c7162
push dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
push dword [esi + 0x30]
mov eax, dword [ecx]
push 2
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret