iptoolUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:55k
- unit iptoolUnit;
- interface
- uses
- Windows, Messages, SysUtils, Classes, Graphics,
- Controls, Forms, Dialogs, StdCtrls;
- type
- TIPTool=class(TForm)
- CaptionLabel: TLabel;
- CloseButton: TFlatSpeedButton;
- Label92: TLabel;
- OutlookBtn117: TOutlookBtn;
- OutlookBtn118: TOutlookBtn;
- OutlookBtn119: TOutlookBtn;
- Label93: TLabel;
- OutlookBtn1: TOutlookBtn;
- Label1: TLabel;
- Label2: TLabel;
- OutlookBtn2: TOutlookBtn;
- FlatEdit32: TFlatEdit;
- FlatEdit34: TFlatEdit;
- DisplayMemo: TMemo;
- FlatEdit1: TFlatEdit;
- PingUtil: TPing;
- procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CloseButtonClick(Sender: TObject);
- procedure FormCreate(Sender: TObject);
- procedure FormPaint(Sender: TObject);
- procedure FormResize(Sender: TObject);
- procedure OutlookBtn117Click(Sender: TObject);
- procedure OutlookBtn118Click(Sender: TObject);
- procedure OutlookBtn119Click(Sender: TObject);
- procedure OutlookBtn1Click(Sender: TObject);
- procedure OutlookBtn2Click(Sender: TObject);
- procedure PingUtilDisplay(Sender: TObject);{?}
- procedure PingUtilDnsLookupDone(Sender: TObject);{?}
- procedure PingUtilEchoReply(Sender: TObject);{?}
- procedure PingUtilEchoRequest(Sender: TObject);{?}
- private
- { Private declarations }
- public
- { Public declarations }
- end ;
- var
- IPTool: TIPTool;
- {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
- implementation
- {$R *.DFM}
- procedure TIPTool.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004E1BC8 55 push ebp
- 004E1BC9 8BEC mov ebp, esp
- 004E1BCB 53 push ebx
- 004E1BCC 8BD8 mov ebx, eax
- 004E1BCE 8B83C4020000 mov eax, [ebx+$02C4]
- 004E1BD4 8B4024 mov eax, [eax+$24]
- 004E1BD7 E800A9F5FF call 0043C4DC
- 004E1BDC 50 push eax
- * Reference to: SHBrowseForFolderA.SetCapture
- |
- 004E1BDD E8965CF2FF call 00407878
- 004E1BE2 C7830C030000FFFFFFFF mov dword ptr [ebx+$030C], $FFFFFFFF
- 004E1BEC 8B450C mov eax, [ebp+$0C]
- 004E1BEF 898304030000 mov [ebx+$0304], eax
- 004E1BF5 8B4508 mov eax, [ebp+$08]
- 004E1BF8 898308030000 mov [ebx+$0308], eax
- 004E1BFE 5B pop ebx
- 004E1BFF 5D pop ebp
- 004E1C00 C20C ret $0C
- }
- end ;
- procedure TIPTool.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004E1C04 55 push ebp
- 004E1C05 8BEC mov ebp, esp
- 004E1C07 53 push ebx
- 004E1C08 56 push esi
- 004E1C09 8BD8 mov ebx, eax
- 004E1C0B 83BB0C03000000 cmp dword ptr [ebx+$030C], +$00
- 004E1C12 7433 jz 004E1C47
- 004E1C14 8B83C4020000 mov eax, [ebx+$02C4]
- 004E1C1A 8B7024 mov esi, [eax+$24]
- 004E1C1D 8B8304030000 mov eax, [ebx+$0304]
- 004E1C23 2B450C sub eax, dword ptr [ebp+$0C]
- 004E1C26 8B5630 mov edx, [esi+$30]
- 004E1C29 2BD0 sub edx, eax
- 004E1C2B 8BC6 mov eax, esi
- 004E1C2D E87A42F5FF call 00435EAC
- 004E1C32 8B8308030000 mov eax, [ebx+$0308]
- 004E1C38 2B4508 sub eax, dword ptr [ebp+$08]
- 004E1C3B 8B5634 mov edx, [esi+$34]
- 004E1C3E 2BD0 sub edx, eax
- 004E1C40 8BC6 mov eax, esi
- 004E1C42 E88942F5FF call 00435ED0
- 004E1C47 5E pop esi
- 004E1C48 5B pop ebx
- 004E1C49 5D pop ebp
- 004E1C4A C208 ret $08
- }
- end ;
- procedure TIPTool.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004E1C50 55 push ebp
- 004E1C51 8BEC mov ebp, esp
- 004E1C53 53 push ebx
- 004E1C54 56 push esi
- 004E1C55 8BD8 mov ebx, eax
- 004E1C57 83BB0C03000000 cmp dword ptr [ebx+$030C], +$00
- 004E1C5E 7440 jz 004E1CA0
- 004E1C60 8B83C4020000 mov eax, [ebx+$02C4]
- 004E1C66 8B7024 mov esi, [eax+$24]
- * Reference to: SHBrowseForFolderA.ReleaseCapture
- |
- 004E1C69 E8BA5BF2FF call 00407828
- 004E1C6E 33C0 xor eax, eax
- 004E1C70 89830C030000 mov [ebx+$030C], eax
- 004E1C76 8B8304030000 mov eax, [ebx+$0304]
- 004E1C7C 2B450C sub eax, dword ptr [ebp+$0C]
- 004E1C7F 8B5630 mov edx, [esi+$30]
- 004E1C82 2BD0 sub edx, eax
- 004E1C84 8BC6 mov eax, esi
- 004E1C86 E82142F5FF call 00435EAC
- 004E1C8B 8B8308030000 mov eax, [ebx+$0308]
- 004E1C91 2B4508 sub eax, dword ptr [ebp+$08]
- 004E1C94 8B5634 mov edx, [esi+$34]
- 004E1C97 2BD0 sub edx, eax
- 004E1C99 8BC6 mov eax, esi
- 004E1C9B E83042F5FF call 00435ED0
- 004E1CA0 5E pop esi
- 004E1CA1 5B pop ebx
- 004E1CA2 5D pop ebp
- 004E1CA3 C20C ret $0C
- }
- end ;
- procedure TIPTool.CloseButtonClick(Sender: TObject);
- begin
- {
- 004E1BC0 E8B7DEF6FF call 0044FA7C
- 004E1BC5 C3 ret
- }
- end ;
- procedure TIPTool.FormCreate(Sender: TObject);
- begin
- {
- 004E1A44 55 push ebp
- 004E1A45 8BEC mov ebp, esp
- 004E1A47 6A00 push $00
- 004E1A49 6A00 push $00
- 004E1A4B 53 push ebx
- 004E1A4C 8BD8 mov ebx, eax
- 004E1A4E 33C0 xor eax, eax
- 004E1A50 55 push ebp
- 004E1A51 68991B4E00 push $004E1B99
- ***** TRY
- |
- 004E1A56 64FF30 push dword ptr fs:[eax]
- 004E1A59 648920 mov fs:[eax], esp
- 004E1A5C 8BC3 mov eax, ebx
- 004E1A5E E8B5FDFFFF call 004E1818
- 004E1A63 C7430C0E000000 mov dword ptr [ebx+$0C], $0000000E
- 004E1A6A A1B44E5400 mov eax, dword ptr [$544EB4]
- 004E1A6F 8B00 mov eax, [eax]
- 004E1A71 E856EFF6FF call 004509CC
- 004E1A76 8BD0 mov edx, eax
- 004E1A78 2B5338 sub edx, dword ptr [ebx+$38]
- 004E1A7B D1FA sar edx, 1
- 004E1A7D 7903 jns 004E1A82
- 004E1A7F 83D200 adc edx, +$00
- 004E1A82 8BC3 mov eax, ebx
- 004E1A84 E82344F5FF call 00435EAC
- 004E1A89 A1B44E5400 mov eax, dword ptr [$544EB4]
- 004E1A8E 8B00 mov eax, [eax]
- 004E1A90 E82BEFF6FF call 004509C0
- 004E1A95 8BD0 mov edx, eax
- 004E1A97 2B533C sub edx, dword ptr [ebx+$3C]
- 004E1A9A D1FA sar edx, 1
- 004E1A9C 7903 jns 004E1AA1
- 004E1A9E 83D200 adc edx, +$00
- 004E1AA1 8BC3 mov eax, ebx
- 004E1AA3 E82844F5FF call 00435ED0
- 004E1AA8 8D55F8 lea edx, [ebp-$08]
- 004E1AAB 8B430C mov eax, [ebx+$0C]
- 004E1AAE E8B973F2FF call 00408E6C
- 004E1AB3 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_x"
- |
- 004E1AB6 BAB01B4E00 mov edx, $004E1BB0
- 004E1ABB E82024F2FF call 00403EE0
- 004E1AC0 8B55F8 mov edx, [ebp-$08]
- 004E1AC3 8D4DFC lea ecx, [ebp-$04]
- 004E1AC6 A1DC495400 mov eax, dword ptr [$5449DC]
- 004E1ACB 8B00 mov eax, [eax]
- 004E1ACD E8A2110300 call 00512C74
- 004E1AD2 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004E1AD6 743B jz 004E1B13
- 004E1AD8 8D55F8 lea edx, [ebp-$08]
- 004E1ADB 8B430C mov eax, [ebx+$0C]
- 004E1ADE E88973F2FF call 00408E6C
- 004E1AE3 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_x"
- |
- 004E1AE6 BAB01B4E00 mov edx, $004E1BB0
- 004E1AEB E8F023F2FF call 00403EE0
- 004E1AF0 8B55F8 mov edx, [ebp-$08]
- 004E1AF3 8D4DFC lea ecx, [ebp-$04]
- 004E1AF6 A1DC495400 mov eax, dword ptr [$5449DC]
- 004E1AFB 8B00 mov eax, [eax]
- 004E1AFD E872110300 call 00512C74
- 004E1B02 8B45FC mov eax, [ebp-$04]
- 004E1B05 E8C673F2FF call 00408ED0
- 004E1B0A 8BD0 mov edx, eax
- 004E1B0C 8BC3 mov eax, ebx
- 004E1B0E E89943F5FF call 00435EAC
- 004E1B13 8D55F8 lea edx, [ebp-$08]
- 004E1B16 8B430C mov eax, [ebx+$0C]
- 004E1B19 E84E73F2FF call 00408E6C
- 004E1B1E 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_y"
- |
- 004E1B21 BABC1B4E00 mov edx, $004E1BBC
- 004E1B26 E8B523F2FF call 00403EE0
- 004E1B2B 8B55F8 mov edx, [ebp-$08]
- 004E1B2E 8D4DFC lea ecx, [ebp-$04]
- 004E1B31 A1DC495400 mov eax, dword ptr [$5449DC]
- 004E1B36 8B00 mov eax, [eax]
- 004E1B38 E837110300 call 00512C74
- 004E1B3D 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004E1B41 743B jz 004E1B7E
- 004E1B43 8D55F8 lea edx, [ebp-$08]
- 004E1B46 8B430C mov eax, [ebx+$0C]
- 004E1B49 E81E73F2FF call 00408E6C
- 004E1B4E 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_y"
- |
- 004E1B51 BABC1B4E00 mov edx, $004E1BBC
- 004E1B56 E88523F2FF call 00403EE0
- 004E1B5B 8B55F8 mov edx, [ebp-$08]
- 004E1B5E 8D4DFC lea ecx, [ebp-$04]
- 004E1B61 A1DC495400 mov eax, dword ptr [$5449DC]
- 004E1B66 8B00 mov eax, [eax]
- 004E1B68 E807110300 call 00512C74
- 004E1B6D 8B45FC mov eax, [ebp-$04]
- 004E1B70 E85B73F2FF call 00408ED0
- 004E1B75 8BD0 mov edx, eax
- 004E1B77 8BC3 mov eax, ebx
- 004E1B79 E85243F5FF call 00435ED0
- 004E1B7E 33C0 xor eax, eax
- 004E1B80 5A pop edx
- 004E1B81 59 pop ecx
- 004E1B82 59 pop ecx
- 004E1B83 648910 mov fs:[eax], edx
- ****** FINALLY
- |
- * Possible String Reference to: "[YY]