Multifractality of random eigenfunctions and generalization of Jarzynski equality