Function at 0x4e2da0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x563f58
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [0x5be940]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.0043fe60
cmp byte [0x5beadc], 0
mov dword [esp + 0x80], 0
je 0x4e2e26
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
test ecx, ecx
je 0x4e2e0f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov esi, dword [0x5be940]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4e31e9
mov ebp, dword [esp + 0x90]
mov edi, vtable.cSharedPointer.0
lea eax, [esi + 0x240]
test eax, eax
je 0x4e2e56
lea eax, [esi + 0x244]
jmp 0x4e2e58
xor eax, eax
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x64]
call fcn.00416600
xor eax, eax
cmp dword [esi + 0x2cc], eax
mov byte [esp + 0x80], 1
mov dword [esp + 0x14], eax
jle 0x4e31b1
cmp eax, dword [esi + 0x2cc]
lea ecx, [esi + 0x240]
jl 0x4e2e94
xor esi, esi
jmp 0x4e2ea0
mov ecx, dword [ecx + 0x88]
mov esi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov ecx, esi
call fcn.004de250
test al, al
jne 0x4e3191
mov edx, dword [esi]
mov ecx, dword [edx + 4]
push 5
call fcn.0043d7c0
test eax, eax
jne 0x4e3191
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 6
call fcn.0043d7c0
test eax, eax
jne 0x4e3191
mov ebx, dword [esi]
mov eax, dword [ebx + 4]
cmp byte [eax + 0x628], 0
je 0x4e2f16
mov ecx, dword [eax + 0x630]
or ecx, dword [eax + 0x634]
je 0x4e2f16
mov edx, dword [str.System]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push edx
push ecx
call fcn.004091c0
add esp, 0xc
test al, al
je 0x4e3191
mov byte [ebx + 0x14], 1
mov eax, dword [esi]
cmp byte [eax + 0x14], 0
je 0x4e2f27
mov dword [esp + 0x1c], eax
jmp 0x4e3191
test ebp, ebp
je 0x4e2f30
lea eax, [ebp + 4]
jmp 0x4e2f32
xor eax, eax
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.00416600
mov ecx, dword [esi]
cmp dword [ecx + 0x18], 0
mov byte [esp + 0x80], 2
setne al
xor bl, bl
test al, al
jne 0x4e323d
call fcn.004df4b0
mov bl, al
test bl, bl
jne 0x4e323d
mov eax, dword [esi]
mov ebp, dword [eax + 4]
mov ecx, dword [ebp + 0x5f8]
cmp ecx, 4
je 0x4e317c
cmp ecx, 5
je 0x4e317c
cmp ecx, 6
je 0x4e317c
mov edi, dword [esp + 0x8c]
mov ebx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
mov ecx, dword [esp + 0x88]
mov edx, edi
cmp eax, edi
jb 0x4e2fb6
ja 0x4e2fb2
cmp ebx, ecx
jbe 0x4e2fb6
mov ecx, ebx
mov edx, eax
push edx
push ecx
lea ecx, [ebp + 0x1e8]
call fcn.0043ad60
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x60]
mov ebp, edx
mov edx, dword [ecx + 0x64]
mov ebx, eax
or ebx, edx
jne 0x4e2ff5
mov ebx, dword [ecx + 4]
cmp byte [ebx + 0x61e], 0
je 0x4e2ff5
mov edx, dword [esp + 0x88]
mov dword [esp + 0x20], edx
mov ebp, edi
jmp 0x4e30b0
mov ebx, dword [esp + 0x88]
cmp eax, ebx
jne 0x4e306c
cmp edx, edi
jne 0x4e306c
push 0
push 0
call fcn.0043abc0
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, dword [edx + 0x74]
mov ebp, eax
add esp, 8
or ebp, ecx
je 0x4e3028
cmp ecx, edi
ja 0x4e3032
jb 0x4e3028
cmp eax, ebx
ja 0x4e3032
mov eax, ebx
add eax, 1
mov ecx, edi
adc ecx, 0
push ecx
mov ecx, dword [edx + 4]
push eax
add ecx, 0x1e8
call fcn.0043ad60
mov ecx, dword [esi]
mov ebp, dword [ecx + 4]
cmp byte [ebp + 0x5fc], 0
jne 0x4e3177
cmp edx, edi
jb 0x4e3177
ja 0x4e3066
cmp eax, ebx
jbe 0x4e3177
mov dword [esp + 0x20], eax
mov ebp, edx
cmp ebp, edi
ja 0x4e30b0
jb 0x4e3078
cmp dword [esp + 0x20], ebx
jae 0x4e30b0
mov eax, dword [ecx + 4]
cmp dword [eax + 0x5f8], 0
jne 0x4e3177
mov edx, dword [ecx + 0x84]
mov eax, dword [ecx + 0x80]
cmp edx, ebp
ja 0x4e3177
jb 0x4e30a8
cmp eax, dword [esp + 0x20]
ja 0x4e3177
or eax, edx
je 0x4e3177
mov edx, dword [ecx + 4]
cmp dword [edx + 0x5f8], 0
jne 0x4e30e4
mov eax, dword [ecx + 0x60]
or eax, dword [ecx + 0x64]
je 0x4e30e4
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
mov edx, eax
or edx, ecx
je 0x4e30e4
cmp ecx, ebp
jb 0x4e30e4
ja 0x4e3177
cmp eax, dword [esp + 0x20]
ja 0x4e3177
push 0xc
call fcn.0051a2f5
mov edi, eax
add esp, 4
test edi, edi
je 0x4e321a
mov ebx, dword [esp + 0x90]
mov byte [edi + 4], 1
mov dword [edi], 0
mov dword [edi + 8], 0
mov eax, dword [esi]
xor esi, esi
mov dword [edi], eax
cmp dword [ebx + 0x8c], esi
jle 0x4e314e
mov edi, edi
push esi
mov ecx, ebx
call fcn.0043f560
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x63c]
cmp edx, ebp
ja 0x4e314e
jb 0x4e3145
mov eax, dword [eax + 0x638]
cmp eax, dword [esp + 0x20]
ja 0x4e314e
inc esi
cmp esi, dword [ebx + 0x8c]
jl 0x4e3120
push esi
push edi
mov ecx, ebx
call fcn.004e1340
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
mov dword [esp + 0x44], vtable.cSharedPointer.0
call fcn.00416230
mov edi, vtable.cSharedPointer.0
jmp 0x4e3191
mov edi, vtable.cSharedPointer.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
mov dword [esp + 0x44], edi
call fcn.00416230
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x90]
inc eax
cmp eax, dword [esi + 0x2cc]
mov dword [esp + 0x14], eax
jl 0x4e2e82
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
mov dword [esp + 0x68], edi
call fcn.00416230
mov esi, dword [esi + 0x2dc]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4e2e44
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e31e9
push eax
call fcn.004d42e0
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
test ecx, ecx
je 0x4e3204
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov esi, vtable.cSharedPointer.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
mov dword [esp + 0x44], esi
call fcn.00416230
mov dword [esp + 0x68], esi
jmp 0x4e32d8
push 0xc
call fcn.0051a2f5
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4e32bf
mov edx, dword [esp + 0x90]
mov byte [ebp + 4], 1
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov ecx, dword [esi]
push 0
push edx
mov dword [ebp], ecx
call fcn.004e2290
add esp, 8
test bl, bl
je 0x4e3283
mov eax, dword [esi]
mov dword [eax + 0x18], 1
mov ecx, dword [esp + 0x90]
push ebp
call fcn.004e1240
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
mov dword [esp + 0x44], edi
call fcn.00416230
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
mov dword [esp + 0x68], edi
call fcn.00416230
jmp 0x4e31e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
mov dword [esp + 0x44], edi
call fcn.00416230
mov dword [esp + 0x68], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.00416230
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
test ecx, ecx
je 0x4e3304
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, 0x10
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret