Function at 0x4e5fa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e246b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x30], ebx
jne 0x4e5fd5
xor al, al
jmp 0x4e61fe
mov edi, dword [esp + 0x238]
push 1
mov eax, edi
push 1
cdq
sub eax, edx
mov edx, dword [ebx + 0x1d8]
mov ebp, eax
lea ecx, [esp + 0x4c]
sar ebp, 1
sub edi, ebp
cmp edx, esi
setne al
push eax
push ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
call fcn.004df810
lea ecx, [esp + 0x44]
mov dword [esp + 0x230], esi
call fcn.004e0660
test al, al
jne 0x4e6040
lea ecx, [esp + 0x44]
mov dword [esp + 0x230], 0xffffffff
mov dword [esp + 0x44], vtable.CxImage.0
call fcn.004df720
xor al, al
jmp 0x4e61fe
cmp dword [ebx + 0x1d8], esi
je 0x4e606e
mov esi, dword [ebx + 0x16c]
mov ecx, dword [ebx + 0x174]
mov edx, dword [ebx + 0x170]
mov eax, dword [ebx + 0x178]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
jmp 0x4e6082
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp eax, ecx
jge 0x4e61d4
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [esp + 0x34], ecx
mov eax, ecx
cdq
idiv dword [ebx + 0x10]
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4e61d4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
cmp esi, eax
jge 0x4e61b8
mov eax, dword [esp + 0x18]
mov ecx, ebx
push eax
push esi
call fcn.004f8430
test al, al
je 0x4e619f
neg ebp
mov ebx, ebp
mov byte [esp + 0x13], 0
cmp ebx, edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x2c], ebx
jge 0x4e6169
cmp ebp, edi
jge 0x4e6160
mov ecx, dword [esp + 0x18]
add ebx, esi
sub edi, ebp
lea esi, [ecx + ebp]
mov ecx, dword [esp + 0x30]
push 1
push esi
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.004e0a50
mov eax, dword [eax]
mov cl, byte [esp + 0x12]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x16]
cmp al, cl
jbe 0x4e6130
mov byte [esp + 0x12], al
mov al, byte [esp + 0x15]
mov cl, byte [esp + 0x13]
cmp al, cl
jbe 0x4e6140
mov byte [esp + 0x13], al
mov al, byte [esp + 0x14]
mov cl, byte [esp + 0x11]
cmp al, cl
jbe 0x4e6150
mov byte [esp + 0x11], al
inc esi
dec edi
jne 0x4e6108
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
inc ebx
cmp ebx, edi
mov dword [esp + 0x2c], ebx
jl 0x4e60f9
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x11]
mov byte [esp + 0x16], cl
mov byte [esp + 0x15], dl
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push 0
push ecx
push edx
push esi
lea ecx, [esp + 0x54]
call fcn.004e0da0
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jl 0x4e60c9
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
add ecx, 0x64
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
jl 0x4e609f
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.004dfc90
lea ecx, [esp + 0x44]
mov dword [esp + 0x230], 0xffffffff
mov dword [esp + 0x44], vtable.CxImage.0
call fcn.004df720
mov al, 1
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 4