1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
void HXSYDialog::OnBnClickedEutton15()
{
byte a[100] = {0x11,0x00,0x7E,0x00,0x00,0x00,0x00,0x02,0x00,0x31,0x31, OFF, OxFF,OxFF,OxFF,0x00,0x00,0x00,0x00,0x60,0xA8,0x6C}:
DWORD 包长 = 0x13;
DWORD 包地址=(DWORD)a;
DWORD 加密地址 = 包地址+2;
DWORD 加密长度 = 包长-2;
__asm
{
push 加密地址
push 加密地址
push 加密长度
mov ecx, 0x00f84ba4
mov ecx, [ecx]
mov ecx, [ecx]
mov ecx, [ecx+0x4]
mov ecx, [ecx+0x14]
mov ecx, [ecx]
lea ecx, [ecx+0x54]
push ecx
mov eax, 0x00B94700
call eax
add esp, 0x10
}
HWND 窗口句柄=FindWindowA("Lapis Network C1ass",0);
DWORD A=GetWindowLongW(窗口句柄,-21);
DWORD S=*(DWORD*)(A+0x38);
send(S,(const char*)包地址,包长,0);
//TODO:在此添加控件通知处理程序代码
}
|