Issue #265 deobfuscation problem

This commit is contained in:
Jindra Petk
2013-07-27 15:02:17 +02:00
parent 2474b6bd34
commit 5b53af3bcd

View File

@@ -1021,16 +1021,7 @@ public class SWFInputStream extends InputStream {
if ((a instanceof ActionStoreRegister) && stack.isEmpty()) {
stack.push(new DirectValueActionItem(null, 0, new Null(), new ArrayList<String>()));
}
List<Object> localData2 = (List<Object>) Helper.deepCopy(localData);
HashMap<String, GraphTargetItem> vars = (HashMap<String, GraphTargetItem>) localData.get(1);
if (a instanceof ActionDefineFunction || a instanceof ActionDefineFunction2) {
for (int r = 0; r < 256; r++) {
if (vars.containsKey("__register" + r)) {
vars.remove("__register" + r);
}
}
}
a.translate(localData2, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path);
a.translate(localData, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path);
}
}
} catch (RuntimeException ex) {