Plays a role in nucleocapsid assembly and serves an essential function during the final stages of the DNA packaging process. Participates in the processing of branched DNA molecules at the late stages of viral genome replication. Belongs to the 'phage' integrase family.