• Sorry guys, I fucked up in the stupidest way possible. Any avatars, attachments or media uploaded in the past month may be broken. The bulk of those are attachments.

    Affected posts are by Brite / Dr. Minty Fresh / HeCooksPattiesAndSellsThe / Catalystl / ilikebreadtoomuch / Draco / minecraftstorymodefan / Extra Life / darkruler9229

    Affected posts are in threads Quick Modding/Hacking Answers Thread / CS ~ Encore / game opens in 1080, occupies only the top left corner / Friday Night Funkin' / Bluebot Requisition - DEMO / Show us your desktop / Cave Story Season 2 / gacha cave story pics / Cave Story with XBRZ filter / Project Ampersand

    -Andwhy

Assembly Hacking: copy to executable error

Dec 2, 2015 at 9:44 AM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 22
So i'm new to assembly hacking cave story and I was following carrotlord's beginners guide.

I got to the part where you change the fireball code from -5FF to -2000 and then copying to executable.

Every time I try to save it after copying it gives me this message:
OllyDbg will terminate due to exception c0000096 at address 6D20D4E3

I tried to change some other codes but those gave me the exact same message, I am using a fresh copy of CS.

It also gave me this error log:

OLLYDBG EXCEPTION PROTOCOL

This file is created by OllyDbg due to unrecoverable error. It
contains data necessary to locate and remove this and previous
errors. Please describe circumstances that preceded exception:

>
>
>
>

and email protocol to:

Ollydbg@t-online.de

Feel free to remove any private data. Thank you for your help!

Operating system: 6.2.9200, platform 2 ()
OllyDbg version: 2.01.00
Exception code: C0000096
Exception address: 6D20D4E3
Executable module: C:\Windows\system32\DUI70.dll

EAX=00000064 EBX=76EDC242 ECX=924B6183 EDX=00000000
ESP=001820B0 EBP=001820C0 ESI=058834F0 EDI=058834FC
EIP=6D20D4E3 EFL=00210206

Code dump:
6D20D4A3 46 E6 DE 2D 9E 5B 0E B2 07 97 E6 97 0E 6E 0D D9
6D20D4B3 DA B4 0D DF 56 B4 ED F5 F6 45 DB 2F 97 CD 28 DB
6D20D4C3 BB 83 B6 43 B9 A3 BF 3C B8 BC 65 A7 C9 CE CD 3B
6D20D4D3 3F 54 A4 54 F4 54 FA 54 36 EE D2 DD B5 61 D7 F8
6D20D4E3> 6E D1 EE 1B 7B BC F6 34 EC D5 DB 5B BC F7 FD 3E
6D20D4F3 C9 BE DB 55 01 55 4D D5 66 D5 65 FB 49 FB B3 F7
6D20D503 3F AE 89 AA E9 F8 96 FB 6D 5D AD 4E 6D 71 ED C7
6D20D513 03 D2 03 FD 07 23 0E B6 D7 B9 F0 32 1D D2 3D 54
6D20D523 52 AB 33 2B EB 47 0E C7 1F BE FE 9D EF 77 2D 0D
6D20D533 36 0D 55 8D 9C C6 E2 23 70 44 79 E4 E9 F7 09 DF

Stack dump:
001820B0 6D24BED4 00000032 001820E8 058834F0 Ô¾$m2...è ..ð4ˆ.
001820C0 001820D8 6D275A7E 00000032 00000000 Ø ..~Z'm2.......
001820D0 05883520 00000000 001820EC 6D234D66 5ˆ.....ì ..fM#m
001820E0 00000032 74B95338 00000000 00182108 2...8S¹t.....!..
001820F0 6D234CF8 00000000 00000001 6D234BD4 øL#m........ÔK#m
00182100 7749627F 6D2F93F8 00182120 6D28087B bIwø“/m !..{.(m
00182110 00000001 00000000 058B2C18 00000000 .........,‹.....
00182120 00182244 6D3E5BC8 6D2F93F8 6D3B0000 D"..È[>mø“/m..;m
00182130 00000001 00000001 00000001 058B2C18 .............,‹.
00182140 0C970BC0 0C9706E0 000706DC 058DF2E0 À.—.à.—.Ü...àò.
00182150 00000000 00000020 058B2C18 00850000 .... ....,‹...….
00182160 00000008 00005EA5 1D020055 000207C8 ....¥^..U...È...
00182170 00000000 00000000 00000028 9253A103 ........(....¡S’
00182180 001821D0 76EDDAA3 00850000 00140008 Ð!..£Úív..….....
00182190 76EDDAB4 93F72022 058F7DFC 00000000 ´Úív" ÷“ü}.....
001821A0 058F7E08 76EDD41C 058F7DFC 00000000 .~..Ôívü}.....
001821B0 058DF2F8 001821CC 74D2C829 058F7CD8 øò.Ì!..)ÈÒtØ|.
001821C0 001821D4 76BC4595 058DF2E4 058F7DFC Ô!..•E¼väò.ü}.
001821D0 00000000 001821F0 74D86D92 74EA5977 ....ð!..’mØtwYêt
001821E0 058F7D5C 00000000 74EA5977 058F7D5C \}.....wYêt\}.
001821F0 00000000 00000000 00182228 76DF18B3 ........("..³.ßv
00182200 058F7CE0 0C970710 058DF2E0 76DF18C2 à|...—.àò.Â.ßv
00182210 058DF2E0 76BC4500 058DF2F8 058F7D20 àò..E¼vøò. }.
00182220 058F7DFC 93E20F9F 00182254 74EA5977 ü}.Ÿ.â“T"..wYêt
00182230 058F7D5C 058DF2E0 0C970710 00182254 \}.àò...—.T"..
00182240 34538F85 00182254 6D3E5AB7 058DEA48 …S4T"..·Z>mHê.
00182250 0C970BC0 00182270 76BC6B66 058B2C18 À.—.p"..fk¼v.,‹.
00182260 00000001 0C9706E0 058B2C70 93C36B10 ....à.—.p,‹..kÓ
00182270 001829B8 76BC66F5 00000000 0C9706E0 ¸)..õf¼v....à.—.
00182280 000706DC 00000000 00000000 00182308 Ü............#..
00182290 058F5D80 9253A2B7 0586CAA0 00182308 €].·¢S’ ʆ..#..
001822A0 00000000 00000000 00000289 000001EA ........‰...ê...

Stack walk:
001820C0 001820D8 6D275A7E 00000032 00000000 05883520 00000000
001820EC 6D234D66 00000032 74B95338 00000000 00182108
(C:\Windows\system32\DUI70.dll)
001820D8 001820EC 6D234D66 00000032 74B95338 00000000 00182108
6D234CF8 00000000 00000001 6D234BD4 7749627F 6D2F93F8
(C:\Windows\system32\DUI70.dll)
001820EC 00182108 6D234CF8 00000000 00000001 6D234BD4 7749627F
6D2F93F8 00182120 6D28087B 00000001 00000000 058B2C18
(C:\Windows\system32\DUI70.dll)
00182108 00182120 6D28087B 00000001 00000000 058B2C18 00000000
00182244 6D3E5BC8 6D2F93F8 6D3B0000 00000001 00000001
(C:\Windows\system32\DUI70.dll)
00182120 00182244 6D3E5BC8 6D2F93F8 6D3B0000 00000001 00000001
00000001 058B2C18 0C970BC0 0C9706E0 000706DC 058DF2E0
(C:\Windows\system32\explorerframe.dll)
00182244 00182254 6D3E5AB7 058DEA48 0C970BC0 00182270 76BC6B66
058B2C18 00000001 0C9706E0 058B2C70 93C36B10 001829B8
(C:\Windows\system32\explorerframe.dll)
00182254 00182270 76BC6B66 058B2C18 00000001 0C9706E0 058B2C70
93C36B10 001829B8 76BC66F5 00000000 0C9706E0 000706DC
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00182270 001829B8 76BC66F5 00000000 0C9706E0 000706DC 00000000
00000000 00182308 058F5D80 9253A2B7 0586CAA0 00182308
(C:\Windows\SYSTEM32\COMDLG32.DLL)
001829B8 00182DD4 76BC641E 00000001 00000001 00000000 0C9706E0
FF793417 FA714223 000706AA 76AA7AB3 00000000 00000000
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00182DD4 00182E00 76AA78E8 000706DC 00000110 000706AA 0C9706E0
00000001 DCBAABCD 00000000 00000001 00000001 00182E7C
(C:\Windows\SYSTEM32\USER32.DLL)
00182E00 00182E7C 76AB8C11 76BC28E9 000706DC 00000110 000706AA
0C9706E0 93B030AC 00000110 00000000 00E7D7F0 00000024
(C:\Windows\SYSTEM32\USER32.DLL)
00182E7C 00182ED8 76AB87E9 00000001 76BC28E9 000706DC 00000110
000706AA 0C9706E0 00182EB0 0C9706E0 00000110 000706AA
(C:\Windows\SYSTEM32\USER32.DLL)
00182ED8 00182EF8 76AB8A09 00E7D7F0 00000000 00000110 000706AA
0C9706E0 00000000 00182F24 76AA78E8 000706DC 00000110
(C:\Windows\SYSTEM32\USER32.DLL)
00182EF8 00182F24 76AA78E8 000706DC 00000110 000706AA 0C9706E0
00000110 DCBAABCD 000706AA 0C9706E0 00000110 00182FA0
(C:\Windows\SYSTEM32\USER32.DLL)
00182F24 00182FA0 76AA7A4C 7746F6E6 000706DC 00000110 000706AA
0C9706E0 93B03170 00000000 058EBDDC 40000000 00182F08
(C:\Windows\SYSTEM32\USER32.DLL)
00182FA0 00183004 76AA7BAD 7746F6E6 7746F6E6 00000000 000706DC
00000110 000706AA 0C9706E0 00000001 93B02ED4 00000110
(C:\Windows\SYSTEM32\USER32.DLL)
00183004 00183040 76AA7D0F 00E7D7F0 00000000 00000110 000706AA
0C9706E0 7746F6E6 000706AA 00000000 00000000 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
00183040 001830D8 77482A82 00183058 00000000 0018D2E0 774829E0
00E7D7F0 00000000 00000110 000706AA 0C9706E0 7746F6E6
(C:\Windows\SYSTEM32\ntdll.dll)
001830D8 001831DC 76AB954E 00E7D7F0 00000000 00000110 000706AA
0C9706E0 00000000 00000001 000A0566 00000000 0018316C
(C:\Windows\SYSTEM32\USER32.DLL)
001831DC 0018321C 76ABAE80 76BC0000 12715A30 00000000 000A0566
76BC28E9 0C9706E0 00000001 12715A30 12715A30 000A0566
(C:\Windows\SYSTEM32\USER32.DLL)
0018321C 0018323C 76ABAF03 76BC0000 12715A30 76BC28E9 0C9706E0
00000001 0C9706E4 0018325C 76ABAF41 76BC0000 12715A30
(C:\Windows\SYSTEM32\USER32.DLL)
0018323C 0018325C 76ABAF41 76BC0000 12715A30 000A0566 76BC28E9
0C9706E0 00000000 001834D8 76BC33C3 76BC0000 12715A30
(C:\Windows\SYSTEM32\USER32.DLL)
0018325C 001834D8 76BC33C3 76BC0000 12715A30 000A0566 76BC28E9
0C9706E0 0C9706E4 00000000 058F0728 00000008 00000600
(C:\Windows\SYSTEM32\COMDLG32.DLL)
001834D8 00183504 76BDE838 0C9706E4 000A0566 00000000 00000000
00000001 001835A0 0018462C 00000000 058F0728 00183528
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00183504 00183528 76BDE731 000A0566 00183544 00000000 00000611
0018462C 00000000 0C9706E4 00183568 76BDE694 00000611
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00183528 00183568 76BDE694 00000611 000A0566 001835A0 76BF2F96
0018462C 001835A0 00000001 00000001 80004005 00000611
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00183568 00183588 76BDE568 00000004 0018462C 000000E6 001845A0
00000000 00184614 00184614 76BDE481 001835A0 76BF2F96
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00183588 00184614 76BDE481 001835A0 76BF2F96 004F632A 00183568
00000001 0018462C 00000000 00000000 00000000 00000000
(C:\Windows\SYSTEM32\COMDLG32.DLL)
00184614 0018BCA8 004065C7 0018462C 00553790 08000000 078813B8
0000004C 000A0566 00400000 00186684 00000000 00000000
(E:\odbg200\odbg201\ollydbg.exe)
0018BCA8 0018CF18 004BDAEF 00554BE8 0018C6F0 00000000 00000000
004F6F8A 000A0566 08000000 000C0110 000C0000 078813B8
(E:\odbg200\odbg201\ollydbg.exe)
0018CF18 0018CF94 004BEB13 078813B8 00000001 00000010 000706A4
078813D0 00000000 00000001 00000006 00000001 0018D04C
(E:\odbg200\odbg201\ollydbg.exe)
0018CF94 0018D248 00421DBE 078813D0 000706A4 00000010 00000000
00000000 00000000 00000010 00000000 0089275A 0089275A
(E:\odbg200\odbg201\ollydbg.exe)
0018D248 0018D274 76AA78E8 000706A4 00000010 00000000 00000000
00000010 DCBAABCD 00000000 00000000 00000010 0018D2F0
(C:\Windows\SYSTEM32\USER32.DLL)
0018D274 0018D2F0 76AA7A4C 00421BA8 000706A4 00000010 00000000
00000000 93B0CC20 80000000 00000000 40000000 766626CB
(C:\Windows\SYSTEM32\USER32.DLL)
0018D2F0 0018D354 76AA7BAD 00421BA8 00421BA8 00000000 000706A4
00000010 00000000 00000000 00000001 93B0CD84 00E304D0
(C:\Windows\SYSTEM32\USER32.DLL)
0018D354 0018D390 76AA7D0F 00E304D0 00000000 00000010 00000000
00000000 00421BA8 00000112 00000000 00000000 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
0018D390 0018D460 77482A82 0018D3A8 00000000 0018D550 774829E0
00E304D0 00000000 00000010 00000000 00000000 00421BA8
(C:\Windows\SYSTEM32\ntdll.dll)
0018D460 0018D480 76AA99ED 00E304D0 00000000 00000112 0000F060
00000000 00000000 0018D4A0 73C72957 000706A4 00000112
(C:\Windows\SYSTEM32\USER32.DLL)
0018D480 0018D4A0 73C72957 000706A4 00000112 0000F060 00000000
73C7B72F 0018D4BC 0018D4FC 73C716B9 0225D708 0018D4BC
(C:\Windows\system32\uxtheme.dll)
0018D4A0 0018D4FC 73C716B9 0225D708 0018D4BC 00000001 00E13230
00000000 000706A4 00000112 0000F060 00000000 00000004
(C:\Windows\system32\uxtheme.dll)
0018D4FC 0018D518 73C717AF 000706A4 00000112 0000F060 00000000
00000001 0018D560 76AA75E7 000706A4 00000112 0000F060
(C:\Windows\system32\uxtheme.dll)
0018D518 0018D560 76AA75E7 000706A4 00000112 0000F060 00000000
93B0CBB0 00E304D0 00E13230 00000000 00000001 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
0018D560 0018D578 76AAB5BD 000706A4 00000112 0000F060 00000000
0018D5B4 76AC3352 00E304D0 00000000 00000112 0000F060
(C:\Windows\SYSTEM32\USER32.DLL)
0018D578 0018D5B4 76AC3352 00E304D0 00000000 00000112 0000F060
00000000 00000000 00000112 000706A4 078813D0 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
0018D5B4 0018D5D0 76AC3654 000706A4 00000112 0000F060 00000000
00000000 0018D880 00422265 000706A4 00000112 0000F060
(C:\Windows\SYSTEM32\USER32.DLL)
0018D5D0 0018D880 00422265 000706A4 00000112 0000F060 00000000
00000000 00000112 0000F060 0000F095 00220553 0018D654
(E:\odbg200\odbg201\ollydbg.exe)
0018D880 0018D8AC 76AA78E8 000706A4 00000112 0000F060 00000000
00000112 DCBAABCD 0000F060 00000000 00000112 0018D928
(C:\Windows\SYSTEM32\USER32.DLL)
0018D8AC 0018D928 76AA97BC 00421BA8 000706A4 00000112 0000F060
00000000 93B0C7F8 00000000 00000000 00000000 0000029E
(C:\Windows\SYSTEM32\USER32.DLL)
0018D928 0018D98C 76AA7BAD 00421BA8 00421BA8 00000000 000706A4
00000112 0000F060 00000000 00000001 93B0C75C 00000112
(C:\Windows\SYSTEM32\USER32.DLL)
0018D98C 0018D9C8 76AA7D0F 00E304D0 00000000 00000112 0000F060
00000000 00421BA8 0000F060 00000000 00000000 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
0018D9C8 0018DA60 77482A82 0018D9E0 00000000 0018EF48 774829E0
00E304D0 00000000 00000112 0000F060 00000000 00421BA8
(C:\Windows\SYSTEM32\ntdll.dll)
0018DA60 0018DA88 76AAED13 00E304D0 00000000 00000112 0000F060
00000000 00000000 00000000 C3020000 0018DB14 76AD822E
(C:\Windows\SYSTEM32\USER32.DLL)
0018DA88 0018DB14 76AD822E 000706A4 00000112 0000F060 00000000
00000000 00000000 00000111 00E7B7C0 00000000 000706A4
(C:\Windows\SYSTEM32\USER32.DLL)
0018DB14 0018DB2C 76AC2F55 000A0566 00000111 00000000 00000000
0018EEB0 0040B941 000A0566 000E0714 00000111 0000F060
(C:\Windows\SYSTEM32\USER32.DLL)
0018DB2C 0018EEB0 0040B941 000A0566 000E0714 00000111 0000F060
00000000 00000000 00000111 0000F060 0000000F 00000000
(E:\odbg200\odbg201\ollydbg.exe)
0018EEB0 0018EEDC 76AA78E8 000A0566 00000111 0000F060 00000000
00000111 DCBAABCD 0000F060 00000000 00000111 0018EF58
(C:\Windows\SYSTEM32\USER32.DLL)
0018EEDC 0018EF58 76AA7A4C 0040A1B0 000A0566 00000111 0000F060
00000000 93B0F188 00000111 0040A1B0 00000000 000A0566
(C:\Windows\SYSTEM32\USER32.DLL)
0018EF58 0018EF90 76AADE1A 0040A1B0 0040A1B0 00000000 000A0566
00000111 0000F060 00000000 00000000 0018F0DC E510BC95
(C:\Windows\SYSTEM32\USER32.DLL)
0018EF90 0018EFAC 76AADE42 000A0566 0000F060 00000000 00000000
00000001 0018EFC8 73F3B7FB 0040A1B0 000A0566 00000111
(C:\Windows\SYSTEM32\USER32.DLL)
0018EFAC 0018EFC8 73F3B7FB 0040A1B0 000A0566 00000111 0000F060
00000000 0018F020 73F3B900 000A0566 00000111 0000F060
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018EFC8 0018F020 73F3B900 000A0566 00000111 0000F060 00000000
00000000 0040A1B0 96FBF58D 00000000 0089BC18 000506B6
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018F020 0018F040 73F3B85B 000A0566 00000111 0000F060 00000000
00000111 00000001 0018F05C 73F705DF 000A0566 00000111
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018F040 0018F05C 73F705DF 000A0566 00000111 0000F060 00000000
0018F0DC 0018F0B4 73F3B900 000A0566 00000111 0000F060
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018F05C 0018F0B4 73F3B900 000A0566 00000111 0000F060 00000000
000506B6 00000019 96FBF519 000A0566 00000111 00000000
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018F0B4 0018F10C 73F3B768 000A0566 00000111 0000F060 00000000
96FBF4A1 00000000 00000111 0000F060 00000000 00000000
(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\COMCTL32.DLL)
0018F10C 0018F138 76AA78E8 000A0566 00000111 0000F060 00000000
00000111 DCBAABCD 0000F060 00000000 00000111 0018F1B4
(C:\Windows\SYSTEM32\USER32.DLL)
0018F138 0018F1B4 76AA7A4C 73F3B6F9 000A0566 00000111 0000F060
00000000 93B0EF64 00E7B7C0 0018F2A0 0018F298 00000000
(C:\Windows\SYSTEM32\USER32.DLL)
0018F1B4 0018F228 76AA8D3C 73F3B6F9 73F3B6F9 00000000 000A0566
00000111 0000F060 00000000 00000001 93B0ECF8 0057486B
(C:\Windows\SYSTEM32\USER32.DLL)
0018F228 0018F238 76AA9323 00000000 00000111 0018FF4C 0041058D
0018F298 00000000 004F6198 00853271 00000020 00000043
(C:\Windows\SYSTEM32\USER32.DLL)
0018F238 0018FF4C 0041058D 0018F298 00000000 004F6198 00853271
00000020 00000043 F4546000 4FA10000 FFFFFFFF C90CC000
(E:\odbg200\odbg201\ollydbg.exe)
0018FF4C 0018FF7C 004F1067 00400000 00000000 00853271 00000001
00000000 00000000 7FFDE000 00000000 0018FFC4 004E87C0
(E:\odbg200\odbg201\ollydbg.exe)
0018FF7C 0018FF90 00000000 004F6198 74B986E3 7FFDE000 0018FFD4
7749BD79 7FFDE000 92537F57 00000000 00000000 7FFDE000
0018FF90 0018FFD4 7749BD79 7FFDE000 92537F57 00000000 00000000
7FFDE000 BEECAEFF FFFFF801 17064650 FFFFF880 0018FF9C
(C:\Windows\SYSTEM32\ntdll.dll)
0018FFD4 0018FFEC 7749BD4C 00401000 7FFDE000 FFFFFFFF 775121AF
00000000 00000000 00401000 7FFDE000 00000000 78746341
(C:\Windows\SYSTEM32\ntdll.dll)
[Settings]
Check DLL versions=0

This is my first time doing this sort of thing and I don't really know what the problem is.
If anyone can help me with my issue that would be much appreciated.
 
Last edited by a moderator:
Dec 2, 2015 at 10:35 AM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 22, 2015
Location:
Posts: 249
Sounds like an issue with OllyDbg. Did you report it?
 
Dec 2, 2015 at 11:02 AM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 765
Age: 23
It sounds like a good idea to send the error to the e-mail in the error message(dunno wether they are still active or not, but whatever).
While waiting, try copying a unhacked version of Cave Story and try to do the same steps that included OllyDbg.
 
Top