ExSetHandleAttributes
VOID __stdcall ExSetHandleAttributes(_HANDLE_TABLE_ENTRY *HandleData, UINT64 AttributeValues, UINT64 SetMask){
__int32 bf_0;
__int32 v4;
if( (SetMask & 7) != 0 )
HandleData->LowValue = HandleData->LowValue & ~((SetMask & 7) << 17) | ((SetMask & 7) << 17) & ((unsigned __int64)(unsigned int)AttributeValues << 17);
if( (SetMask & 8) != 0 )
{
bf_0 = HandleData->LeafHandleValue.$E5B3C52FE72490EE6A49ADBB8529F30E::_bf_0;
if( (AttributeValues & 8) != 0 )
v4 = bf_0 | 0x2000000;
else
v4 = bf_0 & 0xFDFFFFFF;
HandleData->LeafHandleValue.$E5B3C52FE72490EE6A49ADBB8529F30E::_bf_0 = v4;
}
}Referenced by:
ObSetHandleAttributes