// myexceptionhandle
00401000 60 pushad
00401001 E8 00000000 call 00401006
00401006 5B pop ebx
00401007 83EB 06 sub ebx, 6
0040100A 81C3 00080000 add ebx, 800
00401010 8BFB mov edi, ebx
00401012 8B7424 24 mov esi, dword ptr [esp+24] //pExceptionRecord
00401016 B9 06000000 mov ecx, 6
0040101B F3:A5 rep movs dword ptr es:[edi], dword ptr [esi]
0040101D 8BFB mov edi, ebx
0040101F 83C7 30 add edi, 30
00401022 8B7424 2C mov esi, dword ptr [esp+2C] //pContextRecord
00401026 B9 18000000 mov ecx, 18
0040102B F3:A5 rep movs dword ptr es:[edi], dword ptr [esi]
0040102D 8B83 90000000 mov eax, dword ptr [ebx+90]
00401033 8D8B A0000000 lea ecx, dword ptr [ebx+A0]
00401039 C1E0 02 shl eax, 2
0040103C 03C8 add ecx, eax
0040103E 8B7424 24 mov esi, dword ptr [esp+24]
00401042 8B46 0C mov eax, dword ptr [esi+C]
00401045 8901 mov dword ptr [ecx], eax
00401047 FF83 90000000 inc dword ptr [ebx+90]
0040104D 8D7B 30 lea edi, dword ptr [ebx+30]
00401050 8B83 E8070000 mov eax, dword ptr [ebx+7E8] //这里考虑可以在hook setthreadcontext中赋值[/color]
[color=black]
015A0056 8947 04 mov dword ptr [edi+4], eax
015A0059 8B83 EC070000 mov eax, dword ptr [ebx+7EC]
015A005F 8947 08 mov dword ptr [edi+8], eax
015A0062 8B83 F0070000 mov eax, dword ptr [ebx+7F0]
015A0068 8947 0C mov dword ptr [edi+C], eax
015A006B 8B83 F4070000 mov eax, dword ptr [ebx+7F4]
015A0071 8947 10 mov dword ptr [edi+10], eax
015A0074 8B83 F8070000 mov eax, dword ptr [ebx+7F8]
015A007A 8947 18 mov dword ptr [edi+18], eax
015A007D 8B4424 30 mov eax, dword ptr [esp+30]
015A0081 8B4C24 28 mov ecx, dword ptr [esp+28]
015A0085 8D7B 30 lea edi, dword ptr [ebx+30]
015A0088 50 push eax
015A0089 57 push edi
015A008A 51 push ecx
015A008B 53 push ebx
015A008C 8B8B FC070000 mov ecx, dword ptr [ebx+7FC]
015A0092 33C0 xor eax, eax
015A0094 33DB xor ebx, ebx
015A0096 33FF xor edi, edi
015A0098 33F6 xor esi, esi
015A009A FFD1 call ecx
015A009C 61 popad
015A009D C3 retn