affected by the retrogress. So you can apply EAD as long as you have a valid pending I485. H1B status won't be affected if I140 or I485 is denied.