U.S. officials said they worked closely with authorities in the two countries and the maker of the affected computer systems , Microsoft , to locate the men .