diff --git a/de4dot.code/FilesDeobfuscator.cs b/de4dot.code/FilesDeobfuscator.cs index d6a5563e..56ec0af1 100644 --- a/de4dot.code/FilesDeobfuscator.cs +++ b/de4dot.code/FilesDeobfuscator.cs @@ -172,6 +172,10 @@ namespace de4dot { catch (BadImageFormatException) { return false; // Not a .NET file } + catch (ArgumentOutOfRangeException) { + Log.w("Could not load file (argument out of range): {0}", file.Filename); + return false; + } catch (UnauthorizedAccessException) { Log.w("Could not load file (not authorized): {0}", file.Filename); return false;