Endoplasmic reticulum chaperone that plays a key role in protein folding and quality control in the endoplasmic reticulum lumen (PubMed:2294010, PubMed:23769672, PubMed:23990668, PubMed:28332555). Involved in the correct folding of proteins and degradation of misfolded proteins via its interaction with DNAJC10/ERdj5, probably to facilitate the release of DNAJC10/ERdj5 from its substrate (By similarity). Acts as a key repressor of the ERN1/IRE1-mediated unfolded protein response (UPR) (PubMed:1550958, PubMed:19538957). In the unstressed endoplasmic reticulum, recruited by DNAJB9/ERdj4 to the luminal region of ERN1/IRE1, leading to disrupt the dimerization of ERN1/IRE1, thereby inactivating ERN1/IRE1 (By similarity). Accumulation of misfolded protein in the endoplasmic reticulum causes release of HSPA5/BiP from ERN1/IRE1, allowing homodimerization and subsequent activation of ERN1/IRE1 (By similarity). Plays an auxiliary role in post-translational transport of small presecretory proteins across endoplasmic reticulum (ER). May function as an allosteric modulator for SEC61 channel-forming translocon complex, likely cooperating with SEC62 to enable the productive insertion of these precursors into SEC61 channel. Appears to specifically regulate translocation of precursors having inhibitory residues in their mature region that weaken channel gating. May also play a role in apoptosis and cell proliferation (PubMed:26045166). ; (Microbial infection) Plays an important role in viral binding to the host cell membrane and entry for several flaviruses such as Dengue virus, Zika virus and Japanese encephalitis virus (PubMed:15098107, PubMed:28053106, PubMed:33432092). Acts as a component of the cellular receptor for Dengue virus serotype 2/DENV-2 on human liver cells (PubMed:15098107). ; (Microbial infection) Acts as a receptor for CotH proteins expressed by fungi of the order mucorales, the causative agent of mucormycosis, which plays an important role in epithelial cell invasion by the fungi (PubMed:20484814, PubMed:24355926, PubMed:32487760). Acts as a receptor for R.delemar CotH3 in nasal epithelial cells, which may be an early step in rhinoorbital/cerebral mucormycosis (RCM) disease progression (PubMed:32487760).