[原创]对某款软件flash提取
前言略,直接分析
/**************FlashMainForm*********************/
public class FlashMainForm : Form
{
// Fields
private IContainer components = null;
private AxShockwaveFlash MyFlash;
private Timer timer1;
// Methods
public FlashMainForm()
{
this.InitializeComponent();
}
private string CalSource(string c, string p, string sp)
{
string str = @"myResources\flashs\";
if (c != "")
{
str = str + c + @"\";
}
if (p != "")
{
str = str + p + @"\";
}
if (sp != "")
{
str = str + sp + @"\";
}
return (str + "flash.ec");
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
flash.ec ????? 怎么会是ec 文件?E封装?winhex打开一看swf
WS
flash 文件标实不是:FWS + 版本 +文件大小
有点神奇的嘛。。加密了?DecodeDll。。恩?主程序上面有一个调用库
接着看。。。
private void MyFlash_FSCommand(object sender, _IShockwaveFlashEvents_FSCommandEvent e)
{
GlobalClass class2;
switch (e.command)
{
case "找影*":
GlobalClass.IsRuiGame = true;
new Resolution().ChangeRes(800, 600);
GlobalClass.FlashImageDirectory = Application.StartupPath + @"\Course\找影*\";
GlobalClass.FlashImagePath = GlobalClass.FlashImageDirectory + "0.jpg";
GlobalClass.FlashFieldPath = GlobalClass.FlashImageDirectory + "FIELD.EC";
GlobalClass.FlashGamePath = GlobalClass.FlashImageDirectory + "GAME.EC";
class2 = new GlobalClass();
if (!class2.IsAllReady())
{
MessageBox.Show("该课件缺少文件,请重新安装");
break;
}
new FlashForm().ShowDialog();
break;
case ......
public static extern int Counter(string y);
[DllImport("DecodeDll.dll", CallingConvention=CallingConvention.Cdecl)]
难道flash 要出来了?
private void button8_Click(object sender, EventArgs e)
{
new Resolution().ChangeRes(800, 600);
GlobalClass.FlashImageDirectory = Application.StartupPath + @"\Course\找影*\";
GlobalClass.FlashImagePath = GlobalClass.FlashImageDirectory + "0.jpg";
GlobalClass.FlashGamePath = GlobalClass.FlashImageDirectory + "Game.swf";
GlobalClass class2 = new GlobalClass();
if (class2.IsAllReady())
{
new BackGround().ShowDialog();
}
else
{
MessageBox.Show("该课件缺少文件,请重新安装");
}
}
继续。。。。
exe 加载。。哟哂。。winhex alt + f9
find = FWS (ASII)
别存。。嘎嘎。。出来
这个flash 让我好奇了,上传DLL 和一个游戏 有兴趣的可以继续分析。。。





