As discussed here:
I created a DLL (x86 and x64) to do a file compare like the FC.exe does (only binary comparison!) but filling up the memory which can be read out by Autoit.
UDF _WinAPI_FileCompare.au3:
;Version v0.70 build 2024-03-23 beta
#include-once
; #FUNCTION# ====================================================================================================================
; Name ..........: _WinAPI_FileCompareBinaryString
; Description ..