Yes, you can use EAD working for another company. However, you will lose your H-1B status. If CIS does not approve your I-140/I-485, then you will be in trouble since you are no longer in H-1B status.
help-u-fill.com
help-u-fill.com