SepIsRemovableStorageDevice

UINT8 __fastcall SepIsRemovableStorageDevice(_DEVICE_OBJECT *pDeviceObject){
  int v1; 
  UINT8 result; 
  result = 0;
  if( pDeviceObject )
  {
    v1 = *((_DWORD *)pDeviceObject + 18);
    if( v1 == 2 || v1 == 31 || v1 == 45 || v1 == 51 || v1 == 64 || (*((_DWORD *)pDeviceObject + 13) & 0x40001) != 0 )
      return 1;
  }
  return result;
}

Referenced by:

SepAdtClassifyObjectIntoSubCategory