A structural component of the cornified envelope of the stratum corneum involved in innate cutaneous host defense (Probable). Possesses defensin-like antimicrobial activity against a broad spectrum of Gram-positive and Gram-negative bacteria, both aerobic and anaerobic species. Upon inflammation, may regulate skin barrier repair by shaping cutaneous microbiota composition and immune response to bacterial antigens (PubMed:28634035). {ECO:0000269|PubMed:28634035, ECO:0000305|PubMed:28634035}. This is the function of LCE3C (late cornified envelope 3C, Ensembl gene identifier ENSG00000244057).