Function at 0x1007e940
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1016dfe3
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0xffffffff
cmp eax, 0x13
ja case.default.0x1007e982
jmp dword [eax*4 + 0x1007ee10]
push 0x28
call fcn.100bbdb6
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x7c], 0
je 0x1007e9bb
push 0x797
push str.ENVariant.cpp
push str.ENStd
mov ecx, eax
call fcn.1008abd0
jmp 0x1007e9bd
xor eax, eax
mov dword [esp + 0x84], eax
push 0x101a3e78
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x84], 0xffffffff
call fcn.100bcb39
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
push 0
lea eax, [esp + 0x4c]
push eax
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
mov dword [esp + 0x80], 1
call edx
push eax
call fcn.100a25c0
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x7c], 0xffffffff
call fcn.1009be70
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
push 0
call edx
mov bl, al
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
xor ecx, ecx
cmp al, bl
setg cl
mov al, cl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xec]
push 0
call eax
mov edx, dword [esi]
mov bl, al
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp bl, al
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf0]
push 0
call eax
mov edx, dword [esi]
mov di, ax
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
xor ecx, ecx
cmp ax, di
setg cl
mov al, cl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
push 0
call eax
mov edx, dword [esi]
mov di, ax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
cmp di, ax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf8]
push 0
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
xor ecx, ecx
cmp eax, edi
setg cl
mov al, cl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push 0
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
cmp edi, eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
push 0
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
xor ecx, ecx
cmp eax, edi
setg cl
mov al, cl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x104]
push 0
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
cmp edi, eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x108]
push 0
push 0
call eax
mov edi, edx
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
cmp edx, edi
jl 0x1007ec3b
jg 0x1007ecc7
cmp eax, ebx
ja 0x1007ecc7
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10c]
push 0
push 0
call eax
mov edi, edx
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp edx, edi
jb 0x1007ec3b
ja 0x1007ecc7
cmp eax, ebx
jbe 0x1007ec3b
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x88]
fldz
mov edx, dword [ecx]
mov eax, dword [edx + 0x110]
push ecx
fstp dword [esp]
call eax
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x1007ec3b
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x88]
fldz
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
sub esp, 8
fstp qword [esp]
call eax
fcomp qword [esp + 0x10]
jmp 0x1007ecbc
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
push 0
lea eax, [esp + 0x1c]
push eax
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
mov ecx, esi
mov dword [esp + 0x80], 2
call edx
push eax
call fcn.1000d840
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x7c], 0xffffffff
call fcn.1000d9b0
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x88]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
push eax
call fcn.1007e940
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
lea ecx, [esp + 0x28]
call fcn.100774f0
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
mov dword [esp + 0x7c], 3
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.1007e940
add esp, 8
lea ecx, [esp + 0x28]
mov bl, al
mov dword [esp + 0x7c], 0xffffffff
call fcn.10077540
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret