简单的跟了下,发现只是查找窗口来结束的,自己的电脑上没冰刃,没测试改名是否关。
没具体跟下去,或许后面还有反查的代码吧。- 0040A7D0 /$ 55 push ebp
- 0040A7D1 |. 8BEC mov ebp,esp
- 0040A7D3 |. 81C4 ECFEFFFF add esp,-114
- 0040A7D9 |. 53 push ebx
- 0040A7DA |. 33C9 xor ecx,ecx
- 0040A7DC |. 898D F4FEFFFF mov dword ptr ss:[ebp-10C],ecx
- 0040A7E2 |. 898D ECFEFFFF mov dword ptr ss:[ebp-114],ecx
- 0040A7E8 |. 898D F0FEFFFF mov dword ptr ss:[ebp-110],ecx
- 0040A7EE |. 8955 F8 mov dword ptr ss:[ebp-8],edx
- 0040A7F1 |. 8945 FC mov dword ptr ss:[ebp-4],eax
- 0040A7F4 |. 8B45 FC mov eax,dword ptr ss:[ebp-4]
- 0040A7F7 |. E8 E499FFFF call 1.004041E0
- 0040A7FC |. 8B45 F8 mov eax,dword ptr ss:[ebp-8]
- 0040A7FF |. E8 DC99FFFF call 1.004041E0
- 0040A804 |. 33C0 xor eax,eax
- 0040A806 |. 55 push ebp
- 0040A807 |. 68 1BA94000 push 1.0040A91B
- 0040A80C |. 64:FF30 push dword ptr fs:[eax]
- 0040A80F |. 64:8920 mov dword ptr fs:[eax],esp
- 0040A812 |. B0 01 mov al,1
- 0040A814 |. E8 47FDFFFF call 1.0040A560
- 0040A819 |. 33D2 xor edx,edx
- 0040A81B |. 8B45 FC mov eax,dword ptr ss:[ebp-4]
- 0040A81E |. E8 59DCFFFF call 1.0040847C
- 0040A823 |. 85C0 test eax,eax
- 0040A825 |. 0F85 96000000 jnz 1.0040A8C1
- 0040A82B |. 6A 00 push 0 ; /Relation = GW_HWNDFIRST
- 0040A82D |. E8 7AA6FFFF call 1.00404EAC ; |[GetForegroundWindow
- 0040A832 |. 50 push eax ; |hWnd
- 0040A833 |. E8 7CA6FFFF call 1.00404EB4 ; \GetWindow
- 0040A838 |. 8BD8 mov ebx,eax
- 0040A83A |. 85DB test ebx,ebx
- 0040A83C |. 0F84 AE000000 je 1.0040A8F0
- 0040A842 |> 68 FF000000 /push 0FF ; /Count = FF (255.)
- 0040A847 |. 8D85 F9FEFFFF |lea eax,dword ptr ss:[ebp-107] ; |
- 0040A84D |. 50 |push eax ; |Buffer
- 0040A84E |. 53 |push ebx ; |hWnd
- 0040A84F |. E8 68A6FFFF |call 1.00404EBC ; \GetWindowTextA
- 0040A854 |. 85C0 |test eax,eax
- 0040A856 |. 7E 59 |jle short 1.0040A8B1
- 0040A858 |. 8D95 F0FEFFFF |lea edx,dword ptr ss:[ebp-110]
- 0040A85E |. 8D85 F9FEFFFF |lea eax,dword ptr ss:[ebp-107]
- 0040A864 |. E8 5BD9FFFF |call 1.004081C4
- 0040A869 |. 8B85 F0FEFFFF |mov eax,dword ptr ss:[ebp-110]
- 0040A86F |. 8D95 F4FEFFFF |lea edx,dword ptr ss:[ebp-10C]
- 0040A875 |. E8 F2D7FFFF |call 1.0040806C
- 0040A87A |. 8B85 F4FEFFFF |mov eax,dword ptr ss:[ebp-10C]
- 0040A880 |. 50 |push eax
- 0040A881 |. 8D95 ECFEFFFF |lea edx,dword ptr ss:[ebp-114]
- 0040A887 |. 8B45 F8 |mov eax,dword ptr ss:[ebp-8]
- 0040A88A |. E8 DDD7FFFF |call 1.0040806C
- 0040A88F |. 8B85 ECFEFFFF |mov eax,dword ptr ss:[ebp-114]
- 0040A895 |. 5A |pop edx
- 0040A896 |. E8 3D9AFFFF |call 1.004042D8
- 0040A89B |. 85C0 |test eax,eax
- 0040A89D |. 74 12 |je short 1.0040A8B1
- 0040A89F |. 6A 00 |push 0 ; /lParam = 0
- 0040A8A1 |. 68 60F00000 |push 0F060 ; |wParam = F060
- 0040A8A6 |. 68 12010000 |push 112 ; |Message = WM_SYSCOMMAND
- 0040A8AB |. 53 |push ebx ; |hWnd
- 0040A8AC |. E8 23A6FFFF |call 1.00404ED4 ; \PostMessageA
- 0040A8B1 |> 6A 02 |push 2 ; /Relation = GW_HWNDNEXT
- 0040A8B3 |. 53 |push ebx ; |hWnd
- 0040A8B4 |. E8 FBA5FFFF |call 1.00404EB4 ; \GetWindow
- 0040A8B9 |. 8BD8 |mov ebx,eax
- 0040A8BB |. 85DB |test ebx,ebx
- 0040A8BD |.^ 75 83 \jnz short 1.0040A842 ; (Initial CPU selection)
- 0040A8BF |. EB 2F jmp short 1.0040A8F0
- 0040A8C1 |> 8B45 F8 mov eax,dword ptr ss:[ebp-8]
- 0040A8C4 |. E8 2799FFFF call 1.004041F0
- 0040A8C9 |. 50 push eax
- 0040A8CA |. 8B45 FC mov eax,dword ptr ss:[ebp-4]
- 0040A8CD |. E8 1E99FFFF call 1.004041F0
- 0040A8D2 |. 50 push eax ; |Class
- 0040A8D3 |. E8 BCA5FFFF call 1.00404E94 ; \FindWindowA
- 0040A8D8 |. 8BD8 mov ebx,eax
- 0040A8DA |. 85DB test ebx,ebx
- 0040A8DC |. 74 12 je short 1.0040A8F0
- 0040A8DE |. 6A 00 push 0 ; /lParam = 0
- 0040A8E0 |. 68 60F00000 push 0F060 ; |wParam = F060
- 0040A8E5 |. 68 12010000 push 112 ; |Message = WM_SYSCOMMAND
- 0040A8EA |. 53 push ebx ; |hWnd
- 0040A8EB |. E8 E4A5FFFF call 1.00404ED4 ; \PostMessageA
- 0040A8F0 |> 33C0 xor eax,eax
- 0040A8F2 |. 5A pop edx
- 0040A8F3 |. 59 pop ecx
- 0040A8F4 |. 59 pop ecx
- 0040A8F5 |. 64:8910 mov dword ptr fs:[eax],edx
- 0040A8F8 |. 68 22A94000 push 1.0040A922
- 0040A8FD |> 8D85 ECFEFFFF lea eax,dword ptr ss:[ebp-114]
- 0040A903 |. BA 03000000 mov edx,3
- 0040A908 |. E8 7F94FFFF call 1.00403D8C
- 0040A90D |. 8D45 F8 lea eax,dword ptr ss:[ebp-8]
- 0040A910 |. BA 02000000 mov edx,2
- 0040A915 |. E8 7294FFFF call 1.00403D8C
- 0040A91A \. C3 retn
复制代码 |