2007 AIME II Problem 3

Square A B C D has side length 13 , and points E and F are exterior to the square such that B E=D F=5 and A E=C F=12. Find E F^{2}.