Function at 0x4d7e35
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d8684]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x2180], esi
je 0x4d84df
mov edi, dword [ebx + 0x1f6c]
lea eax, [esp + 0x1c]
push eax
call fcn.004caedc
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x40], esi
call 0x52231b
pop ecx
pop ecx
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004bf355
mov edi, dword [ebx + 0x1f6c]
lea eax, [esp + 0x28]
push eax
call fcn.004cb2b8
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 3
call 0x51e0f7
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push 0x4b8898
push eax
mov byte [esp + 0x48], 4
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 5
push dword [esp + 0x18]
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e50
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x28]
push 0x4b88a8
push eax
call 0x51ff3b
pop ecx
pop ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x3c], 6
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov edi, dword [ebx + 0x1f6c]
lea eax, [esp + 0x14]
push eax
call fcn.004cb2b8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 7
push eax
mov edi, dword [ebx + 0x1f6c]
call fcn.004cacc4
mov edi, eax
lea eax, [esp + 0x24]
push 0x4b88b8
push eax
mov byte [esp + 0x40], 8
call 0x51ff3b
pop ecx
pop ecx
mov byte [esp + 0x38], 9
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x2180]
push edi
push eax
call fcn.00506e50
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004bf355
mov eax, dword [ebx + 0x1f6c]
push dword [eax + 0x104]
lea eax, [esp + 0x28]
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b88c4
push eax
mov byte [esp + 0x48], 0xa
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 0xb
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [ebx + 0x2850]
push eax
lea eax, [esp + 0x28]
push eax
call 0x52011e
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8280
push eax
mov byte [esp + 0x48], 0xc
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 0xd
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x24]
cmp dword [ebx + 0x1f88], esi
je 0x4d80c6
push 3
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8290
push eax
mov byte [esp + 0x48], 0xe
call 0x51ff3b
add esp, 0x10
mov byte [esp + 0x38], 0xf
jmp 0x4d811b
cmp dword [ebx + 0x1fa4], esi
je 0x4d80f6
push 1
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8290
push eax
mov byte [esp + 0x48], 0x10
call 0x51ff3b
add esp, 0x10
mov byte [esp + 0x38], 0x11
jmp 0x4d811b
push esi
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8290
push eax
mov byte [esp + 0x48], 0x12
call 0x51ff3b
add esp, 0x10
mov byte [esp + 0x38], 0x13
mov ecx, dword [ebx + 0x2180]
push edi
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov edi, dword [ebx + 0x1f6c]
lea eax, [esp + 0x24]
push eax
call fcn.004cb9dc
mov edi, eax
lea eax, [esp + 0x28]
push 0x4b88d8
push eax
mov byte [esp + 0x40], 0x14
call 0x51ff3b
pop ecx
pop ecx
push edi
mov byte [esp + 0x3c], 0x15
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
call 0x52cc48
push eax
lea ecx, [esp + 0x18]
call fcn.004bf36f
lea eax, [esp + 0x24]
push 0x4b8420
push eax
mov byte [esp + 0x40], 0x16
call 0x51ff3b
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b819c
push eax
mov byte [esp + 0x48], 0x17
call 0x51ff3b
add esp, 0x10
mov byte [esp + 0x38], 0x18
mov edi, dword [edi]
mov eax, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x1f70]
push eax
call fcn.00508a46
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov eax, dword [ebx + 0x1f7c]
push edi
inc eax
push eax
lea eax, [esp + 0x1c]
push 0x4b88e8
push eax
call fcn.004bf640
push edi
lea eax, [esp + 0x30]
push eax
call 0x5201d8
mov edi, eax
mov byte [esp + 0x50], 0x19
mov eax, dword [ebx + 0x1f7c]
inc eax
push eax
lea eax, [esp + 0x3c]
push eax
call 0x5201d8
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push 0x4b88f8
push eax
mov byte [esp + 0x60], 0x1a
call 0x51ff3b
add esp, 0x28
push edi
mov byte [esp + 0x3c], 0x1b
push dword [esp + 0x2c]
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e50
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x28]
push 0x4b8904
push eax
call 0x51ff3b
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x3c], 0x1c
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [ebx + 0x1f88], esi
je 0x4d8390
lea eax, [esp + 0x24]
push 0x64
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8914
push eax
mov byte [esp + 0x48], 0x1d
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 0x1e
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x24]
push 0x64
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b8924
push eax
mov byte [esp + 0x48], 0x1f
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 0x20
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004d71e6
push eax
mov byte [esp + 0x3c], 0x21
call fcn.004ddda3
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov edi, dword [0x4af618]
push 1
call edi
push eax
lea eax, [esp + 0x20]
push eax
call 0x5201d8
pop ecx
pop ecx
mov dword [esp + 0x28], eax
push esi
mov byte [esp + 0x3c], 0x22
call edi
push eax
lea eax, [esp + 0x24]
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x2c]
push 0x4b8938
push eax
mov byte [esp + 0x48], 0x23
call 0x51ff3b
add esp, 0x10
mov byte [esp + 0x38], 0x24
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x2180]
push edi
push eax
call fcn.00506e50
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x24]
push 0x70
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x30]
push 0x4b894c
push eax
mov byte [esp + 0x48], 0x25
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x3c], 0x26
mov ecx, dword [ebx + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x38], 0x16
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [ebx + 0x2198], esi
jne 0x4d84c7
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x4b8958
push eax
call 0x51ff3b
pop ecx
pop ecx
mov ecx, dword [ebx + 0x2180]
call fcn.00506da3
cmp eax, esi
je 0x4d84c7
mov dword [ebx + 0x2198], 1
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret