A thermodynamically consistent model of magneto-elastic materials under diffusion at large strains and its analysis