Thanks guys. I solved it by doing a while loop. Sorry for the vagueness of the post. my solution probably isnt the best but it seems to work.
$try = Binary("0xFEDCBA9876543210")
$p =1
$Startloop = StringCompare($try,BinaryMid($fileHex,$p,8))
While $Startloop <> 0
$p = $p+1
$Startloop = StringCompare($try,BinaryMid($fileDataBin,$p,8))
If $p > 1000 Then ExitLoop
WEnd