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

远程控制编程

开发平台:

Delphi

  1. unit FindFilesUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls;
  6. type
  7.   TFindFiles=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     Label1: TLabel;
  11.     OutlookBtn1: TOutlookBtn;
  12.     OutlookBtn2: TOutlookBtn;
  13.     Lista: TListBox;
  14.     FlatHint: TFlatHint;
  15.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  16.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  17.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  18.     procedure CloseButtonClick(Sender: TObject);
  19.     procedure FormCreate(Sender: TObject);
  20.     procedure FormPaint(Sender: TObject);
  21.     procedure FormResize(Sender: TObject);
  22.     procedure OutlookBtn1Click(Sender: TObject);
  23.     procedure OutlookBtn2Click(Sender: TObject);
  24.   private
  25.     { Private declarations }
  26.   public
  27.     { Public declarations }
  28.   end ;
  29. var
  30.   FindFiles: TFindFiles;
  31. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  32. implementation
  33. {$R *.DFM}
  34. procedure TFindFiles.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  35. begin
  36. {
  37. 004D4FA0   55                     push    ebp
  38. 004D4FA1   8BEC                   mov     ebp, esp
  39. 004D4FA3   53                     push    ebx
  40. 004D4FA4   8BD8                   mov     ebx, eax
  41. 004D4FA6   8B83C4020000           mov     eax, [ebx+$02C4]
  42. 004D4FAC   8B4024                 mov     eax, [eax+$24]
  43. 004D4FAF   E82875F6FF             call    0043C4DC
  44. 004D4FB4   50                     push    eax
  45. * Reference to: SHBrowseForFolderA.SetCapture
  46. |
  47. 004D4FB5   E8BE28F3FF             call    00407878
  48. 004D4FBA   C783E8020000FFFFFFFF   mov     dword ptr [ebx+$02E8], $FFFFFFFF
  49. 004D4FC4   8B450C                 mov     eax, [ebp+$0C]
  50. 004D4FC7   8983E0020000           mov     [ebx+$02E0], eax
  51. 004D4FCD   8B4508                 mov     eax, [ebp+$08]
  52. 004D4FD0   8983E4020000           mov     [ebx+$02E4], eax
  53. 004D4FD6   5B                     pop     ebx
  54. 004D4FD7   5D                     pop     ebp
  55. 004D4FD8   C20C                   ret     $0C
  56. }
  57.  end ; 
  58. procedure TFindFiles.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  59. begin
  60. {
  61. 004D4FDC   55                     push    ebp
  62. 004D4FDD   8BEC                   mov     ebp, esp
  63. 004D4FDF   53                     push    ebx
  64. 004D4FE0   56                     push    esi
  65. 004D4FE1   8BD8                   mov     ebx, eax
  66. 004D4FE3   83BBE802000000         cmp     dword ptr [ebx+$02E8], +$00
  67. 004D4FEA   7433                   jz      004D501F
  68. 004D4FEC   8B83C4020000           mov     eax, [ebx+$02C4]
  69. 004D4FF2   8B7024                 mov     esi, [eax+$24]
  70. 004D4FF5   8B83E0020000           mov     eax, [ebx+$02E0]
  71. 004D4FFB   2B450C                 sub     eax, dword ptr [ebp+$0C]
  72. 004D4FFE   8B5630                 mov     edx, [esi+$30]
  73. 004D5001   2BD0                   sub     edx, eax
  74. 004D5003   8BC6                   mov     eax, esi
  75. 004D5005   E8A20EF6FF             call    00435EAC
  76. 004D500A   8B83E4020000           mov     eax, [ebx+$02E4]
  77. 004D5010   2B4508                 sub     eax, dword ptr [ebp+$08]
  78. 004D5013   8B5634                 mov     edx, [esi+$34]
  79. 004D5016   2BD0                   sub     edx, eax
  80. 004D5018   8BC6                   mov     eax, esi
  81. 004D501A   E8B10EF6FF             call    00435ED0
  82. 004D501F   5E                     pop     esi
  83. 004D5020   5B                     pop     ebx
  84. 004D5021   5D                     pop     ebp
  85. 004D5022   C208                   ret     $08
  86. }
  87.  end ; 
  88. procedure TFindFiles.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  89. begin
  90. {
  91. 004D5028   55                     push    ebp
  92. 004D5029   8BEC                   mov     ebp, esp
  93. 004D502B   53                     push    ebx
  94. 004D502C   56                     push    esi
  95. 004D502D   8BD8                   mov     ebx, eax
  96. 004D502F   83BBE802000000         cmp     dword ptr [ebx+$02E8], +$00
  97. 004D5036   7440                   jz      004D5078
  98. 004D5038   8B83C4020000           mov     eax, [ebx+$02C4]
  99. 004D503E   8B7024                 mov     esi, [eax+$24]
  100. * Reference to: SHBrowseForFolderA.ReleaseCapture
  101. |
  102. 004D5041   E8E227F3FF             call    00407828
  103. 004D5046   33C0                   xor     eax, eax
  104. 004D5048   8983E8020000           mov     [ebx+$02E8], eax
  105. 004D504E   8B83E0020000           mov     eax, [ebx+$02E0]
  106. 004D5054   2B450C                 sub     eax, dword ptr [ebp+$0C]
  107. 004D5057   8B5630                 mov     edx, [esi+$30]
  108. 004D505A   2BD0                   sub     edx, eax
  109. 004D505C   8BC6                   mov     eax, esi
  110. 004D505E   E8490EF6FF             call    00435EAC
  111. 004D5063   8B83E4020000           mov     eax, [ebx+$02E4]
  112. 004D5069   2B4508                 sub     eax, dword ptr [ebp+$08]
  113. 004D506C   8B5634                 mov     edx, [esi+$34]
  114. 004D506F   2BD0                   sub     edx, eax
  115. 004D5071   8BC6                   mov     eax, esi
  116. 004D5073   E8580EF6FF             call    00435ED0
  117. 004D5078   5E                     pop     esi
  118. 004D5079   5B                     pop     ebx
  119. 004D507A   5D                     pop     ebp
  120. 004D507B   C20C                   ret     $0C
  121. }
  122.  end ; 
  123. procedure TFindFiles.CloseButtonClick(Sender: TObject);
  124. begin
  125. {
  126. 004D4F98   E8DFAAF7FF             call    0044FA7C
  127. 004D4F9D   C3                     ret
  128. }
  129.  end ; 
  130. procedure TFindFiles.FormCreate(Sender: TObject);
  131. begin
  132. {
  133. 004D4D40   55                     push    ebp
  134. 004D4D41   8BEC                   mov     ebp, esp
  135. 004D4D43   6A00                   push    $00
  136. 004D4D45   6A00                   push    $00
  137. 004D4D47   53                     push    ebx
  138. 004D4D48   56                     push    esi
  139. 004D4D49   8BD8                   mov     ebx, eax
  140. 004D4D4B   8B35DC495400           mov     esi, [$5449DC]
  141. 004D4D51   33C0                   xor     eax, eax
  142. 004D4D53   55                     push    ebp
  143. 004D4D54   68594F4D00             push    $004D4F59
  144. ***** TRY
  145. |
  146. 004D4D59   64FF30                 push    dword ptr fs:[eax]
  147. 004D4D5C   648920                 mov     fs:[eax], esp
  148. 004D4D5F   8BC3                   mov     eax, ebx
  149. 004D4D61   E85EFEFFFF             call    004D4BC4
  150. 004D4D66   8B06                   mov     eax, [esi]
  151. 004D4D68   8A9085000000           mov     dl, byte ptr [eax+$0085]
  152. 004D4D6E   8BC3                   mov     eax, ebx
  153. 004D4D70   E8BF1AF6FF             call    00436834
  154. 004D4D75   C7430C03000000         mov     dword ptr [ebx+$0C], $00000003
  155. 004D4D7C   A1B44E5400             mov     eax, dword ptr [$544EB4]
  156. 004D4D81   8B00                   mov     eax, [eax]
  157. 004D4D83   E844BCF7FF             call    004509CC
  158. 004D4D88   8BD0                   mov     edx, eax
  159. 004D4D8A   2B5338                 sub     edx, dword ptr [ebx+$38]
  160. 004D4D8D   D1FA                   sar     edx, 1
  161. 004D4D8F   7903                   jns     004D4D94
  162. 004D4D91   83D200                 adc     edx, +$00
  163. 004D4D94   8BC3                   mov     eax, ebx
  164. 004D4D96   E81111F6FF             call    00435EAC
  165. 004D4D9B   A1B44E5400             mov     eax, dword ptr [$544EB4]
  166. 004D4DA0   8B00                   mov     eax, [eax]
  167. 004D4DA2   E819BCF7FF             call    004509C0
  168. 004D4DA7   8BD0                   mov     edx, eax
  169. 004D4DA9   2B533C                 sub     edx, dword ptr [ebx+$3C]
  170. 004D4DAC   D1FA                   sar     edx, 1
  171. 004D4DAE   7903                   jns     004D4DB3
  172. 004D4DB0   83D200                 adc     edx, +$00
  173. 004D4DB3   8BC3                   mov     eax, ebx
  174. 004D4DB5   E81611F6FF             call    00435ED0
  175. 004D4DBA   8D55F8                 lea     edx, [ebp-$08]
  176. 004D4DBD   8B430C                 mov     eax, [ebx+$0C]
  177. 004D4DC0   E8A740F3FF             call    00408E6C
  178. 004D4DC5   8D45F8                 lea     eax, [ebp-$08]
  179. * Possible String Reference to: "_x"
  180. |
  181. 004D4DC8   BA704F4D00             mov     edx, $004D4F70
  182. 004D4DCD   E80EF1F2FF             call    00403EE0
  183. 004D4DD2   8B55F8                 mov     edx, [ebp-$08]
  184. 004D4DD5   8D4DFC                 lea     ecx, [ebp-$04]
  185. 004D4DD8   8B06                   mov     eax, [esi]
  186. 004D4DDA   E895DE0300             call    00512C74
  187. 004D4DDF   837DFC00               cmp     dword ptr [ebp-$04], +$00
  188. 004D4DE3   7436                   jz      004D4E1B
  189. 004D4DE5   8D55F8                 lea     edx, [ebp-$08]
  190. 004D4DE8   8B430C                 mov     eax, [ebx+$0C]
  191. 004D4DEB   E87C40F3FF             call    00408E6C
  192. 004D4DF0   8D45F8                 lea     eax, [ebp-$08]
  193. * Possible String Reference to: "_x"
  194. |
  195. 004D4DF3   BA704F4D00             mov     edx, $004D4F70
  196. 004D4DF8   E8E3F0F2FF             call    00403EE0
  197. 004D4DFD   8B55F8                 mov     edx, [ebp-$08]
  198. 004D4E00   8D4DFC                 lea     ecx, [ebp-$04]
  199. 004D4E03   8B06                   mov     eax, [esi]
  200. 004D4E05   E86ADE0300             call    00512C74
  201. 004D4E0A   8B45FC                 mov     eax, [ebp-$04]
  202. 004D4E0D   E8BE40F3FF             call    00408ED0
  203. 004D4E12   8BD0                   mov     edx, eax
  204. 004D4E14   8BC3                   mov     eax, ebx
  205. 004D4E16   E89110F6FF             call    00435EAC
  206. 004D4E1B   8D55F8                 lea     edx, [ebp-$08]
  207. 004D4E1E   8B430C                 mov     eax, [ebx+$0C]
  208. 004D4E21   E84640F3FF             call    00408E6C
  209. 004D4E26   8D45F8                 lea     eax, [ebp-$08]
  210. * Possible String Reference to: "_y"
  211. |
  212. 004D4E29   BA7C4F4D00             mov     edx, $004D4F7C
  213. 004D4E2E   E8ADF0F2FF             call    00403EE0
  214. 004D4E33   8B55F8                 mov     edx, [ebp-$08]
  215. 004D4E36   8D4DFC                 lea     ecx, [ebp-$04]
  216. 004D4E39   8B06                   mov     eax, [esi]
  217. 004D4E3B   E834DE0300             call    00512C74
  218. 004D4E40   837DFC00               cmp     dword ptr [ebp-$04], +$00
  219. 004D4E44   7436                   jz      004D4E7C
  220. 004D4E46   8D55F8                 lea     edx, [ebp-$08]
  221. 004D4E49   8B430C                 mov     eax, [ebx+$0C]
  222. 004D4E4C   E81B40F3FF             call    00408E6C
  223. 004D4E51   8D45F8                 lea     eax, [ebp-$08]
  224. * Possible String Reference to: "_y"
  225. |
  226. 004D4E54   BA7C4F4D00             mov     edx, $004D4F7C
  227. 004D4E59   E882F0F2FF             call    00403EE0
  228. 004D4E5E   8B55F8                 mov     edx, [ebp-$08]
  229. 004D4E61   8D4DFC                 lea     ecx, [ebp-$04]
  230. 004D4E64   8B06                   mov     eax, [esi]
  231. 004D4E66   E809DE0300             call    00512C74
  232. 004D4E6B   8B45FC                 mov     eax, [ebp-$04]
  233. 004D4E6E   E85D40F3FF             call    00408ED0
  234. 004D4E73   8BD0                   mov     edx, eax
  235. 004D4E75   8BC3                   mov     eax, ebx
  236. 004D4E77   E85410F6FF             call    00435ED0
  237. 004D4E7C   8D55F8                 lea     edx, [ebp-$08]
  238. 004D4E7F   8B430C                 mov     eax, [ebx+$0C]
  239. 004D4E82   E8E53FF3FF             call    00408E6C
  240. 004D4E87   8D45F8                 lea     eax, [ebp-$08]
  241. * Possible String Reference to: "_h"
  242. |
  243. 004D4E8A   BA884F4D00             mov     edx, $004D4F88
  244. 004D4E8F   E84CF0F2FF             call    00403EE0
  245. 004D4E94   8B55F8                 mov     edx, [ebp-$08]
  246. 004D4E97   8D4DFC                 lea     ecx, [ebp-$04]
  247. 004D4E9A   8B06                   mov     eax, [esi]
  248. 004D4E9C   E8D3DD0300             call    00512C74
  249. 004D4EA1   837DFC00               cmp     dword ptr [ebp-$04], +$00
  250. 004D4EA5   7436                   jz      004D4EDD
  251. 004D4EA7   8D55F8                 lea     edx, [ebp-$08]
  252. 004D4EAA   8B430C                 mov     eax, [ebx+$0C]
  253. 004D4EAD   E8BA3FF3FF             call    00408E6C
  254. 004D4EB2   8D45F8                 lea     eax, [ebp-$08]
  255. * Possible String Reference to: "_h"
  256. |
  257. 004D4EB5   BA884F4D00             mov     edx, $004D4F88
  258. 004D4EBA   E821F0F2FF             call    00403EE0
  259. 004D4EBF   8B55F8                 mov     edx, [ebp-$08]
  260. 004D4EC2   8D4DFC                 lea     ecx, [ebp-$04]
  261. 004D4EC5   8B06                   mov     eax, [esi]
  262. 004D4EC7   E8A8DD0300             call    00512C74
  263. 004D4ECC   8B45FC                 mov     eax, [ebp-$04]
  264. 004D4ECF   E8FC3FF3FF             call    00408ED0
  265. 004D4ED4   8BD0                   mov     edx, eax
  266. 004D4ED6   8BC3                   mov     eax, ebx
  267. 004D4ED8   E83F10F6FF             call    00435F1C
  268. 004D4EDD   8D55F8                 lea     edx, [ebp-$08]
  269. 004D4EE0   8B430C                 mov     eax, [ebx+$0C]
  270. 004D4EE3   E8843FF3FF             call    00408E6C
  271. 004D4EE8   8D45F8                 lea     eax, [ebp-$08]
  272. * Possible String Reference to: "_w"
  273. |
  274. 004D4EEB   BA944F4D00             mov     edx, $004D4F94
  275. 004D4EF0   E8EBEFF2FF             call    00403EE0
  276. 004D4EF5   8B55F8                 mov     edx, [ebp-$08]
  277. 004D4EF8   8D4DFC                 lea     ecx, [ebp-$04]
  278. 004D4EFB   8B06                   mov     eax, [esi]
  279. 004D4EFD   E872DD0300             call    00512C74
  280. 004D4F02   837DFC00               cmp     dword ptr [ebp-$04], +$00
  281. 004D4F06   7436                   jz      004D4F3E
  282. 004D4F08   8D55F8                 lea     edx, [ebp-$08]
  283. 004D4F0B   8B430C                 mov     eax, [ebx+$0C]
  284. 004D4F0E   E8593FF3FF             call    00408E6C
  285. 004D4F13   8D45F8                 lea     eax, [ebp-$08]
  286. * Possible String Reference to: "_w"
  287. |
  288. 004D4F16   BA944F4D00             mov     edx, $004D4F94
  289. 004D4F1B   E8C0EFF2FF             call    00403EE0
  290. 004D4F20   8B55F8                 mov     edx, [ebp-$08]
  291. 004D4F23   8D4DFC                 lea     ecx, [ebp-$04]
  292. 004D4F26   8B06                   mov     eax, [esi]
  293. 004D4F28   E847DD0300             call    00512C74
  294. 004D4F2D   8B45FC                 mov     eax, [ebp-$04]
  295. 004D4F30   E89B3FF3FF             call    00408ED0
  296. 004D4F35   8BD0                   mov     edx, eax
  297. 004D4F37   8BC3                   mov     eax, ebx
  298. 004D4F39   E8BA0FF6FF             call    00435EF8
  299. 004D4F3E   33C0                   xor     eax, eax
  300. 004D4F40   5A                     pop     edx
  301. 004D4F41   59                     pop     ecx
  302. 004D4F42   59                     pop     ecx
  303. 004D4F43   648910                 mov     fs:[eax], edx
  304. ****** FINALLY
  305. |
  306. * Possible String Reference to: "^[YY]