Mediation Analysis with Random Distribution as Mediator with an Application to iCOMPARE Trial