Function at 0x4c2a4f
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x53ac0c
call fcn.004ea774
push ecx
mov eax, 0x1428
call fcn.004eaae0
mov eax, dword [0x58c61c]
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.00505ef0
push dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x28]
push dword [esi + 8]
push eax
call fcn.0051ec99
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.0051ecb4
cmp dword [ebp - 0x18], 0x191
jne 0x4c2ae4
mov ecx, dword [esi + 0x24]
push ebx
push 6
push 0x2eee
push ebx
call fcn.0051eb97
cmp eax, 0x2f00
je 0x4c2ad6
push 2
call fcn.004c3ce7
pop ecx
mov ecx, dword [esi + 0x24]
push ebx
push ebx
push ebx
push ebx
call fcn.0051ec66
jmp 0x4c2aa1
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 0x4c2b0e
push dword [ebp - 0x18]
call fcn.004c3ce7
pop ecx
mov eax, dword [0x58c61c]
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.0051ecf3
cmp eax, ebx
je 0x4c2b39
push dword [ebp - 0x24]
call fcn.004eb6dd
pop ecx
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x4c2b54
mov eax, dword [ecx]
push dword [esi + 0x24]
call dword [eax + 0x18]
cmp eax, ebx
jne 0x4c2b54
push 5
call fcn.004c3ce7
pop ecx
cmp dword [esi + 0x30], ebx
jle 0x4c2be8
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4c2b6e
push eax
call fcn.00505842
pop ecx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x30]
inc eax
push eax
call fcn.00505819
cmp eax, ebx
pop ecx
mov dword [esi + 0x2c], eax
jne 0x4c2b88
push 4
call fcn.004c3ce7
pop ecx
mov eax, dword [esi + 0x30]
inc eax
push eax
push ebx
push dword [esi + 0x2c]
call fcn.004ea940
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 0x4c2bbd
mov eax, ecx
mov ecx, dword [esi + 0x24]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x34]
cmp eax, ebx
jle 0x4c2cc8
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 0x4c2bac
mov eax, dword [0x58c61c]
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 0x4c2c71
add eax, edi
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], eax
call fcn.00505f08
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1438]
add eax, edi
push ecx
push eax
call fcn.004eabd0
mov edi, dword [ebp - 0x30]
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.00505f57
mov ecx, dword [esi + 0x20]
cmp dword [ebp - 0x2c], 0x1000
push ebx
mov eax, dword [ecx]
jne 0x4c2c58
lea edx, [edi + 0x5000]
push edx
jmp 0x4c2c59
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 0x4c2bf6
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4c2c82
push eax
call fcn.00505842
pop ecx
mov dword [esi + 0x2c], ebx
push edi
call fcn.00505819
pop ecx
mov dword [esi + 0x2c], eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.00505f08
push edi
push eax
push dword [esi + 0x2c]
call fcn.004eabd0
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.00505ad8
mov ecx, esi
call fcn.004c2730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00505ad8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00505ad8
jmp 0x4c2d38
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