Solution:
-----------book page break-----------
Let us call the intersection point of the two diagonals $AC$ and $BD$ as $O$ and the intersection point of $EF$ and $BD$ as $P$.
We draw a line parallel to $AB$, passing through $O$, and meeting $AD$ and $BC$ at $M$ and $N$ respectively, as shown in the following diagram.
Let $\angle CAB = \theta$ as marked in the above diagram.
Considering $\triangle AEB$,
$\angle AEB = 90^\circ$, and $F$ is the midpoint of $AB$.
$EF$ is the median to the hypotenuse $AB$ of a right angled triangle $AEB$.
Therefore, $EF = \dfrac{1}{2}AB = FB$
Therefore, $EF = FA = FB$
Therefore, $\triangle FAE$ is isosceles, and $\angle AEF = \angle FAE = \theta$
$\therefore \angle EFB = 2\theta$ (sum of two opposite interior angles)
-----------book page break-----------
Since $ABCD$ is a rectangle, diagonals $AC$ and $BD$ are equal, and they bisect each other.
$\therefore OA = OB$, and $\triangle OAB$ is isosceles.
$\therefore \angle OAB = \angle OBA = \theta$
$\because \triangle FEB$ is isosceles with $FE = FB$,
$\angle FEB = \dfrac{180 - \angle EFB}{2} = \dfrac{180 - 2\theta}{2} = 90 - \theta$
Considering right angled triangle $ABC$,
$\angle ACB = 90 - \angle CAB = 90 - \theta$
Again considering right angled triangle $BEC$,
$\angle EBC = 90 - \angle ECB = 90 - \angle ACB = 90 - (90 - \theta) = \theta$
$\therefore \angle OBE = 90 - (\angle OBA + \angle EBC) = 90 - (\theta + \theta) = 90 - 2\theta$
Considering right angled triangle $PEB$,
$\angle PEB + \angle PBE = 90^\circ$
$\therefore (90 - \theta) + (90 - 2\theta) = 90^\circ$
$\Rightarrow 3\theta = 90^\circ$
$\Rightarrow \theta = 30^\circ$
$\therefore \angle BOC = \angle OAB + \angle OBA = 30^\circ + 30^\circ = 60^\circ$
Since $OC = OB$ (half of the diagonals)
$\therefore \triangle OBC$ is isosceles with $\angle OBC = \angle OCB$
$therefore \angle OCB = \angle OBC = \dfrac{180 - \angle BOC}{2} = \dfrac{180 - 60}{2} = 60^\circ$
Since all the angles of $\triangle OBC$ are $60^\circ$, it is an equilateral triangle with each side $= 8\sqrt{3}$
-----------book page break-----------
Since we have drawn $MN$ parallel to $O$, $ABMN$ is a rectangle, therefore $MN = AB$ and $MN \perp BC$
$ON$ is the altitude of $\triangle OBC$
Therefore, $ON = \dfrac{\sqrt{3}}{2} \times 8\sqrt{3} = 12$
Therefore, $AB = MN = 2ON = 2 \times 12 = 24$