Created
May 3, 2022 00:24
-
-
Save anzz1/305fb0c502b5820f1ef7864ecf1665cd to your computer and use it in GitHub Desktop.
Visual Studio 6.0 Crash Fix (Buffer Overflow)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Microsoft Visual Studio 6.0 | |
// Crash Fix (Buffer Overflow) | |
// | |
// Module: Resource Editor | |
// DEVRES.PKG v6.0.8168.0 - 17.6.1998 0:00 | |
// | |
// Original SHA1 : 59afd55f13310dcdbfff777fe6f4c7d0a8191a82 | |
// Fixed SHA1 : 00bb8497adca2467eaba022a34bf4fdafd3d7c6c | |
// | |
-------- | |
0x00004518 / 0x50403518: | |
FF 25 74 1A 40 50 ; jmp ds:__imp_??2@YAPAXI@Z ; operator new(uint) | |
-> | |
E9 8F 0F 10 00 90 ; jmp 0001054AC ; nop | |
-------- | |
0x001054AC / 0x505044AC: | |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
-> | |
55 89 E5 8B 45 08 B9 02 00 00 00 F7 E1 50 FF 15 74 1A 40 50 59 89 EC 5D C3 | |
55 push ebp | |
89 E5 mov ebp,esp | |
8B 45 08 mov eax,DWORD PTR [ebp+0x8] | |
B9 02 00 00 00 mov ecx,0x2 | |
F7 E1 mul ecx | |
50 push eax | |
FF 15 74 1A 40 50 call DWORD PTR ds:0x50401a74 | |
59 pop ecx | |
89 EC mov esp,ebp | |
5D pop ebp | |
C3 ret | |
-------- | |
0x000001E8: | |
AC 34 10 00 | |
-> | |
DC 34 10 00 ; increase .text section virtual size by 30 bytes | |
-------- | |
0x00000140: | |
29 8D 19 00 | |
-> | |
77 FD 17 00 ; fix PE checksum | |
-------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment