通达信顶栏增加年.月.日.时和星期的方法 通达信顶栏增加年.月.日.时和星期的方法; Build;12060209 其一 在空白处增加字符; %04d年%02d月%02d日 %02d:%02d:%02d 即; 006A42F0 2025 303464C4 AND BYTE PTR DS:[C4643430],AH 006A42F6 EA 25303264 D4C2 JMP FAR C2D4:64323025 006A42FD 25 303264C8 AND EAX,C8643230 006A4302 D5 20 AAD 20 006A4304 25 3032643A AND EAX,3A643230 006A4309 25 3032643A AND EAX,3A643230 006A430E 25 30326420 AND EAX,20643230 其二 原 005086D5 |. A1 7B157600 MOV EAX,DWORD PTR DS:[76157B] 005086DA |. 85C0 TEST EAX,EAX 005086DC 7E 78 JLE SHORT 00508756 005086DE |. 56 PU SH ESI 005086DF |. 6A 00 PU SH 0 ; /timer = NULL 005086E1 |. FF15 18626A00 CALL DWORD PTR DS:[<&MSVCRT.time>] ; \time 005086E7 |. 8BB7 56180000 MOV ESI,DWORD PTR DS:[EDI+1856] 005086ED |. 8B15 7B157600 MOV EDX,DWORD PTR DS:[76157B] 005086F3 |. 03F2 ADD ESI,EDX 005086F5 |. 83C4 04 ADD ESP,4 005086F8 |. 8D4C24 08 LEA ECX,DWORD PTR SS:[ESP+8] 005086FC |. 2BF0 SUB ESI,EAX 005086FE |. E8 AFFF1700 CALL <JMP.&MFC42.#540_??0CString@@QAE@XZ> 00508703 |. 8BC6 MOV EAX,ESI 00508705 |. B9 3C000000 MOV ECX,3C 0050870A |. 99 CDQ 0050870B |. F7F9 IDIV ECX 0050870D |. B8 89888888 MOV EAX,88888889 00508712 |. 8D4C24 08 LEA ECX,DWORD PTR SS:[ESP+8] 00508716 |. C64424 1C 06 MOV BYTE PTR SS:[ESP+1C],6 0050871B |. 52 PU SH EDX 0050871C |. F7EE IMUL ESI 0050871E |. 03D6 ADD EDX,ESI 00508720 |. C1FA 05 SAR EDX,5 00508723 |. 8BC2 MOV EAX,EDX 00508725 |. C1E8 1F SHR EAX,1F 00508728 |. 03D0 ADD EDX,EAX 0050872A |. 52 PU SH EDX 0050872B |. 68 60457000 PU SH 00704560 ; [可用时间:%d:%02d] 00508730 |. 51 PU SH ECX 00508731 |. E8 6AFF1700 CALL <JMP.&MFC42.#2818_?Format@CString@@> 00508736 |. 83C4 10 ADD ESP,10 00508739 |. 8D5424 08 LEA EDX,DWORD PTR SS:[ESP+8] 0050873D |. 8D4C24 0C LEA ECX,DWORD PTR SS:[ESP+C] 00508741 |. 52 PU SH EDX 00508742 |. E8 41FF1700 CALL <JMP.&MFC42.#939_??YCString@@QAEABV> 00508747 |. 8D4C24 08 LEA ECX,DWORD PTR SS:[ESP+8] 0050874B |. C64424 1C 00 MOV BYTE PTR SS:[ESP+1C],0 00508750 |. E8 21FF1700 CALL <JMP.&MFC42.#800_??1CString@@QAE@XZ> 0050AD82 . /0F8E B70B0000 JLE 0050B93F 改 005086D5 |. 90 NOP 005086D6 |. 56 PU SH ESI 005086D7 |. 8D4C24 14 LEA ECX,DWORD PTR SS:[ESP+14] 005086DB |. E8 D2FF1700 CALL <JMP.&MFC42.#540_??0CString@@QAE@XZ> 005086E0 |. 8D4424 08 LEA EAX,DWORD PTR SS:[ESP+8] 005086E4 |. 50 PU SH EAX 005086E5 |. E8 7E011800 CALL <[email=JMP.&MFC42.#3 |
