| Last change
 on this file since 4256 was             3186, checked in by sandervl, 26 years ago | 
        
          | 
EB: Added log statement to _eh_prolog
 | 
        
          | File size:
            746 bytes | 
      
      
| Line |  | 
|---|
| 1 | .386p | 
|---|
| 2 | .model flat | 
|---|
| 3 |  | 
|---|
| 4 | CONST32 segment dword use32 public 'CONST' | 
|---|
| 5 | align 04h | 
|---|
| 6 | label1  db "MSVCRT: EH_prolog",0ah, 0h | 
|---|
| 7 | CONST32 ends | 
|---|
| 8 |  | 
|---|
| 9 | .code | 
|---|
| 10 |  | 
|---|
| 11 | extrn   WriteLog:proc | 
|---|
| 12 | public  _MSVCRT__EH_prolog | 
|---|
| 13 |  | 
|---|
| 14 | align   4 | 
|---|
| 15 | _MSVCRT__EH_prolog: | 
|---|
| 16 | push        eax | 
|---|
| 17 | push        ecx | 
|---|
| 18 | push        edx | 
|---|
| 19 | pushfd | 
|---|
| 20 | push        offset FLAT:label1 | 
|---|
| 21 | call        WriteLog | 
|---|
| 22 | add         esp,04h | 
|---|
| 23 | popfd | 
|---|
| 24 | pop         edx | 
|---|
| 25 | pop         ecx | 
|---|
| 26 | pop         eax | 
|---|
| 27 |  | 
|---|
| 28 | push        0FFh | 
|---|
| 29 | push        eax | 
|---|
| 30 | mov         eax,fs:[00000000] | 
|---|
| 31 | push        eax | 
|---|
| 32 | mov         eax,dword ptr [esp+0Ch] | 
|---|
| 33 | mov         dword ptr fs:[0],esp | 
|---|
| 34 | mov         dword ptr [esp+0Ch],ebp | 
|---|
| 35 | lea         ebp,[esp+0Ch] | 
|---|
| 36 | push        eax | 
|---|
| 37 | ret | 
|---|
| 38 |  | 
|---|
| 39 | end | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.