Function at 0x4e5d20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e244b
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 0x4e5d55
xor al, al
jmp 0x4e5f7e
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 0x4e5dc0
lea ecx, [esp + 0x44]
mov dword [esp + 0x230], 0xffffffff
mov dword [esp + 0x44], vtable.CxImage.0
call fcn.004df720
xor al, al
jmp 0x4e5f7e
cmp dword [ebx + 0x1d8], esi
je 0x4e5dee
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 0x4e5e02
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 0x4e5f54
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 0x4e5f54
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
cmp esi, eax
jge 0x4e5f38
mov eax, dword [esp + 0x18]
mov ecx, ebx
push eax
push esi
call fcn.004f8430
test al, al
je 0x4e5f1f
neg ebp
mov ebx, ebp
mov byte [esp + 0x13], 0xff
cmp ebx, edi
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov dword [esp + 0x2c], ebx
jge 0x4e5ee9
cmp ebp, edi
jge 0x4e5ee0
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
jae 0x4e5eb0
mov byte [esp + 0x12], al
mov al, byte [esp + 0x15]
mov cl, byte [esp + 0x13]
cmp al, cl
jae 0x4e5ec0
mov byte [esp + 0x13], al
mov al, byte [esp + 0x14]
mov cl, byte [esp + 0x11]
cmp al, cl
jae 0x4e5ed0
mov byte [esp + 0x11], al
inc esi
dec edi
jne 0x4e5e88
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 0x4e5e79
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 0x4e5e49
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 0x4e5e1f
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