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

远程控制编程

开发平台:

Delphi

  1. unit AnimUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls, ExtCtrls;
  6. type
  7.   TAnim=class(TForm)
  8.     list: TMemo;
  9.     Timer1: TTimer;
  10.     procedure FormCreate(Sender: TObject);
  11.     procedure FormPaint(Sender: TObject);
  12.     procedure FormResize(Sender: TObject);
  13.     procedure Timer1Timer(Sender: TObject);
  14.   private
  15.     { Private declarations }
  16.   public
  17.     { Public declarations }
  18.   end ;
  19. var
  20.   Anim: TAnim;
  21. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  22. implementation
  23. {$R *.DFM}
  24. procedure TAnim.FormCreate(Sender: TObject);
  25. begin
  26. {
  27. 004CA680   53                     push    ebx
  28. 004CA681   8BD8                   mov     ebx, eax
  29. 004CA683   8BC3                   mov     eax, ebx
  30. 004CA685   E8EEFFFFFF             call    004CA678
  31. 004CA68A   33D2                   xor     edx, edx
  32. 004CA68C   8BC3                   mov     eax, ebx
  33. 004CA68E   E88DC0F6FF             call    00436720
  34. 004CA693   5B                     pop     ebx
  35. 004CA694   C3                     ret
  36. }
  37.  end ; 
  38. procedure TAnim.FormPaint(Sender: TObject);
  39. begin
  40. {
  41. 004CA774   53                     push    ebx
  42. 004CA775   56                     push    esi
  43. 004CA776   57                     push    edi
  44. 004CA777   55                     push    ebp
  45. 004CA778   83C4E0                 add     esp, -$20
  46. 004CA77B   8BD8                   mov     ebx, eax
  47. 004CA77D   8B2DDC495400           mov     ebp, [$5449DC]
  48. 004CA783   8B733C                 mov     esi, [ebx+$3C]
  49. 004CA786   83EE05                 sub     esi, +$05
  50. 004CA789   83EE18                 sub     esi, +$18
  51. 004CA78C   7C5D                   jl      004CA7EB
  52. 004CA78E   46                     inc     esi
  53. 004CA78F   BF18000000             mov     edi, $00000018
  54. 004CA794   6A01                   push    $01
  55. 004CA796   8D442404               lea     eax, [esp+$04]
  56. 004CA79A   50                     push    eax
  57. 004CA79B   B904000000             mov     ecx, $00000004
  58. 004CA7A0   BA1A000000             mov     edx, $0000001A
  59. 004CA7A5   B801000000             mov     eax, $00000001
  60. 004CA7AA   E89161F4FF             call    00410940
  61. 004CA7AF   54                     push    esp
  62. 004CA7B0   6A01                   push    $01
  63. 004CA7B2   8D442418               lea     eax, [esp+$18]
  64. 004CA7B6   50                     push    eax
  65. 004CA7B7   B904000000             mov     ecx, $00000004
  66. 004CA7BC   8BD7                   mov     edx, edi
  67. 004CA7BE   33C0                   xor     eax, eax
  68. 004CA7C0   E87B61F4FF             call    00410940
  69. 004CA7C5   8D442414               lea     eax, [esp+$14]
  70. 004CA7C9   50                     push    eax
  71. 004CA7CA   8B4500                 mov     eax, [ebp+$00]
  72. 004CA7CD   8B80E80A0000           mov     eax, [eax+$0AE8]
  73. 004CA7D3   E8B88BF5FF             call    00423390
  74. 004CA7D8   50                     push    eax
  75. 004CA7D9   8BC3                   mov     eax, ebx
  76. 004CA7DB   E8202DF8FF             call    0044D500
  77. 004CA7E0   59                     pop     ecx
  78. 004CA7E1   5A                     pop     edx
  79. 004CA7E2   E86538F5FF             call    0041E04C
  80. 004CA7E7   47                     inc     edi
  81. 004CA7E8   4E                     dec     esi
  82. 004CA7E9   75A9                   jnz     004CA794
  83. 004CA7EB   8B733C                 mov     esi, [ebx+$3C]
  84. 004CA7EE   83EE05                 sub     esi, +$05
  85. 004CA7F1   83EE18                 sub     esi, +$18
  86. 004CA7F4   7C61                   jl      004CA857
  87. 004CA7F6   46                     inc     esi
  88. 004CA7F7   BF18000000             mov     edi, $00000018
  89. 004CA7FC   6A01                   push    $01
  90. 004CA7FE   8D442404               lea     eax, [esp+$04]
  91. 004CA802   50                     push    eax
  92. 004CA803   B904000000             mov     ecx, $00000004
  93. 004CA808   BA1A000000             mov     edx, $0000001A
  94. 004CA80D   B830000000             mov     eax, $00000030
  95. 004CA812   E82961F4FF             call    00410940
  96. 004CA817   54                     push    esp
  97. 004CA818   6A01                   push    $01
  98. 004CA81A   8D442418               lea     eax, [esp+$18]
  99. 004CA81E   50                     push    eax
  100. 004CA81F   8B4338                 mov     eax, [ebx+$38]
  101. 004CA822   83E804                 sub     eax, +$04
  102. 004CA825   B904000000             mov     ecx, $00000004
  103. 004CA82A   8BD7                   mov     edx, edi
  104. 004CA82C   E80F61F4FF             call    00410940
  105. 004CA831   8D442414               lea     eax, [esp+$14]
  106. 004CA835   50                     push    eax
  107. 004CA836   8B4500                 mov     eax, [ebp+$00]
  108. 004CA839   8B80E80A0000           mov     eax, [eax+$0AE8]
  109. 004CA83F   E84C8BF5FF             call    00423390
  110. 004CA844   50                     push    eax
  111. 004CA845   8BC3                   mov     eax, ebx
  112. 004CA847   E8B42CF8FF             call    0044D500
  113. 004CA84C   59                     pop     ecx
  114. 004CA84D   5A                     pop     edx
  115. 004CA84E   E8F937F5FF             call    0041E04C
  116. 004CA853   47                     inc     edi
  117. 004CA854   4E                     dec     esi
  118. 004CA855   75A5                   jnz     004CA7FC
  119. 004CA857   8B7338                 mov     esi, [ebx+$38]
  120. 004CA85A   83EE18                 sub     esi, +$18
  121. 004CA85D   83EE18                 sub     esi, +$18
  122. 004CA860   7C5D                   jl      004CA8BF
  123. 004CA862   46                     inc     esi
  124. 004CA863   BF18000000             mov     edi, $00000018
  125. 004CA868   6A18                   push    $18
  126. 004CA86A   8D442404               lea     eax, [esp+$04]
  127. 004CA86E   50                     push    eax
  128. 004CA86F   B901000000             mov     ecx, $00000001
  129. 004CA874   BA01000000             mov     edx, $00000001
  130. 004CA879   B81A000000             mov     eax, $0000001A
  131. 004CA87E   E8BD60F4FF             call    00410940
  132. 004CA883   54                     push    esp
  133. 004CA884   6A18                   push    $18
  134. 004CA886   8D442418               lea     eax, [esp+$18]
  135. 004CA88A   50                     push    eax
  136. 004CA88B   B901000000             mov     ecx, $00000001
  137. 004CA890   33D2                   xor     edx, edx
  138. 004CA892   8BC7                   mov     eax, edi
  139. 004CA894   E8A760F4FF             call    00410940
  140. 004CA899   8D442414               lea     eax, [esp+$14]
  141. 004CA89D   50                     push    eax
  142. 004CA89E   8B4500                 mov     eax, [ebp+$00]
  143. 004CA8A1   8B80E80A0000           mov     eax, [eax+$0AE8]
  144. 004CA8A7   E8E48AF5FF             call    00423390
  145. 004CA8AC   50                     push    eax
  146. 004CA8AD   8BC3                   mov     eax, ebx
  147. 004CA8AF   E84C2CF8FF             call    0044D500
  148. 004CA8B4   59                     pop     ecx
  149. 004CA8B5   5A                     pop     edx
  150. 004CA8B6   E89137F5FF             call    0041E04C
  151. 004CA8BB   47                     inc     edi
  152. 004CA8BC   4E                     dec     esi
  153. 004CA8BD   75A9                   jnz     004CA868
  154. 004CA8BF   8B7338                 mov     esi, [ebx+$38]
  155. 004CA8C2   83EE04                 sub     esi, +$04
  156. 004CA8C5   83EE04                 sub     esi, +$04
  157. 004CA8C8   7C61                   jl      004CA92B
  158. 004CA8CA   46                     inc     esi
  159. 004CA8CB   BF04000000             mov     edi, $00000004
  160. 004CA8D0   6A04                   push    $04
  161. 004CA8D2   8D442404               lea     eax, [esp+$04]
  162. 004CA8D6   50                     push    eax
  163. 004CA8D7   B901000000             mov     ecx, $00000001
  164. 004CA8DC   BA1C000000             mov     edx, $0000001C
  165. 004CA8E1   B81A000000             mov     eax, $0000001A
  166. 004CA8E6   E85560F4FF             call    00410940
  167. 004CA8EB   54                     push    esp
  168. 004CA8EC   6A04                   push    $04
  169. 004CA8EE   8D442418               lea     eax, [esp+$18]
  170. 004CA8F2   50                     push    eax
  171. 004CA8F3   8B533C                 mov     edx, [ebx+$3C]
  172. 004CA8F6   83EA04                 sub     edx, +$04
  173. 004CA8F9   B901000000             mov     ecx, $00000001
  174. 004CA8FE   8BC7                   mov     eax, edi
  175. 004CA900   E83B60F4FF             call    00410940
  176. 004CA905   8D442414               lea     eax, [esp+$14]
  177. 004CA909   50                     push    eax
  178. 004CA90A   8B4500                 mov     eax, [ebp+$00]
  179. 004CA90D   8B80E80A0000           mov     eax, [eax+$0AE8]
  180. 004CA913   E8788AF5FF             call    00423390
  181. 004CA918   50                     push    eax
  182. 004CA919   8BC3                   mov     eax, ebx
  183. 004CA91B   E8E02BF8FF             call    0044D500
  184. 004CA920   59                     pop     ecx
  185. 004CA921   5A                     pop     edx
  186. 004CA922   E82537F5FF             call    0041E04C
  187. 004CA927   47                     inc     edi
  188. 004CA928   4E                     dec     esi
  189. 004CA929   75A5                   jnz     004CA8D0
  190. 004CA92B   6A18                   push    $18
  191. 004CA92D   8D442404               lea     eax, [esp+$04]
  192. 004CA931   50                     push    eax
  193. 004CA932   B918000000             mov     ecx, $00000018
  194. 004CA937   BA01000000             mov     edx, $00000001
  195. 004CA93C   B801000000             mov     eax, $00000001
  196. 004CA941   E8FA5FF4FF             call    00410940
  197. 004CA946   54                     push    esp
  198. 004CA947   6A18                   push    $18
  199. 004CA949   8D442418               lea     eax, [esp+$18]
  200. 004CA94D   50                     push    eax
  201. 004CA94E   B918000000             mov     ecx, $00000018
  202. 004CA953   33D2                   xor     edx, edx
  203. 004CA955   33C0                   xor     eax, eax
  204. 004CA957   E8E45FF4FF             call    00410940
  205. 004CA95C   8D442414               lea     eax, [esp+$14]
  206. 004CA960   50                     push    eax
  207. 004CA961   8B4500                 mov     eax, [ebp+$00]
  208. 004CA964   8B80E80A0000           mov     eax, [eax+$0AE8]
  209. 004CA96A   E8218AF5FF             call    00423390
  210. 004CA96F   50                     push    eax
  211. 004CA970   8BC3                   mov     eax, ebx
  212. 004CA972   E8892BF8FF             call    0044D500
  213. 004CA977   59                     pop     ecx
  214. 004CA978   5A                     pop     edx
  215. 004CA979   E8CE36F5FF             call    0041E04C
  216. 004CA97E   6A18                   push    $18
  217. 004CA980   8D442404               lea     eax, [esp+$04]
  218. 004CA984   50                     push    eax
  219. 004CA985   B918000000             mov     ecx, $00000018
  220. 004CA98A   BA01000000             mov     edx, $00000001
  221. 004CA98F   B81C000000             mov     eax, $0000001C
  222. 004CA994   E8A75FF4FF             call    00410940
  223. 004CA999   54                     push    esp
  224. 004CA99A   6A18                   push    $18
  225. 004CA99C   8D442418               lea     eax, [esp+$18]
  226. 004CA9A0   50                     push    eax
  227. 004CA9A1   8B4338                 mov     eax, [ebx+$38]
  228. 004CA9A4   83E818                 sub     eax, +$18
  229. 004CA9A7   B918000000             mov     ecx, $00000018
  230. 004CA9AC   33D2                   xor     edx, edx
  231. 004CA9AE   E88D5FF4FF             call    00410940
  232. 004CA9B3   8D442414               lea     eax, [esp+$14]
  233. 004CA9B7   50                     push    eax
  234. 004CA9B8   8B4500                 mov     eax, [ebp+$00]
  235. 004CA9BB   8B80E80A0000           mov     eax, [eax+$0AE8]
  236. 004CA9C1   E8CA89F5FF             call    00423390
  237. 004CA9C6   50                     push    eax
  238. 004CA9C7   8BC3                   mov     eax, ebx
  239. 004CA9C9   E8322BF8FF             call    0044D500
  240. 004CA9CE   59                     pop     ecx
  241. 004CA9CF   5A                     pop     edx
  242. 004CA9D0   E87736F5FF             call    0041E04C
  243. 004CA9D5   6A04                   push    $04
  244. 004CA9D7   8D442404               lea     eax, [esp+$04]
  245. 004CA9DB   50                     push    eax
  246. 004CA9DC   B904000000             mov     ecx, $00000004
  247. 004CA9E1   BA1C000000             mov     edx, $0000001C
  248. 004CA9E6   B801000000             mov     eax, $00000001
  249. 004CA9EB   E8505FF4FF             call    00410940
  250. 004CA9F0   54                     push    esp
  251. 004CA9F1   6A04                   push    $04
  252. 004CA9F3   8D442418               lea     eax, [esp+$18]
  253. 004CA9F7   50                     push    eax
  254. 004CA9F8   8B533C                 mov     edx, [ebx+$3C]
  255. 004CA9FB   83EA04                 sub     edx, +$04
  256. 004CA9FE   B904000000             mov     ecx, $00000004
  257. 004CAA03   33C0                   xor     eax, eax
  258. 004CAA05   E8365FF4FF             call    00410940
  259. 004CAA0A   8D442414               lea     eax, [esp+$14]
  260. 004CAA0E   50                     push    eax
  261. 004CAA0F   8B4500                 mov     eax, [ebp+$00]
  262. 004CAA12   8B80E80A0000           mov     eax, [eax+$0AE8]
  263. 004CAA18   E87389F5FF             call    00423390
  264. 004CAA1D   50                     push    eax
  265. 004CAA1E   8BC3                   mov     eax, ebx
  266. 004CAA20   E8DB2AF8FF             call    0044D500
  267. 004CAA25   59                     pop     ecx
  268. 004CAA26   5A                     pop     edx
  269. 004CAA27   E82036F5FF             call    0041E04C
  270. 004CAA2C   6A04                   push    $04
  271. 004CAA2E   8D442404               lea     eax, [esp+$04]
  272. 004CAA32   50                     push    eax
  273. 004CAA33   B904000000             mov     ecx, $00000004
  274. 004CAA38   BA1C000000             mov     edx, $0000001C
  275. 004CAA3D   B830000000             mov     eax, $00000030
  276. 004CAA42   E8F95EF4FF             call    00410940
  277. 004CAA47   54                     push    esp
  278. 004CAA48   6A04                   push    $04
  279. 004CAA4A   8D442418               lea     eax, [esp+$18]
  280. 004CAA4E   50                     push    eax
  281. 004CAA4F   8B533C                 mov     edx, [ebx+$3C]
  282. 004CAA52   83EA04                 sub     edx, +$04
  283. 004CAA55   8B4338                 mov     eax, [ebx+$38]
  284. 004CAA58   83E804                 sub     eax, +$04
  285. 004CAA5B   B904000000             mov     ecx, $00000004
  286. 004CAA60   E8DB5EF4FF             call    00410940
  287. 004CAA65   8D442414               lea     eax, [esp+$14]
  288. 004CAA69   50                     push    eax
  289. 004CAA6A   8B4500                 mov     eax, [ebp+$00]
  290. 004CAA6D   8B80E80A0000           mov     eax, [eax+$0AE8]
  291. 004CAA73   E81889F5FF             call    00423390
  292. 004CAA78   50                     push    eax
  293. 004CAA79   8BC3                   mov     eax, ebx
  294. 004CAA7B   E8802AF8FF             call    0044D500
  295. 004CAA80   59                     pop     ecx
  296. 004CAA81   5A                     pop     edx
  297. 004CAA82   E8C535F5FF             call    0041E04C
  298. 004CAA87   8BC3                   mov     eax, ebx
  299. 004CAA89   E8722AF8FF             call    0044D500
  300. 004CAA8E   8B4014                 mov     eax, [eax+$14]
  301. 004CAA91   8B5500                 mov     edx, [ebp+$00]
  302. 004CAA94   8B92180B0000           mov     edx, [edx+$0B18]
  303. 004CAA9A   E87D30F5FF             call    0041DB1C
  304. 004CAA9F   8B433C                 mov     eax, [ebx+$3C]
  305. 004CAAA2   83E81C                 sub     eax, +$1C
  306. 004CAAA5   50                     push    eax
  307. 004CAAA6   8D442404               lea     eax, [esp+$04]
  308. 004CAAAA   50                     push    eax
  309. 004CAAAB   8B4B38                 mov     ecx, [ebx+$38]
  310. 004CAAAE   83E908                 sub     ecx, +$08
  311. 004CAAB1   BA18000000             mov     edx, $00000018
  312. 004CAAB6   B804000000             mov     eax, $00000004
  313. 004CAABB   E8805EF4FF             call    00410940
  314. 004CAAC0   54                     push    esp
  315. 004CAAC1   8BC3                   mov     eax, ebx
  316. 004CAAC3   E8382AF8FF             call    0044D500
  317. 004CAAC8   5A                     pop     edx
  318. 004CAAC9   E82E37F5FF             call    0041E1FC
  319. 004CAACE   83C420                 add     esp, +$20
  320. 004CAAD1   5D                     pop     ebp
  321. 004CAAD2   5F                     pop     edi
  322. 004CAAD3   5E                     pop     esi
  323. 004CAAD4   5B                     pop     ebx
  324. 004CAAD5   C3                     ret
  325. }
  326.  end ; 
  327. procedure TAnim.FormResize(Sender: TObject);
  328. begin
  329. {
  330. 004CAAD8   8B10                   mov     edx, [eax]
  331. 004CAADA   FF5278                 call    dword ptr [edx+$78]
  332. 004CAADD   C3                     ret
  333. }
  334.  end ; 
  335. procedure TAnim.Timer1Timer(Sender: TObject);
  336. begin
  337. {
  338. 004CA698   53                     push    ebx
  339. 004CA699   56                     push    esi
  340. 004CA69A   57                     push    edi
  341. 004CA69B   8BD8                   mov     ebx, eax
  342. 004CA69D   BE10735400             mov     esi, $00547310
  343. 004CA6A2   BF14735400             mov     edi, $00547314
  344. 004CA6A7   A118735400             mov     eax, dword ptr [$547318]
  345. 004CA6AC   3B06                   cmp     eax, [esi]
  346. 004CA6AE   7E05                   jle     004CA6B5
  347. 004CA6B0   830623                 add     dword ptr [esi], +$23
  348. 004CA6B3   EB02                   jmp     004CA6B7
  349. 004CA6B5   8906                   mov     [esi], eax
  350. 004CA6B7   A11C735400             mov     eax, dword ptr [$54731C]
  351. 004CA6BC   3B07                   cmp     eax, [edi]
  352. 004CA6BE   7E05                   jle     004CA6C5
  353. 004CA6C0   830723                 add     dword ptr [edi], +$23
  354. 004CA6C3   EB02                   jmp     004CA6C7
  355. 004CA6C5   8907                   mov     [edi], eax
  356. 004CA6C7   8B06                   mov     eax, [esi]
  357. 004CA6C9   3B0518735400           cmp     eax, [$547318]
  358. 004CA6CF   7C07                   jl      004CA6D8
  359. 004CA6D1   A118735400             mov     eax, dword ptr [$547318]
  360. 004CA6D6   8906                   mov     [esi], eax
  361. 004CA6D8   8B07                   mov     eax, [edi]
  362. 004CA6DA   3B051C735400           cmp     eax, [$54731C]
  363. 004CA6E0   7C07                   jl      004CA6E9
  364. 004CA6E2   A11C735400             mov     eax, dword ptr [$54731C]
  365. 004CA6E7   8907                   mov     [edi], eax
  366. 004CA6E9   8B06                   mov     eax, [esi]
  367. 004CA6EB   D1F8                   sar     eax, 1
  368. 004CA6ED   7903                   jns     004CA6F2
  369. 004CA6EF   83D000                 adc     eax, +$00
  370. 004CA6F2   8B1508735400           mov     edx, [$547308]
  371. 004CA6F8   2BD0                   sub     edx, eax
  372. 004CA6FA   8BC3                   mov     eax, ebx
  373. 004CA6FC   E8ABB7F6FF             call    00435EAC
  374. 004CA701   8B07                   mov     eax, [edi]
  375. 004CA703   D1F8                   sar     eax, 1
  376. 004CA705   7903                   jns     004CA70A
  377. 004CA707   83D000                 adc     eax, +$00
  378. 004CA70A   8B150C735400           mov     edx, [$54730C]
  379. 004CA710   2BD0                   sub     edx, eax
  380. 004CA712   8BC3                   mov     eax, ebx
  381. 004CA714   E8B7B7F6FF             call    00435ED0
  382. 004CA719   8B16                   mov     edx, [esi]
  383. 004CA71B   8BC3                   mov     eax, ebx
  384. 004CA71D   E8D6B7F6FF             call    00435EF8
  385. 004CA722   8B17                   mov     edx, [edi]
  386. 004CA724   8BC3                   mov     eax, ebx
  387. 004CA726   E8F1B7F6FF             call    00435F1C
  388. 004CA72B   8B06                   mov     eax, [esi]
  389. 004CA72D   3B0518735400           cmp     eax, [$547318]
  390. 004CA733   0F9DC0                 setnl   al
  391. 004CA736   8B17                   mov     edx, [edi]
  392. 004CA738   3B151C735400           cmp     edx, [$54731C]
  393. 004CA73E   0F9DC2                 setnl   dl
  394. 004CA741   22C2                   and     al, dl
  395. 004CA743   7428                   jz      004CA76D
  396. 004CA745   33D2                   xor     edx, edx
  397. 004CA747   8B83C4020000           mov     eax, [ebx+$02C4]
  398. 004CA74D   E86EBAF8FF             call    004561C0
  399. 004CA752   A120735400             mov     eax, dword ptr [$547320]
  400. 004CA757   E82853F8FF             call    0044FA84
  401. 004CA75C   A100735400             mov     eax, dword ptr [$547300]
  402. 004CA761   E81653F8FF             call    0044FA7C
  403. 004CA766   C683CC02000001         mov     byte ptr [ebx+$02CC], $01
  404. 004CA76D   5F                     pop     edi
  405. 004CA76E   5E                     pop     esi
  406. 004CA76F   5B                     pop     ebx
  407. 004CA770   C3                     ret
  408. }
  409.  end ; 
  410. end.