📄 tstril.asm
字号:
; 89 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
add r3, sp, #0
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0x74] ; pc+8+116 = 00000338
ldr r0, [r0]
bl SendMessageW ; 000002CC
; 90 : wsprintf(szString, L" DCS dwIndication: 0x%0x, %d", prmDCS->dwIndication, prmDCS->dwIndication);
ldr lr, [sp, #0x208] ; 0x208 = 520
ldr r3, [lr, #0x18] ; 0x18 = 24
ldr r2, [sp, #0x208] ; 0x208 = 520
ldr r2, [r2, #0x18] ; 0x18 = 24
ldr r1, [pc, #0x60] ; pc+8+96 = 00000340
add r0, sp, #0
bl wsprintfW ; 000002E8
; 91 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
add r3, sp, #0
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0x40] ; pc+8+64 = 00000338
ldr r0, [r0]
bl SendMessageW ; 00000300
; 92 : wsprintf(szString, L" DCS dwLanguage: 0x%0x, %d", prmDCS->dwLanguage, prmDCS->dwLanguage);
ldr lr, [sp, #0x208] ; 0x208 = 520
ldr r3, [lr, #0x1C] ; 0x1C = 28
ldr r2, [sp, #0x208] ; 0x208 = 520
ldr r2, [r2, #0x1C] ; 0x1C = 28
ldr r1, [pc, #0x28] ; pc+8+40 = 0000033C
add r0, sp, #0
bl wsprintfW ; 0000031C
; 93 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
add r3, sp, #0
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0xC] ; pc+8+12 = 00000338
ldr r0, [r0]
bl SendMessageW ; 00000334
; 94 : }
add sp, sp, #2, 24 ; 0x200 = 512
ldmia sp, {sp, pc} ; ldmfd
|$L27506|
DCD |?g_hwndEdit@@3PAUHWND__@@A|
DCD |$SG27250|
DCD |$SG27248|
DCD |$SG27246|
DCD |$SG27244|
DCD |$SG27242|
DCD |$SG27240|
DCD |$SG27238|
DCD |$SG27236|
|$M27504|
ENDP ; |?DisplayDCS@@YAXPAURILMSGDCS@@@Z|, DisplayDCS
EXPORT |?DisplayMessage@@YAXPAURILMESSAGE@@@Z| ; DisplayMessage
AREA |.pdata|, PDATA
|$T27510| DCD |?DisplayMessage@@YAXPAURILMESSAGE@@@Z|
DCD 0x40019f05
AREA |.data|, DATA
|$SG27258| DCB " ", 0x0, " ", 0x0, "c", 0x0, "b", 0x0, "S", 0x0, "i", 0x0
DCB "z", 0x0, "e", 0x0, ":", 0x0, " ", 0x0, "0", 0x0, "x", 0x0
DCB "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27260| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "P", 0x0, "a", 0x0
DCB "r", 0x0, "a", 0x0, "m", 0x0, "s", 0x0, ":", 0x0, " ", 0x0
DCB "0", 0x0, "x", 0x0, "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0
DCB " ", 0x0, "%", 0x0, "d", 0x0, 0x0, 0x0
|$SG27262| DCB " ", 0x0, " ", 0x0, "S", 0x0, "e", 0x0, "r", 0x0, "v", 0x0
DCB "i", 0x0, "c", 0x0, "e", 0x0, " ", 0x0, "C", 0x0, "e", 0x0
DCB "n", 0x0, "t", 0x0, "r", 0x0, "e", 0x0, ":", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, 0x0, 0x0
% 2
|$SG27264| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "T", 0x0, "y", 0x0
DCB "p", 0x0, "e", 0x0, ":", 0x0, " ", 0x0, "0", 0x0, "x", 0x0
DCB "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27266| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "F", 0x0, "l", 0x0
DCB "a", 0x0, "g", 0x0, "s", 0x0, ":", 0x0, " ", 0x0, "0", 0x0
DCB "x", 0x0, "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0, " ", 0x0
DCB "%", 0x0, "d", 0x0, 0x0, 0x0
% 2
|$SG27273| DCB " ", 0x0, " ", 0x0, "F", 0x0, "r", 0x0, "o", 0x0, "m", 0x0
DCB ":", 0x0, " ", 0x0, "%", 0x0, "s", 0x0, 0x0, 0x0
% 2
|$SG27275| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "P", 0x0, "r", 0x0
DCB "o", 0x0, "t", 0x0, "o", 0x0, "c", 0x0, "o", 0x0, "l", 0x0
DCB "I", 0x0, "D", 0x0, ":", 0x0, " ", 0x0, "0", 0x0, "x", 0x0
DCB "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27278| DCB " ", 0x0, " ", 0x0, "R", 0x0, "e", 0x0, "c", 0x0, "e", 0x0
DCB "i", 0x0, "v", 0x0, "e", 0x0, "d", 0x0, ":", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, " ", 0x0, "o", 0x0, "n", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, 0x0, 0x0
% 2
|$SG27280| DCB " ", 0x0, " ", 0x0, "H", 0x0, "e", 0x0, "a", 0x0, "d", 0x0
DCB "e", 0x0, "r", 0x0, " ", 0x0, "L", 0x0, "e", 0x0, "n", 0x0
DCB "g", 0x0, "t", 0x0, "h", 0x0, ":", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27282| DCB " ", 0x0, " ", 0x0, "B", 0x0, "o", 0x0, "d", 0x0, "y", 0x0
DCB " ", 0x0, "L", 0x0, "e", 0x0, "n", 0x0, "g", 0x0, "t", 0x0
DCB "h", 0x0, ":", 0x0, " ", 0x0, "%", 0x0, "d", 0x0, 0x0, 0x0
|$SG27285| DCB " ", 0x0, " ", 0x0, "M", 0x0, "e", 0x0, "s", 0x0, "s", 0x0
DCB "a", 0x0, "g", 0x0, "e", 0x0, ":", 0x0, " ", 0x0, "%", 0x0
DCB "s", 0x0, 0x0, 0x0
|$SG27288| DCB " ", 0x0, " ", 0x0, "T", 0x0, "a", 0x0, "r", 0x0, "g", 0x0
DCB "e", 0x0, "t", 0x0, " ", 0x0, "a", 0x0, "d", 0x0, "d", 0x0
DCB "r", 0x0, "e", 0x0, "s", 0x0, "s", 0x0, ":", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, 0x0, 0x0
% 2
|$SG27291| DCB " ", 0x0, " ", 0x0, "R", 0x0, "e", 0x0, "c", 0x0, "e", 0x0
DCB "i", 0x0, "v", 0x0, "e", 0x0, " ", 0x0, "T", 0x0, "i", 0x0
DCB "m", 0x0, "e", 0x0, ":", 0x0, " ", 0x0, "%", 0x0, "s", 0x0
DCB " ", 0x0, "o", 0x0, "n", 0x0, " ", 0x0, "%", 0x0, "s", 0x0
DCB 0x0, 0x0
% 2
|$SG27294| DCB " ", 0x0, " ", 0x0, "D", 0x0, "i", 0x0, "s", 0x0, "c", 0x0
DCB "h", 0x0, "a", 0x0, "r", 0x0, "g", 0x0, "e", 0x0, " ", 0x0
DCB "T", 0x0, "i", 0x0, "m", 0x0, "e", 0x0, ":", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, " ", 0x0, "o", 0x0, "n", 0x0, " ", 0x0
DCB "%", 0x0, "s", 0x0, 0x0, 0x0
% 2
|$SG27296| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "T", 0x0, "g", 0x0
DCB "t", 0x0, "D", 0x0, "l", 0x0, "v", 0x0, "S", 0x0, "t", 0x0
DCB "a", 0x0, "t", 0x0, "u", 0x0, "s", 0x0, ":", 0x0, " ", 0x0
DCB "0", 0x0, "x", 0x0, "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0
DCB " ", 0x0, "%", 0x0, "d", 0x0, 0x0, 0x0
|$SG27298| DCB " ", 0x0, " ", 0x0, "d", 0x0, "w", 0x0, "P", 0x0, "r", 0x0
DCB "o", 0x0, "t", 0x0, "o", 0x0, "c", 0x0, "o", 0x0, "l", 0x0
DCB "I", 0x0, "D", 0x0, ":", 0x0, " ", 0x0, "0", 0x0, "x", 0x0
DCB "%", 0x0, "0", 0x0, "x", 0x0, ",", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27300| DCB " ", 0x0, " ", 0x0, "H", 0x0, "e", 0x0, "a", 0x0, "d", 0x0
DCB "e", 0x0, "r", 0x0, " ", 0x0, "L", 0x0, "e", 0x0, "n", 0x0
DCB "g", 0x0, "t", 0x0, "h", 0x0, ":", 0x0, " ", 0x0, "%", 0x0
DCB "d", 0x0, 0x0, 0x0
|$SG27302| DCB " ", 0x0, " ", 0x0, "B", 0x0, "o", 0x0, "d", 0x0, "y", 0x0
DCB " ", 0x0, "L", 0x0, "e", 0x0, "n", 0x0, "g", 0x0, "t", 0x0
DCB "h", 0x0, ":", 0x0, " ", 0x0, "%", 0x0, "d", 0x0, 0x0, 0x0
|$SG27305| DCB " ", 0x0, " ", 0x0, "M", 0x0, "e", 0x0, "s", 0x0, "s", 0x0
DCB "a", 0x0, "g", 0x0, "e", 0x0, ":", 0x0, " ", 0x0, "%", 0x0
DCB "s", 0x0, 0x0, 0x0
|$SG27308| DCB "M", 0x0, "e", 0x0, "s", 0x0, "s", 0x0, "a", 0x0, "g", 0x0
DCB "e", 0x0, " ", 0x0, "t", 0x0, "y", 0x0, "p", 0x0, "e", 0x0
DCB " ", 0x0, "n", 0x0, "o", 0x0, "t", 0x0, " ", 0x0, "c", 0x0
DCB "o", 0x0, "v", 0x0, "e", 0x0, "r", 0x0, "e", 0x0, "d", 0x0
DCB " ", 0x0, "y", 0x0, "e", 0x0, "t", 0x0, "!", 0x0, 0x0, 0x0
AREA |.text|, CODE
|?DisplayMessage@@YAXPAURILMESSAGE@@@Z| PROC ; DisplayMessage
; 98 : {
mov r12, sp
stmdb sp!, {r0} ; stmfd
stmdb sp!, {r12, lr} ; stmfd
ldr r12, [pc, #0x174] ; pc+8+372 = 000004E4
sub sp, sp, r12
|$M27508|
; 99 : TCHAR szDate[256], szTime[256];
; 100 : TCHAR szString[1024];
; 101 :
; 102 : wsprintf(szString, L" cbSize: 0x%0x, %d", prmMsg->cbSize, prmMsg->cbSize);
ldr r3, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [r3]
ldr r2, [sp, #0xC0C] ; 0xC0C = 3084
ldr r2, [r2]
ldr r1, [pc, #0x158] ; pc+8+344 = 000004E0
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000394
; 103 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0x124] ; pc+8+292 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 000003B0
; 104 : wsprintf(szString, L" dwParams: 0x%0x, %d", prmMsg->dwParams, prmMsg->dwParams);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [lr, #4]
ldr r2, [sp, #0xC0C] ; 0xC0C = 3084
ldr r2, [r2, #4]
ldr r1, [pc, #0x118] ; pc+8+280 = 000004DC
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 000003D0
; 105 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0xE8] ; pc+8+232 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 000003EC
; 106 : wsprintf(szString, L" Service Centre: %s", prmMsg->raSvcCtrAddress.wszAddress);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
add r2, lr, #0x18 ; 0x18 = 24
ldr r1, [pc, #0xE0] ; pc+8+224 = 000004D8
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000404
; 107 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0xB4] ; pc+8+180 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 00000420
; 108 : wsprintf(szString, L" dwType: 0x%0x, %d", prmMsg->dwType, prmMsg->dwType);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [lr, #0x218] ; 0x218 = 536
ldr r2, [sp, #0xC0C] ; 0xC0C = 3084
ldr r2, [r2, #0x218] ; 0x218 = 536
ldr r1, [pc, #0xA0] ; pc+8+160 = 000004D4
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000440
; 109 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0x78] ; pc+8+120 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 0000045C
; 110 : wsprintf(szString, L" dwFlags: 0x%0x, %d", prmMsg->dwFlags, prmMsg->dwFlags);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [lr, #0x21C] ; 0x21C = 540
ldr r2, [sp, #0xC0C] ; 0xC0C = 3084
ldr r2, [r2, #0x21C] ; 0x21C = 540
ldr r1, [pc, #0x60] ; pc+8+96 = 000004D0
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 0000047C
; 111 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #0x3C] ; pc+8+60 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 00000498
; 112 :
; 113 : switch(prmMsg->dwType) {
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [lr, #0x218] ; 0x218 = 536
str r3, [sp, #0xC00] ; 0xC00 = 3072
ldr r2, [sp, #0xC00] ; 0xC00 = 3072
mov r1, #1, 16 ; 0x10000 = 65536
orr r0, r1, #1
cmp r2, r0
beq |$L27272| ; 000004E8
ldr lr, [sp, #0xC00] ; 0xC00 = 3072
mov r3, #1, 16 ; 0x10000 = 65536
orr r2, r3, #2
cmp lr, r2
beq |$L27287| ; 000006E4
b |$L27307| ; 00000998
|$L27511|
DCD |?g_hwndEdit@@3PAUHWND__@@A|
DCD |$SG27266|
DCD |$SG27264|
DCD |$SG27262|
DCD |$SG27260|
DCD |$SG27258|
DCD 0xc04
|$L27272|
; 114 : case RIL_MSG_IN_DELIVER:
; 115 : {
; 116 : wsprintf(szString, L" From: %s", prmMsg->msgInDeliver.raOrigAddress.wszAddress);
ldr r1, [sp, #0xC0C] ; 0xC0C = 3084
add r2, r1, #0x23, 28 ; 0x230 = 560
ldr r1, [pc, #0xA8] ; pc+8+168 = 000005A0
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000504
; 117 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #-0x4C] ; pc+8-76 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 00000520
; 118 : wsprintf(szString, L" dwProtocolID: 0x%0x, %d", prmMsg->msgInDeliver.dwProtocolID, prmMsg->msgInDeliver.dwProtocolID);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
ldr r3, [lr, #0x430] ; 0x430 = 1072
ldr r2, [sp, #0xC0C] ; 0xC0C = 3084
ldr r2, [r2, #0x430] ; 0x430 = 1072
ldr r1, [pc, #0x68] ; pc+8+104 = 0000059C
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000540
; 119 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #-0x88] ; pc+8-136 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 0000055C
; 120 : DisplayDCS(&prmMsg->msgInDeliver.rmdDataCoding);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
mov r3, #0x43, 28 ; 0x430 = 1072
orr r2, r3, #4
add r0, lr, r2
bl |?DisplayDCS@@YAXPAURILMSGDCS@@@Z| ; 00000570
; 121 :
; 122 : if (!GetDateAndTime(&prmMsg->msgInDeliver.stSCReceiveTime, szDate, szTime, 256))
mov r3, #1, 24 ; 0x100 = 256
add r2, sp, #0
mov r1, #2, 24 ; 0x200 = 512
add r1, sp, r1
ldr r0, [sp, #0xC0C] ; 0xC0C = 3084
mov lr, #0x45, 28 ; 0x450 = 1104
orr lr, lr, #4
add r0, r0, lr
bl |?GetDateAndTime@@YAHPAU_SYSTEMTIME@@PAG1K@Z| ; 00000594
movs r3, r0
bne |$L27277| ; 000005A4
; 123 : {
; 124 : return;
b |$L27254| ; 000009C4
|$L27512|
DCD |$SG27275|
DCD |$SG27273|
|$L27277|
; 125 : }
; 126 : wsprintf(szString, L" Received: %s on %s", szTime, szDate);
mov r3, #2, 24 ; 0x200 = 512
add r3, sp, r3
add r2, sp, #0
ldr r1, [pc, #0x128] ; pc+8+296 = 000006E0
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 000005C4
; 127 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #-0x10C] ; pc+8-268 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 000005E0
; 128 :
; 129 : wsprintf(szString, L" Header Length: %d", prmMsg->msgInDeliver.cbHdrLength);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
mov r3, #0x46, 28 ; 0x460 = 1120
orr r2, r3, #4
add r1, lr, r2
ldr r2, [r1]
ldr r1, [pc, #0xE4] ; pc+8+228 = 000006DC
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000604
; 130 : SendMessage(g_hwndEdit, LB_ADDSTRING, 0, (LPARAM) szString);
mov r3, #1, 22 ; 0x400 = 1024
add r3, sp, r3
mov r2, #0
mov r1, #6, 26 ; 0x180 = 384
ldr r0, [pc, #-0x14C] ; pc+8-332 = 000004CC
ldr r0, [r0]
bl SendMessageW ; 00000620
; 131 : wsprintf(szString, L" Body Length: %d", prmMsg->msgInDeliver.cchMsgLength);
ldr lr, [sp, #0xC0C] ; 0xC0C = 3084
mov r3, #0x46, 28 ; 0x460 = 1120
orr r2, r3, #8
add r1, lr, r2
ldr r2, [r1]
ldr r1, [pc, #0xA0] ; pc+8+160 = 000006D8
mov r0, #1, 22 ; 0x400 = 1024
add r0, sp, r0
bl wsprintfW ; 00000644
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -