Binds to scaffold/matrix attachment region (S/MAR) DNA. Can function as an estrogen receptor corepressor and can also inhibit cell proliferation. This is the function of SAFB2 (scaffold attachment factor B2, ENSG00000130254).