⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mschart.cod

📁 一个虚拟串口读取程序
💻 COD
📖 第 1 页 / 共 5 页
字号:
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0000b	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  0000e	6a 00		 push	 0
  00010	6a 00		 push	 0
  00012	6a 00		 push	 0
  00014	8b 45 1c	 mov	 eax, DWORD PTR _nID$[ebp]
  00017	50		 push	 eax
  00018	8b 4d 18	 mov	 ecx, DWORD PTR _pParentWnd$[ebp]
  0001b	51		 push	 ecx
  0001c	8b 55 14	 mov	 edx, DWORD PTR _rect$[ebp]
  0001f	52		 push	 edx
  00020	8b 45 10	 mov	 eax, DWORD PTR _dwStyle$[ebp]
  00023	50		 push	 eax
  00024	8b 4d 0c	 mov	 ecx, DWORD PTR _lpszWindowName$[ebp]
  00027	51		 push	 ecx
  00028	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0002b	e8 00 00 00 00	 call	 ?GetClsid@CMSChart@@QAEABU_GUID@@XZ ; CMSChart::GetClsid
  00030	50		 push	 eax
  00031	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00034	e8 00 00 00 00	 call	 ?CreateControl@CWnd@@QAEHABU_GUID@@PBDKABUtagRECT@@PAV1@IPAVCFile@@HPAG@Z ; CWnd::CreateControl
  00039	83 c4 04	 add	 esp, 4
  0003c	3b ec		 cmp	 ebp, esp
  0003e	e8 00 00 00 00	 call	 __chkesp
  00043	8b e5		 mov	 esp, ebp
  00045	5d		 pop	 ebp
  00046	c2 1c 00	 ret	 28			; 0000001cH
?Create@CMSChart@@UAEHPBD0KABUtagRECT@@PAVCWnd@@IPAUCCreateContext@@@Z ENDP ; CMSChart::Create
_TEXT	ENDS
PUBLIC	?clsid@?1??GetClsid@CMSChart@@QAEABU_GUID@@XZ@4U3@B ; `CMSChart::GetClsid'::`2'::clsid
;	COMDAT ?clsid@?1??GetClsid@CMSChart@@QAEABU_GUID@@XZ@4U3@B
; File E:\VC++\Visual C++\Microsoft Visual C++ 6.0\WORKS\MSCommV1\mschart.h
CONST	SEGMENT
?clsid@?1??GetClsid@CMSChart@@QAEABU_GUID@@XZ@4U3@B DD 03a2b370cH ; `CMSChart::GetClsid'::`2'::clsid
	DW	0ba0aH
	DW	011d1H
	DB	0b1H
	DB	037H
	DB	00H
	DB	00H
	DB	0f8H
	DB	075H
	DB	03fH
	DB	05dH
CONST	ENDS
;	COMDAT ?GetClsid@CMSChart@@QAEABU_GUID@@XZ
_TEXT	SEGMENT
_this$ = -4
?GetClsid@CMSChart@@QAEABU_GUID@@XZ PROC NEAR		; CMSChart::GetClsid, COMDAT

; 21   : 	{

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0000b	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 22   : 		static CLSID const clsid
; 23   : 			= { 0x3a2b370c, 0xba0a, 0x11d1, { 0xb1, 0x37, 0x0, 0x0, 0xf8, 0x75, 0x3f, 0x5d } };
; 24   : 		return clsid;

  0000e	b8 00 00 00 00	 mov	 eax, OFFSET FLAT:?clsid@?1??GetClsid@CMSChart@@QAEABU_GUID@@XZ@4U3@B ; `CMSChart::GetClsid'::`2'::clsid

; 25   : 	}

  00013	8b e5		 mov	 esp, ebp
  00015	5d		 pop	 ebp
  00016	c3		 ret	 0
?GetClsid@CMSChart@@QAEABU_GUID@@XZ ENDP		; CMSChart::GetClsid
_TEXT	ENDS
PUBLIC	??1CMSChart@@UAE@XZ				; CMSChart::~CMSChart
;	COMDAT ??_GCMSChart@@UAEPAXI@Z
_TEXT	SEGMENT
___flags$ = 8
_this$ = -4
??_GCMSChart@@UAEPAXI@Z PROC NEAR			; CMSChart::`scalar deleting destructor', COMDAT
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0000b	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  0000e	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00011	e8 00 00 00 00	 call	 ??1CMSChart@@UAE@XZ	; CMSChart::~CMSChart
  00016	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00019	83 e0 01	 and	 eax, 1
  0001c	85 c0		 test	 eax, eax
  0001e	74 09		 je	 SHORT $L61592
  00020	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00023	51		 push	 ecx
  00024	e8 00 00 00 00	 call	 ??3CObject@@SGXPAX@Z	; CObject::operator delete
$L61592:
  00029	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0002c	83 c4 04	 add	 esp, 4
  0002f	3b ec		 cmp	 ebp, esp
  00031	e8 00 00 00 00	 call	 __chkesp
  00036	8b e5		 mov	 esp, ebp
  00038	5d		 pop	 ebp
  00039	c2 04 00	 ret	 4
??_GCMSChart@@UAEPAXI@Z ENDP				; CMSChart::`scalar deleting destructor'
_TEXT	ENDS
EXTRN	??1CWnd@@UAE@XZ:NEAR				; CWnd::~CWnd
;	COMDAT ??1CMSChart@@UAE@XZ
_TEXT	SEGMENT
_this$ = -4
??1CMSChart@@UAE@XZ PROC NEAR				; CMSChart::~CMSChart, COMDAT
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0000b	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  0000e	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00011	e8 00 00 00 00	 call	 ??1CWnd@@UAE@XZ		; CWnd::~CWnd
  00016	83 c4 04	 add	 esp, 4
  00019	3b ec		 cmp	 ebp, esp
  0001b	e8 00 00 00 00	 call	 __chkesp
  00020	8b e5		 mov	 esp, ebp
  00022	5d		 pop	 ebp
  00023	c3		 ret	 0
??1CMSChart@@UAE@XZ ENDP				; CMSChart::~CMSChart
_TEXT	ENDS
EXTRN	__imp_?classCWnd@CWnd@@2UCRuntimeClass@@B:BYTE
_TEXT	SEGMENT
?_GetBaseClass@CMSChart@@KGPAUCRuntimeClass@@XZ PROC NEAR ; CMSChart::_GetBaseClass

; 13   : IMPLEMENT_DYNCREATE(CMSChart, CWnd)

  00083	55		 push	 ebp
  00084	8b ec		 mov	 ebp, esp
  00086	a1 00 00 00 00	 mov	 eax, DWORD PTR __imp_?classCWnd@CWnd@@2UCRuntimeClass@@B
  0008b	5d		 pop	 ebp
  0008c	c3		 ret	 0
?_GetBaseClass@CMSChart@@KGPAUCRuntimeClass@@XZ ENDP	; CMSChart::_GetBaseClass
_this$ = -4
?GetRuntimeClass@CMSChart@@UBEPAUCRuntimeClass@@XZ PROC NEAR ; CMSChart::GetRuntimeClass

; 13   : IMPLEMENT_DYNCREATE(CMSChart, CWnd)

  0008d	55		 push	 ebp
  0008e	8b ec		 mov	 ebp, esp
  00090	51		 push	 ecx
  00091	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00098	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  0009b	b8 00 00 00 00	 mov	 eax, OFFSET FLAT:?classCMSChart@CMSChart@@2UCRuntimeClass@@B ; CMSChart::classCMSChart
  000a0	8b e5		 mov	 esp, ebp
  000a2	5d		 pop	 ebp
  000a3	c3		 ret	 0
?GetRuntimeClass@CMSChart@@UBEPAUCRuntimeClass@@XZ ENDP	; CMSChart::GetRuntimeClass
_TEXT	ENDS
PUBLIC	?GetAutoIncrement@CMSChart@@QAEHXZ		; CMSChart::GetAutoIncrement
EXTRN	?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ:NEAR	; CWnd::InvokeHelper
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetAutoIncrement@CMSChart@@QAEHXZ PROC NEAR		; CMSChart::GetAutoIncrement

; 22   : {

  000a4	55		 push	 ebp
  000a5	8b ec		 mov	 ebp, esp
  000a7	83 ec 08	 sub	 esp, 8
  000aa	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  000b1	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  000b8	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 23   : 	BOOL result;
; 24   : 	InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

  000bb	6a 00		 push	 0
  000bd	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  000c0	50		 push	 eax
  000c1	6a 0b		 push	 11			; 0000000bH
  000c3	6a 02		 push	 2
  000c5	6a 01		 push	 1
  000c7	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  000ca	51		 push	 ecx
  000cb	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  000d0	83 c4 18	 add	 esp, 24			; 00000018H

; 25   : 	return result;

  000d3	8b 45 fc	 mov	 eax, DWORD PTR _result$[ebp]

; 26   : }

  000d6	83 c4 08	 add	 esp, 8
  000d9	3b ec		 cmp	 ebp, esp
  000db	e8 00 00 00 00	 call	 __chkesp
  000e0	8b e5		 mov	 esp, ebp
  000e2	5d		 pop	 ebp
  000e3	c3		 ret	 0
?GetAutoIncrement@CMSChart@@QAEHXZ ENDP			; CMSChart::GetAutoIncrement
_TEXT	ENDS
PUBLIC	?SetAutoIncrement@CMSChart@@QAEXH@Z		; CMSChart::SetAutoIncrement
_TEXT	SEGMENT
_bNewValue$ = 8
_this$ = -4
?SetAutoIncrement@CMSChart@@QAEXH@Z PROC NEAR		; CMSChart::SetAutoIncrement

; 29   : {

  000e4	55		 push	 ebp
  000e5	8b ec		 mov	 ebp, esp
  000e7	51		 push	 ecx
  000e8	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  000ef	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 30   : 	static BYTE parms[] =
; 31   : 		VTS_BOOL;
; 32   : 	InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 33   : 		 bNewValue);

  000f2	8b 45 08	 mov	 eax, DWORD PTR _bNewValue$[ebp]
  000f5	50		 push	 eax
  000f6	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetAutoIncrement@CMSChart@@QAEXH@Z@4PAEA
  000fb	6a 00		 push	 0
  000fd	6a 00		 push	 0
  000ff	6a 04		 push	 4
  00101	6a 01		 push	 1
  00103	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00106	51		 push	 ecx
  00107	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  0010c	83 c4 1c	 add	 esp, 28			; 0000001cH

; 34   : }

  0010f	83 c4 04	 add	 esp, 4
  00112	3b ec		 cmp	 ebp, esp
  00114	e8 00 00 00 00	 call	 __chkesp
  00119	8b e5		 mov	 esp, ebp
  0011b	5d		 pop	 ebp
  0011c	c2 04 00	 ret	 4
?SetAutoIncrement@CMSChart@@QAEXH@Z ENDP		; CMSChart::SetAutoIncrement
_TEXT	ENDS
PUBLIC	?GetRandomFill@CMSChart@@QAEHXZ			; CMSChart::GetRandomFill
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetRandomFill@CMSChart@@QAEHXZ PROC NEAR		; CMSChart::GetRandomFill

; 37   : {

  0011f	55		 push	 ebp
  00120	8b ec		 mov	 ebp, esp
  00122	83 ec 08	 sub	 esp, 8
  00125	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  0012c	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00133	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 38   : 	BOOL result;
; 39   : 	InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

  00136	6a 00		 push	 0
  00138	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  0013b	50		 push	 eax
  0013c	6a 0b		 push	 11			; 0000000bH
  0013e	6a 02		 push	 2
  00140	6a 02		 push	 2
  00142	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00145	51		 push	 ecx
  00146	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  0014b	83 c4 18	 add	 esp, 24			; 00000018H

; 40   : 	return result;

  0014e	8b 45 fc	 mov	 eax, DWORD PTR _result$[ebp]

; 41   : }

  00151	83 c4 08	 add	 esp, 8
  00154	3b ec		 cmp	 ebp, esp
  00156	e8 00 00 00 00	 call	 __chkesp
  0015b	8b e5		 mov	 esp, ebp
  0015d	5d		 pop	 ebp
  0015e	c3		 ret	 0
?GetRandomFill@CMSChart@@QAEHXZ ENDP			; CMSChart::GetRandomFill
_TEXT	ENDS
PUBLIC	?SetRandomFill@CMSChart@@QAEXH@Z		; CMSChart::SetRandomFill
_TEXT	SEGMENT
_bNewValue$ = 8
_this$ = -4
?SetRandomFill@CMSChart@@QAEXH@Z PROC NEAR		; CMSChart::SetRandomFill

; 44   : {

  0015f	55		 push	 ebp
  00160	8b ec		 mov	 ebp, esp
  00162	51		 push	 ecx
  00163	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0016a	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 45   : 	static BYTE parms[] =
; 46   : 		VTS_BOOL;
; 47   : 	InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 48   : 		 bNewValue);

  0016d	8b 45 08	 mov	 eax, DWORD PTR _bNewValue$[ebp]
  00170	50		 push	 eax
  00171	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetRandomFill@CMSChart@@QAEXH@Z@4PAEA
  00176	6a 00		 push	 0
  00178	6a 00		 push	 0
  0017a	6a 04		 push	 4
  0017c	6a 02		 push	 2
  0017e	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00181	51		 push	 ecx
  00182	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  00187	83 c4 1c	 add	 esp, 28			; 0000001cH

; 49   : }

  0018a	83 c4 04	 add	 esp, 4
  0018d	3b ec		 cmp	 ebp, esp
  0018f	e8 00 00 00 00	 call	 __chkesp
  00194	8b e5		 mov	 esp, ebp
  00196	5d		 pop	 ebp
  00197	c2 04 00	 ret	 4
?SetRandomFill@CMSChart@@QAEXH@Z ENDP			; CMSChart::SetRandomFill
_TEXT	ENDS
PUBLIC	?GetChartType@CMSChart@@QAEJXZ			; CMSChart::GetChartType
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetChartType@CMSChart@@QAEJXZ PROC NEAR		; CMSChart::GetChartType

; 52   : {

  0019a	55		 push	 ebp
  0019b	8b ec		 mov	 ebp, esp
  0019d	83 ec 08	 sub	 esp, 8
  001a0	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  001a7	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  001ae	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 53   : 	long result;
; 54   : 	InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

  001b1	6a 00		 push	 0
  001b3	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  001b6	50		 push	 eax
  001b7	6a 03		 push	 3
  001b9	6a 02		 push	 2
  001bb	6a 03		 push	 3
  001bd	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  001c0	51		 push	 ecx
  001c1	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  001c6	83 c4 18	 add	 esp, 24			; 00000018H

; 55   : 	return result;

  001c9	8b 45 fc	 mov	 eax, DWORD PTR _result$[ebp]

; 56   : }

  001cc	83 c4 08	 add	 esp, 8
  001cf	3b ec		 cmp	 ebp, esp
  001d1	e8 00 00 00 00	 call	 __chkesp
  001d6	8b e5		 mov	 esp, ebp
  001d8	5d		 pop	 ebp
  001d9	c3		 ret	 0
?GetChartType@CMSChart@@QAEJXZ ENDP			; CMSChart::GetChartType
_TEXT	ENDS
PUBLIC	?SetChartType@CMSChart@@QAEXJ@Z			; CMSChart::SetChartType
_TEXT	SEGMENT
_nNewValue$ = 8
_this$ = -4
?SetChartType@CMSChart@@QAEXJ@Z PROC NEAR		; CMSChart::SetChartType

; 59   : {

  001da	55		 push	 ebp
  001db	8b ec		 mov	 ebp, esp
  001dd	51		 push	 ecx

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -