Function at 0x4e1824
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1201bcab
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x12021210]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x12021210]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x280c
mov edi, ecx
mov dword [esp + 0x1c], 0x10
call fcn.004eb03c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 0
test esi, esi
je 0x4e1578
mov ecx, esi
call fcn.004e1d34
jmp 0x4e157a
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [edi + 0x60]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x2800
push esi
push edx
mov dword [esp + 0x2c], esi
call fcn.004e94bc
mov ecx, esi
mov ebp, eax
call fcn.004e1d54
cmp ebp, eax
je 0x4e15c7
push esi
call fcn.004e9db0
push ebp
push 0x1201c554
call fcn.004df9b4
add esp, 0xc
or eax, 0xffffffff
jmp 0x4e15f6
lea esi, [edi + 0x84]
mov edi, dword [esi + 4]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004e0144
push 1
mov ecx, esi
mov ebx, eax
call fcn.004e1354
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ebx
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ea360
add esp, 0x28
ret
push 0xffffffffffffffff
push 0x1201bceb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x12021210]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x90]
lea ebp, [esi + 0x90]
xor ebx, ebx
cmp ecx, ebx
jne 0x4e1757
mov ecx, dword [esi + 0x60]
push 2
push 2
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], ebx
call fcn.004e94c2
cmp eax, 2
jae 0x4e1694
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp word [esp + 0x14], 0x2800
ja 0x4e17ff
push 0x280c
call fcn.004eb03c
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebx
cmp edi, ebx
je 0x4e16c5
mov ecx, edi
call fcn.004e1d34
jmp 0x4e16c7
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
movzx edx, word [esp + 0x14]
mov eax, dword [esi + 0x60]
push ebx
push edx
push edi
push eax
mov dword [esp + 0x28], edi
call fcn.004e94c2
mov ebx, eax
movzx eax, word [esp + 0x14]
cmp ebx, eax
jne 0x4e1715
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x84]
call fcn.004e14d4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test ebx, ebx
jle 0x4e173e
mov dword [esi + 0x94], eax
mov dword [ebp], edi
mov dword [esi + 0x98], ebx
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push edi
call fcn.004e9db0
push ebx
push 0x1201c57c
call fcn.004df9b4
add esp, 0xc
jmp 0x4e17ff
mov eax, dword [esi + 0x98]
mov edi, dword [esi + 0x94]
mov edx, dword [esi + 0x60]
push ebx
sub edi, eax
push edi
add ecx, eax
push ecx
push edx
call fcn.004e94c2
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x4e17d3
mov ebx, dword [esi + 0x88]
mov eax, dword [ebx + 4]
lea edi, [esi + 0x84]
push ebp
push eax
push ebx
mov ecx, edi
call fcn.004e0144
push 1
mov ecx, edi
mov ebp, eax
call fcn.004e1354
mov dword [ebx + 4], ebp
mov ecx, dword [ebp + 4]
xor eax, eax
mov dword [ecx], ebp
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, ebx
jle 0x4e17f1
add dword [esi + 0x98], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push eax
push 0x1201c57c
call fcn.004df9b4
add esp, 8
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push esi
push 0x64
mov esi, ecx
call fcn.004dfdd4
test eax, eax
jle 0x4e1845
cmp dword [esi + 0x54], 0
mov ecx, esi
pop esi
jne 0x4e1840
jmp 0x4e1514
jmp 0x4e1624
pop esi
ret