func Unpack(path string) (io.ReaderAt, error) {
if up, _ := DetectFormat(path); up != nil {
if _, err := up.Unpack(path); err == nil {
return Unpack(path)
}
return nil, err
}
return nil, nil
}
Always returns nil. This code is more of a placeholder or a “proof-of-concept” for a multi-packer detection architecture than a functional ASPack 2.12 unpacker. The detection logic relies on narrow offsets that might only work on one or two specific ASPack’d EXE samples. It doesn’t handle DLL differences or do any actual unpacking. Hence, it returns “No recognized packer” on your ASPack 2.12 DLL and would produce no real output even if it did detect it.
func Unpack(path string) (io.ReaderAt, error) {
if up, _ := DetectFormat(path); up != nil {
if _, err := up.Unpack(path); err == nil {
return Unpack(path)
}
return nil, err
}
return nil, nil
}
Always returns nil. This code is more of a placeholder or a “proof-of-concept” for a multi-packer detection architecture than a functional ASPack 2.12 unpacker. The detection logic relies on narrow offsets that might only work on one or two specific ASPack’d EXE samples. It doesn’t handle DLL differences or do any actual unpacking. Hence, it returns “No recognized packer” on your ASPack 2.12 DLL and would produce no real output even if it did detect it.