* Name: Assembler/Disassembler
* Based from Olly Debugger of Oleh Yuschuk
* Converted as PureBasic Library by: JCV (+639185245027)
****************************************************
*** FUNCTIONS ***
Olly_Options(int isIdeal, int isLower, int DoTabs, int DispSeg)
Olly_Assemble(Char *cmd,ulong ip,t_asmmodel *model,int attempt, int onstsize,Char *errtext)
Olly_Disasm(char *src,ulong srcsize,ulong srcip, t_disasm *disasm,int disasmmode)
Long Olly_Disassembleback(Char *block,ulong base,ulong Size,ulong ip,int n)
Long Olly_Disassembleforward(Char *block,ulong base,ulong Size,ulong ip,int n)
I used this library since the last time I asked question here
You might need this in your tool. Ive been using this for months.

Download Link with example
http://purebasic.jcvsite.com/downloads/Disassembler.rar