通达信V7.30 L1/L2自动切换源码
-
相关简介:通达信V7.30 L1/L2自动切换源码 最近一直有坛友问L1L2修改方法,这里提供关键代码,其它小部分还请自行脑补。吃瓜群众可围观。 无三包,无售后。注解在附件里! C/C++ Code 复制内容到剪贴板 005724D6.53pushebx 005724D7.56&n
-
文章来源:股海网作者:股海网发布时间:2016-09-09浏览次数:
通达信V7.30 L1/L2自动切换源码
最近一直有坛友问L1L2修改方法,这里提供关键代码,其它小部分还请自行脑补。吃瓜群众可围观。
无三包,无售后。注解在附件里!
C/C++ Code复制内容到剪贴板
- 005724D6 . 53 push ebx
- 005724D7 . 56 push esi ; tdxw_140.<ModuleEntryPoint>
- 005724D8 . 8B1D 2497DD00 mov ebx,dword ptr ds:[0xDD9724]
- 005724DE . 8B43 20 mov eax,dword ptr ds:[ebx+0x20]
- 005724E1 . 6A 00 push 0x0 ; /lParam = 0x0
- 005724E3 . 68 12820000 push 0x8212 ; |wParam = 0x8212
- 005724E8 . 68 11010000 push 0x111 ; |Message = WM_COMMAND
- 005724ED . 50 push eax ; |hWnd = 0x9D28B37A
- 005724EE . FF15 8CA57800 call dword ptr ds:[<&USER32.SendMessageA>; \SendMessageA
- 005724F4 . 68 A0B87D00 push tdxw_140.007DB8A0 ; user.ini
- 005724F9 . 8D5424 1C lea edx,dword ptr ss:[esp+0x1C]
- 005724FD . 68 5C9F9400 push tdxw_140.00949F5C
- 00572502 . 52 push edx ; tdxw_140.<ModuleEntryPoint>
- 00572503 . E8 F0231F00 call <jmp.&MFC42.#operator+_924>
- 00572508 . 8B28 mov ebp,dword ptr ds:[eax]
- 0057250A . A1 E0F98B00 mov eax,dword ptr ds:[0x8BF9E0]
- 0057250F . 85C0 test eax,eax
- 00572511 . 74 12 je short tdxw_140.00572525
- 00572513 . 33C0 xor eax,eax
- 00572515 . 8B35 A46ADF00 mov esi,dword ptr ds:[0xDF6AA4]
- 0057251B . C646 24 00 mov byte ptr ds:[esi+0x24],0x0
- 0057251F . C646 28 00 mov byte ptr ds:[esi+0x28],0x0
- 00572523 . EB 05 jmp short tdxw_140.0057252A
- 00572525 > B8 01000000 mov eax,0x1
- 0057252A > A2 E4F98B00 mov byte ptr ds:[0x8BF9E4],al
- 0057252F . 6A 00 push 0x0
- 00572531 . 8D4C24 18 lea ecx,dword ptr ss:[esp+0x18]
- 00572535 . 50 push eax
- 00572536 . 51 push ecx ; tdxw_140.<ModuleEntryPoint>
- 00572537 . E8 04B3F3FF call tdxw_140.004AD840
- 0057253C . 8B00 mov eax,dword ptr ds:[eax]
- 0057253E . 83C4 0C add esp,0xC
- 00572541 . 55 push ebp ; /FileName = "?"
- 00572542 . 50 push eax ; |String = 9D28B37A ???
- 00572543 . 68 3CFE7F00 push tdxw_140.007FFE3C ; |L2Type
- 00572548 . 68 2E7E7E00 push tdxw_140.007E7E2E ; |L2
- 0057254D . FF15 F4917800 call dword ptr ds:[<&KERNEL32.WritePriva>; \WritePrivateProfileStringA
- 00572553 . C605 A096DD00 01 mov byte ptr ds:[0xDD96A0],0x1
- 0057255A . 8B1D 2497DD00 mov ebx,dword ptr ds:[0xDD9724]
- 00572560 . 8B43 20 mov eax,dword ptr ds:[ebx+0x20]
- 00572563 . 6A 00 push 0x0 ; /lParam = 0x0
- 00572565 . 68 11820000 push 0x8211 ; |wParam = 0x8211
- 0057256A . 68 11010000 push 0x111 ; |Message = WM_COMMAND
- 0057256F . 50 push eax ; |hWnd = 0x9D28B37A
- 00572570 . FF15 8CA57800 call dword ptr ds:[<&USER32.SendMessageA>; \SendMessageA
- 00572576 . C605 A096DD00 00 mov byte ptr ds:[0xDD96A0],0x0
- 0057257D 5E pop esi ; kernel32.771C38F4
- 0057257E 5B pop ebx ; kernel32.771C38F4
以下是说明注释
C/C++ Code复制内容到剪贴板
- 005724D6 . 53 push ebx
- 005724D7 . 56 push esi ; tdxw.<ModuleEntryPoint>
- 005724D8 . 8B1D 2497DD00 mov ebx,dword ptr ds:[0xDD9724]
- 005724DE . 8B43 20 mov eax,dword ptr ds:[ebx+0x20]
- 005724E1 . 6A 00 push 0x0 ; /lParam = 0x0
- 005724E3 . 68 12820000 push 0x8212 ; |wParam = 0x8212
- 005724E8 . 68 11010000 push 0x111 ; |Message = WM_COMMAND
- 005724ED . 50 push eax ; |hWnd = 0x9D28B37A
- 005724EE . FF15 8CA57800 call dword ptr ds:[<&USER32.SendMessageA>; \SendMessageA \\断线
- 005724F4 . 68 A0B87D00 push tdxw.007DB8A0 ; user.ini
- 005724F9 . 8D5424 1C lea edx,dword ptr ss:[esp+0x1C]
- 005724FD . 68 5C9F9400 push tdxw.00949F5C
- 00572502 . 52 push edx ; tdxw.<ModuleEntryPoint>
- 00572503 . E8 F0231F00 call <jmp.&MFC42.#operator+_924>
- 00572508 . 8B28 mov ebp,dword ptr ds:[eax]
- 0057250A . A1 E0F98B00 mov eax,dword ptr ds:[0x8BF9E0]
- 0057250F . 85C0 test eax,eax
- 00572511 . 74 12 je short tdxw.00572525
- 00572513 . 33C0 xor eax,eax
- 00572515 . 8B35 A46ADF00 mov esi,dword ptr ds:[0xDF6AA4]
- 0057251B . C646 24 00 mov byte ptr ds:[esi+0x24],0x0
- 0057251F . C646 28 00 mov byte ptr ds:[esi+0x28],0x0
- 00572523 . EB 05 jmp short tdxw.0057252A
- 00572525 > B8 01000000 mov eax,0x1
- 0057252A > A2 E4F98B00 mov byte ptr ds:[0x8BF9E4],al
- 0057252F . 6A 00 push 0x0
- 00572531 . 8D4C24 18 lea ecx,dword ptr ss:[esp+0x18]
- 00572535 . 50 push eax
- 00572536 . 51 push ecx ; tdxw.<ModuleEntryPoint>
- 00572537 . E8 04B3F3FF call tdxw.004AD840
- 0057253C . 8B00 mov eax,dword ptr ds:[eax]
- 0057253E . 83C4 0C add esp,0xC
- 00572541 . 55 push ebp ; /FileName = "?"
- 00572542 . 50 push eax ; |String = 9D28B37A ???
- 00572543 . 68 3CFE7F00 push tdxw.007FFE3C ; |L2Type
- 00572548 . 68 2E7E7E00 push tdxw.007E7E2E ; |L2
- 0057254D . FF15 F4917800 call dword ptr ds:[<&KERNEL32.WritePriva>; \WritePrivateProfileStringA \\T0002\user.ini 内切换 L1/L2
- 00572553 . C605 A096DD00>mov byte ptr ds:[0xDD96A0],0x1 \\置自动登录
- 0057255A . 8B1D 2497DD00 mov ebx,dword ptr ds:[0xDD9724]
- 00572560 . 8B43 20 mov eax,dword ptr ds:[ebx+0x20]
- 00572563 . 6A 00 push 0x0 ; /lParam = 0x0
- 00572565 . 68 11820000 push 0x8211 ; |wParam = 0x8211
- 0057256A . 68 11010000 push 0x111 ; |Message = WM_COMMAND
- 0057256F . 50 push eax ; |hWnd = 0x9D28B37A
- 00572570 . FF15 8CA57800 call dword ptr ds:[<&USER32.SendMessageA>; \SendMessageA \\连接主站
- 00572576 . C605 A096DD00>mov byte ptr ds:[0xDD96A0],0x0 \\取消自动登录
- 0057259C . 5E pop esi ; kernel32.771C38F4
- 0057259D . 5B pop ebx ; kernel32.771C38F4