Pattern checking and initial disassembler