core: start to redesign disassembling API