nonstopUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:78k
源码类别:

远程控制编程

开发平台:

Delphi

  1. unit nonstopUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls, Gauges, ExtCtrls,
  6.   ScktComp;
  7. type
  8.   TnonstopForm=class(TForm)
  9.     lab: TLabel;
  10.     CaptionLabel: TLabel;
  11.     CloseButton: TFlatSpeedButton;
  12.     pro: TGauge;
  13.     Shape1: TShape;
  14.     OutlookBtn2: TOutlookBtn;
  15.     Image1: TImage;
  16.     OutlookBtn3: TOutlookBtn;
  17.     Label1: TLabel;
  18.     MonitorClicks: TFlatCheckBox;
  19.     RxSpinEdit: TRxSpinEdit;
  20.     doitnow: TTimer;
  21.     ClientSocket1: TClientSocket;
  22.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  23.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  24.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  25.     procedure ClientSocket1Connect(Sender: TObject; Socket: TCustomWinSocket);
  26.     procedure ClientSocket1Disconnect(Sender: TObject; Socket: TCustomWinSocket);
  27.     procedure ClientSocket1Read(Sender: TObject; Socket: TCustomWinSocket);
  28.     procedure CloseButtonClick(Sender: TObject);
  29.     procedure doitnowTimer(Sender: TObject);
  30.     procedure FormCreate(Sender: TObject);
  31.     procedure FormPaint(Sender: TObject);
  32.     procedure FormResize(Sender: TObject);
  33.     procedure Image1MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  34.     procedure OutlookBtn2Click(Sender: TObject);
  35.     procedure OutlookBtn3Click(Sender: TObject);
  36.   private
  37.     { Private declarations }
  38.   public
  39.     { Public declarations }
  40.   end ;
  41. var
  42.   nonstopForm: TnonstopForm;
  43. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  44. implementation
  45. {$R *.DFM}
  46. procedure TnonstopForm.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  47. begin
  48. {
  49. 004DBD70   55                     push    ebp
  50. 004DBD71   8BEC                   mov     ebp, esp
  51. 004DBD73   53                     push    ebx
  52. 004DBD74   8BD8                   mov     ebx, eax
  53. 004DBD76   8B83C4020000           mov     eax, [ebx+$02C4]
  54. 004DBD7C   8B4024                 mov     eax, [eax+$24]
  55. 004DBD7F   E85807F6FF             call    0043C4DC
  56. 004DBD84   50                     push    eax
  57. * Reference to: SHBrowseForFolderA.SetCapture
  58. |
  59. 004DBD85   E8EEBAF2FF             call    00407878
  60. 004DBD8A   C78300030000FFFFFFFF   mov     dword ptr [ebx+$0300], $FFFFFFFF
  61. 004DBD94   8B450C                 mov     eax, [ebp+$0C]
  62. 004DBD97   8983F8020000           mov     [ebx+$02F8], eax
  63. 004DBD9D   8B4508                 mov     eax, [ebp+$08]
  64. 004DBDA0   8983FC020000           mov     [ebx+$02FC], eax
  65. 004DBDA6   5B                     pop     ebx
  66. 004DBDA7   5D                     pop     ebp
  67. 004DBDA8   C20C                   ret     $0C
  68. }
  69.  end ; 
  70. procedure TnonstopForm.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  71. begin
  72. {
  73. 004DBDAC   55                     push    ebp
  74. 004DBDAD   8BEC                   mov     ebp, esp
  75. 004DBDAF   53                     push    ebx
  76. 004DBDB0   56                     push    esi
  77. 004DBDB1   8BD8                   mov     ebx, eax
  78. 004DBDB3   83BB0003000000         cmp     dword ptr [ebx+$0300], +$00
  79. 004DBDBA   7433                   jz      004DBDEF
  80. 004DBDBC   8B83C4020000           mov     eax, [ebx+$02C4]
  81. 004DBDC2   8B7024                 mov     esi, [eax+$24]
  82. 004DBDC5   8B83F8020000           mov     eax, [ebx+$02F8]
  83. 004DBDCB   2B450C                 sub     eax, dword ptr [ebp+$0C]
  84. 004DBDCE   8B5630                 mov     edx, [esi+$30]
  85. 004DBDD1   2BD0                   sub     edx, eax
  86. 004DBDD3   8BC6                   mov     eax, esi
  87. 004DBDD5   E8D2A0F5FF             call    00435EAC
  88. 004DBDDA   8B83FC020000           mov     eax, [ebx+$02FC]
  89. 004DBDE0   2B4508                 sub     eax, dword ptr [ebp+$08]
  90. 004DBDE3   8B5634                 mov     edx, [esi+$34]
  91. 004DBDE6   2BD0                   sub     edx, eax
  92. 004DBDE8   8BC6                   mov     eax, esi
  93. 004DBDEA   E8E1A0F5FF             call    00435ED0
  94. 004DBDEF   5E                     pop     esi
  95. 004DBDF0   5B                     pop     ebx
  96. 004DBDF1   5D                     pop     ebp
  97. 004DBDF2   C208                   ret     $08
  98. }
  99.  end ; 
  100. procedure TnonstopForm.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  101. begin
  102. {
  103. 004DBDF8   55                     push    ebp
  104. 004DBDF9   8BEC                   mov     ebp, esp
  105. 004DBDFB   53                     push    ebx
  106. 004DBDFC   56                     push    esi
  107. 004DBDFD   8BD8                   mov     ebx, eax
  108. 004DBDFF   83BB0003000000         cmp     dword ptr [ebx+$0300], +$00
  109. 004DBE06   7440                   jz      004DBE48
  110. 004DBE08   8B83C4020000           mov     eax, [ebx+$02C4]
  111. 004DBE0E   8B7024                 mov     esi, [eax+$24]
  112. * Reference to: SHBrowseForFolderA.ReleaseCapture
  113. |
  114. 004DBE11   E812BAF2FF             call    00407828
  115. 004DBE16   33C0                   xor     eax, eax
  116. 004DBE18   898300030000           mov     [ebx+$0300], eax
  117. 004DBE1E   8B83F8020000           mov     eax, [ebx+$02F8]
  118. 004DBE24   2B450C                 sub     eax, dword ptr [ebp+$0C]
  119. 004DBE27   8B5630                 mov     edx, [esi+$30]
  120. 004DBE2A   2BD0                   sub     edx, eax
  121. 004DBE2C   8BC6                   mov     eax, esi
  122. 004DBE2E   E879A0F5FF             call    00435EAC
  123. 004DBE33   8B83FC020000           mov     eax, [ebx+$02FC]
  124. 004DBE39   2B4508                 sub     eax, dword ptr [ebp+$08]
  125. 004DBE3C   8B5634                 mov     edx, [esi+$34]
  126. 004DBE3F   2BD0                   sub     edx, eax
  127. 004DBE41   8BC6                   mov     eax, esi
  128. 004DBE43   E888A0F5FF             call    00435ED0
  129. 004DBE48   5E                     pop     esi
  130. 004DBE49   5B                     pop     ebx
  131. 004DBE4A   5D                     pop     ebp
  132. 004DBE4B   C20C                   ret     $0C
  133. }
  134.  end ; 
  135. procedure TnonstopForm.ClientSocket1Connect(Sender: TObject; Socket: TCustomWinSocket);
  136. begin
  137. {
  138. 004DC10C   55                     push    ebp
  139. 004DC10D   8BEC                   mov     ebp, esp
  140. 004DC10F   6A00                   push    $00
  141. 004DC111   6A00                   push    $00
  142. 004DC113   6A00                   push    $00
  143. 004DC115   6A00                   push    $00
  144. 004DC117   53                     push    ebx
  145. 004DC118   56                     push    esi
  146. 004DC119   57                     push    edi
  147. 004DC11A   8945FC                 mov     [ebp-$04], eax
  148. 004DC11D   BBAC735400             mov     ebx, $005473AC
  149. 004DC122   33C0                   xor     eax, eax
  150. 004DC124   55                     push    ebp
  151. 004DC125   6844C34D00             push    $004DC344
  152. ***** TRY
  153. |
  154. 004DC12A   64FF30                 push    dword ptr fs:[eax]
  155. 004DC12D   648920                 mov     fs:[eax], esp
  156. 004DC130   8D55F0                 lea     edx, [ebp-$10]
  157. 004DC133   A1DC495400             mov     eax, dword ptr [$5449DC]
  158. 004DC138   8B00                   mov     eax, [eax]
  159. 004DC13A   8B80D8070000           mov     eax, [eax+$07D8]
  160. 004DC140   8B8050020000           mov     eax, [eax+$0250]
  161. 004DC146   E821CDF2FF             call    00408E6C
  162. 004DC14B   8B55F0                 mov     edx, [ebp-$10]
  163. 004DC14E   8BC3                   mov     eax, ebx
  164. 004DC150   E85B7BF2FF             call    00403CB0
  165. 004DC155   8B03                   mov     eax, [ebx]
  166. 004DC157   E87C7DF2FF             call    00403ED8
  167. 004DC15C   48                     dec     eax
  168. 004DC15D   750E                   jnz     004DC16D
  169. 004DC15F   8BC3                   mov     eax, ebx
  170. 004DC161   8B0B                   mov     ecx, [ebx]
  171. * Possible String Reference to: "00"
  172. |
  173. 004DC163   BA5CC34D00             mov     edx, $004DC35C
  174. 004DC168   E8B77DF2FF             call    00403F24
  175. 004DC16D   8B03                   mov     eax, [ebx]
  176. 004DC16F   E8647DF2FF             call    00403ED8
  177. 004DC174   83F802                 cmp     eax, +$02
  178. 004DC177   750E                   jnz     004DC187
  179. 004DC179   8BC3                   mov     eax, ebx
  180. 004DC17B   8B0B                   mov     ecx, [ebx]
  181. 004DC17D   BA68C34D00             mov     edx, $004DC368
  182. 004DC182   E89D7DF2FF             call    00403F24
  183. 004DC187   833B00                 cmp     dword ptr [ebx], +$00
  184. 004DC18A   750C                   jnz     004DC198
  185. 004DC18C   8BC3                   mov     eax, ebx
  186. * Possible String Reference to: "040"
  187. |
  188. 004DC18E   BA74C34D00             mov     edx, $004DC374
  189. 004DC193   E8187BF2FF             call    00403CB0
  190. 004DC198   8B03                   mov     eax, [ebx]
  191. 004DC19A   E8397DF2FF             call    00403ED8
  192. 004DC19F   48                     dec     eax
  193. 004DC1A0   7510                   jnz     004DC1B2
  194. 004DC1A2   8BC3                   mov     eax, ebx
  195. 004DC1A4   8B0B                   mov     ecx, [ebx]
  196. * Possible String Reference to: "00"
  197. |
  198. 004DC1A6   BA5CC34D00             mov     edx, $004DC35C
  199. 004DC1AB   E8747DF2FF             call    00403F24
  200. 004DC1B0   EB1A                   jmp     004DC1CC
  201. 004DC1B2   8B03                   mov     eax, [ebx]
  202. 004DC1B4   E81F7DF2FF             call    00403ED8
  203. 004DC1B9   83F802                 cmp     eax, +$02
  204. 004DC1BC   750E                   jnz     004DC1CC
  205. 004DC1BE   8BC3                   mov     eax, ebx
  206. 004DC1C0   8B0B                   mov     ecx, [ebx]
  207. 004DC1C2   BA68C34D00             mov     edx, $004DC368
  208. 004DC1C7   E8587DF2FF             call    00403F24
  209. 004DC1CC   8D55F8                 lea     edx, [ebp-$08]
  210. 004DC1CF   8B45FC                 mov     eax, [ebp-$04]
  211. 004DC1D2   8B80CC020000           mov     eax, [eax+$02CC]
  212. 004DC1D8   8B4038                 mov     eax, [eax+$38]
  213. 004DC1DB   E88CCCF2FF             call    00408E6C
  214. 004DC1E0   8D55F4                 lea     edx, [ebp-$0C]
  215. 004DC1E3   8B45FC                 mov     eax, [ebp-$04]
  216. 004DC1E6   8B80CC020000           mov     eax, [eax+$02CC]
  217. 004DC1EC   8B403C                 mov     eax, [eax+$3C]
  218. 004DC1EF   E878CCF2FF             call    00408E6C
  219. 004DC1F4   8B45F8                 mov     eax, [ebp-$08]
  220. 004DC1F7   E8DC7CF2FF             call    00403ED8
  221. 004DC1FC   48                     dec     eax
  222. 004DC1FD   7512                   jnz     004DC211
  223. 004DC1FF   8D45F8                 lea     eax, [ebp-$08]
  224. 004DC202   8B4DF8                 mov     ecx, [ebp-$08]
  225. * Possible String Reference to: "000"
  226. |
  227. 004DC205   BA80C34D00             mov     edx, $004DC380
  228. 004DC20A   E8157DF2FF             call    00403F24
  229. 004DC20F   EB3C                   jmp     004DC24D
  230. 004DC211   8B45F8                 mov     eax, [ebp-$08]
  231. 004DC214   E8BF7CF2FF             call    00403ED8
  232. 004DC219   83F802                 cmp     eax, +$02
  233. 004DC21C   7512                   jnz     004DC230
  234. 004DC21E   8D45F8                 lea     eax, [ebp-$08]
  235. 004DC221   8B4DF8                 mov     ecx, [ebp-$08]
  236. * Possible String Reference to: "00"
  237. |
  238. 004DC224   BA5CC34D00             mov     edx, $004DC35C
  239. 004DC229   E8F67CF2FF             call    00403F24
  240. 004DC22E   EB1D                   jmp     004DC24D
  241. 004DC230   8B45F8                 mov     eax, [ebp-$08]
  242. 004DC233   E8A07CF2FF             call    00403ED8
  243. 004DC238   83F803                 cmp     eax, +$03
  244. 004DC23B   7510                   jnz     004DC24D
  245. 004DC23D   8D45F8                 lea     eax, [ebp-$08]
  246. 004DC240   8B4DF8                 mov     ecx, [ebp-$08]
  247. 004DC243   BA68C34D00             mov     edx, $004DC368
  248. 004DC248   E8D77CF2FF             call    00403F24
  249. 004DC24D   8B45F4                 mov     eax, [ebp-$0C]
  250. 004DC250   E8837CF2FF             call    00403ED8
  251. 004DC255   48                     dec     eax
  252. 004DC256   7512                   jnz     004DC26A
  253. 004DC258   8D45F4                 lea     eax, [ebp-$0C]
  254. 004DC25B   8B4DF4                 mov     ecx, [ebp-$0C]
  255. * Possible String Reference to: "000"
  256. |
  257. 004DC25E   BA80C34D00             mov     edx, $004DC380
  258. 004DC263   E8BC7CF2FF             call    00403F24
  259. 004DC268   EB3C                   jmp     004DC2A6
  260. 004DC26A   8B45F4                 mov     eax, [ebp-$0C]
  261. 004DC26D   E8667CF2FF             call    00403ED8
  262. 004DC272   83F802                 cmp     eax, +$02
  263. 004DC275   7512                   jnz     004DC289
  264. 004DC277   8D45F4                 lea     eax, [ebp-$0C]
  265. 004DC27A   8B4DF4                 mov     ecx, [ebp-$0C]
  266. * Possible String Reference to: "00"
  267. |
  268. 004DC27D   BA5CC34D00             mov     edx, $004DC35C
  269. 004DC282   E89D7CF2FF             call    00403F24
  270. 004DC287   EB1D                   jmp     004DC2A6
  271. 004DC289   8B45F4                 mov     eax, [ebp-$0C]
  272. 004DC28C   E8477CF2FF             call    00403ED8
  273. 004DC291   83F803                 cmp     eax, +$03
  274. 004DC294   7510                   jnz     004DC2A6
  275. 004DC296   8D45F4                 lea     eax, [ebp-$0C]
  276. 004DC299   8B4DF4                 mov     ecx, [ebp-$0C]
  277. 004DC29C   BA68C34D00             mov     edx, $004DC368
  278. 004DC2A1   E87E7CF2FF             call    00403F24
  279. 004DC2A6   33C0                   xor     eax, eax
  280. 004DC2A8   55                     push    ebp
  281. 004DC2A9   68EFC24D00             push    $004DC2EF
  282. ***** TRY
  283. |
  284. 004DC2AE   64FF30                 push    dword ptr fs:[eax]
  285. 004DC2B1   648920                 mov     fs:[eax], esp
  286. * Possible String Reference to: "DOIT"
  287. |
  288. 004DC2B4   688CC34D00             push    $004DC38C
  289. 004DC2B9   FF33                   push    dword ptr [ebx]
  290. 004DC2BB   FF75F8                 push    dword ptr [ebp-$08]
  291. 004DC2BE   FF75F4                 push    dword ptr [ebp-$0C]
  292. 004DC2C1   8D45F0                 lea     eax, [ebp-$10]
  293. 004DC2C4   BA04000000             mov     edx, $00000004
  294. 004DC2C9   E8CA7CF2FF             call    00403F98
  295. 004DC2CE   8B55F0                 mov     edx, [ebp-$10]
  296. 004DC2D1   8B45FC                 mov     eax, [ebp-$04]
  297. 004DC2D4   8B80D4020000           mov     eax, [eax+$02D4]
  298. 004DC2DA   8B8080000000           mov     eax, [eax+$0080]
  299. 004DC2E0   E83F13FAFF             call    0047D624
  300. 004DC2E5   33C0                   xor     eax, eax
  301. 004DC2E7   5A                     pop     edx
  302. 004DC2E8   59                     pop     ecx
  303. 004DC2E9   59                     pop     ecx
  304. 004DC2EA   648910                 mov     fs:[eax], edx
  305. 004DC2ED   EB1A                   jmp     004DC309
  306. ****** EXCEPT
  307. |
  308. 004DC2EF   E96471F2FF             jmp     00403458
  309. 004DC2F4   8B45FC                 mov     eax, [ebp-$04]
  310. 004DC2F7   8B80D0020000           mov     eax, [eax+$02D0]
  311. 004DC2FD   B201                   mov     dl, $01
  312. 004DC2FF   E8BC9EF7FF             call    004561C0
  313. 004DC304   E8FF73F2FF             call    00403708
  314. ****** END
  315. |
  316. 004DC309   8B45FC                 mov     eax, [ebp-$04]
  317. 004DC30C   8B80DC020000           mov     eax, [eax+$02DC]
  318. 004DC312   33D2                   xor     edx, edx
  319. 004DC314   E8C7A2F5FF             call    004365E0
  320. 004DC319   8B45FC                 mov     eax, [ebp-$04]
  321. 004DC31C   8B80D8020000           mov     eax, [eax+$02D8]
  322. 004DC322   B201                   mov     dl, $01
  323. 004DC324   E8B7A2F5FF             call    004365E0
  324. 004DC329   33C0                   xor     eax, eax
  325. 004DC32B   5A                     pop     edx
  326. 004DC32C   59                     pop     ecx
  327. 004DC32D   59                     pop     ecx
  328. 004DC32E   648910                 mov     fs:[eax], edx
  329. ****** FINALLY
  330. |
  331. * Possible String Reference to: "_^[嬪]