Conclusions: Our findings emphasize the significant involvement of EHD4 and PPARGC1A in HCC, specifically regarding their influence on tumor-associated macrophage polarization and broader immune microenvironment modulation. The gene discussed is EHD4; the disease is hepatocellular carcinoma.