Peroxisomal trifunctional enzyme possessing 2-enoyl-CoA hydratase, 3-hydroxyacyl-CoA dehydrogenase, and delta 3, delta 2-enoyl-CoA isomerase activities. Catalyzes two of the four reactions of the long chain fatty acids peroxisomal beta-oxidation pathway (By similarity). Can also use branched-chain fatty acids such as 2-methyl-2E-butenoyl-CoA as a substrate, which is hydrated into (2S,3S)-3-hydroxy-2-methylbutanoyl-CoA (By similarity). Optimal isomerase for 2,5 double bonds into 3,5 form isomerization in a range of enoyl-CoA species (Probable). Also able to isomerize both 3-cis and 3-trans double bonds into the 2-trans form in a range of enoyl-CoA species (By similarity). With HSD17B4, catalyzes the hydration of trans-2-enoyl-CoA and the dehydrogenation of 3-hydroxyacyl-CoA, but with opposite chiral specificity (PubMed:15060085). Regulates the amount of medium-chain dicarboxylic fatty acids which are essential regulators of all fatty acid oxidation pathways (By similarity). Also involved in the degradation of long-chain dicarboxylic acids through peroxisomal beta-oxidation (PubMed:15060085).