BF: avbin.dll WindowsError exception

Found a runtime condition that was resulting in the WindowsException:
Invalid Memory Address Access.

This patch fixes it.