Search the forum for "reverse package profile engineer" or ""reverse package profiling", I think I did a tutorial on it a while back.