The function of ENSG00000164104 (HMGB2, high mobility group box 2) is as follows. Multifunctional protein with various roles in different cellular compartments. May act in a redox sensitive manner. In the nucleus is an abundant chromatin-associated non-histone protein involved in transcription, chromatin remodeling and V(D)J recombination and probably other processes. Binds DNA with a preference to non- canonical DNA structures such as single-stranded DNA. Can bent DNA and enhance DNA flexibility by looping thus providing a mechanism to promote activities on various gene promoters by enhancing transcription factor binding and/or bringing distant regulatory sequences into close proximity (PubMed:11909973, PubMed:18413230, PubMed:19522541, PubMed:19965638, PubMed:20123072, PubMed:7797075). Involved in V(D)J recombination by acting as a cofactor of the RAG complex: acts by stimulating cleavage and RAG protein binding at the 23 bp spacer of conserved recombination signal sequences (RSS) (By similarity). Proposed to be involved in the innate immune response to nucleic acids by acting as a promiscuous immunogenic DNA/RNA sensor which cooperates with subsequent discriminative sensing by specific pattern recognition receptors (By similarity). In the extracellular compartment acts as a chemokine. Promotes proliferation and migration of endothelial cells implicating AGER/RAGE (PubMed:19811285). Has antimicrobial activity in gastrointestinal epithelial tissues (PubMed:23877675). Involved in inflammatory response to antigenic stimulus coupled with pro- inflammatory activity (By similarity). Involved in modulation of neurogenesis probably by regulation of neural stem proliferation (By similarity). Involved in articular cartilage surface maintenance implicating LEF1 and the Wnt/beta-catenin pathway (By similarity). {ECO:0000250|UniProtKB:P09429, ECO:0000250|UniProtKB:P30681, ECO:0000269|PubMed:11909973, ECO:0000269|PubMed:18413230, ECO:0000269|PubMed:19522541, ECO:0000269|PubMed:19811285, ECO:0000269|PubMed:19965638, ECO:0000269|PubMed:23877675, ECO:0000269|PubMed:7797075, ECO:0000305|PubMed:20123072}.