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

📄 mscomm.cod

📁 一个虚拟串口读取程序
💻 COD
📖 第 1 页 / 共 5 页
字号:
; 67   : {

  00217	55		 push	 ebp
  00218	8b ec		 mov	 ebp, esp
  0021a	51		 push	 ecx
  0021b	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00222	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 68   : 	static BYTE parms[] =
; 69   : 		VTS_BOOL;
; 70   : 	InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 71   : 		 bNewValue);

  00225	8b 45 08	 mov	 eax, DWORD PTR _bNewValue$[ebp]
  00228	50		 push	 eax
  00229	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetCTSHolding@CMSComm@@QAEXH@Z@4PAEA
  0022e	6a 00		 push	 0
  00230	6a 00		 push	 0
  00232	6a 04		 push	 4
  00234	6a 05		 push	 5
  00236	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00239	51		 push	 ecx
  0023a	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  0023f	83 c4 1c	 add	 esp, 28			; 0000001cH

; 72   : }

  00242	83 c4 04	 add	 esp, 4
  00245	3b ec		 cmp	 ebp, esp
  00247	e8 00 00 00 00	 call	 __chkesp
  0024c	8b e5		 mov	 esp, ebp
  0024e	5d		 pop	 ebp
  0024f	c2 04 00	 ret	 4
?SetCTSHolding@CMSComm@@QAEXH@Z ENDP			; CMSComm::SetCTSHolding
_TEXT	ENDS
PUBLIC	?GetCTSHolding@CMSComm@@QAEHXZ			; CMSComm::GetCTSHolding
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetCTSHolding@CMSComm@@QAEHXZ PROC NEAR		; CMSComm::GetCTSHolding

; 75   : {

  00252	55		 push	 ebp
  00253	8b ec		 mov	 ebp, esp
  00255	83 ec 08	 sub	 esp, 8
  00258	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  0025f	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00266	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 76   : 	BOOL result;
; 77   : 	InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

  00269	6a 00		 push	 0
  0026b	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  0026e	50		 push	 eax
  0026f	6a 0b		 push	 11			; 0000000bH
  00271	6a 02		 push	 2
  00273	6a 05		 push	 5
  00275	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00278	51		 push	 ecx
  00279	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  0027e	83 c4 18	 add	 esp, 24			; 00000018H

; 78   : 	return result;

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

; 79   : }

  00284	83 c4 08	 add	 esp, 8
  00287	3b ec		 cmp	 ebp, esp
  00289	e8 00 00 00 00	 call	 __chkesp
  0028e	8b e5		 mov	 esp, ebp
  00290	5d		 pop	 ebp
  00291	c3		 ret	 0
?GetCTSHolding@CMSComm@@QAEHXZ ENDP			; CMSComm::GetCTSHolding
_TEXT	ENDS
PUBLIC	?SetDSRHolding@CMSComm@@QAEXH@Z			; CMSComm::SetDSRHolding
_TEXT	SEGMENT
_bNewValue$ = 8
_this$ = -4
?SetDSRHolding@CMSComm@@QAEXH@Z PROC NEAR		; CMSComm::SetDSRHolding

; 82   : {

  00292	55		 push	 ebp
  00293	8b ec		 mov	 ebp, esp
  00295	51		 push	 ecx
  00296	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0029d	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 83   : 	static BYTE parms[] =
; 84   : 		VTS_BOOL;
; 85   : 	InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 86   : 		 bNewValue);

  002a0	8b 45 08	 mov	 eax, DWORD PTR _bNewValue$[ebp]
  002a3	50		 push	 eax
  002a4	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetDSRHolding@CMSComm@@QAEXH@Z@4PAEA
  002a9	6a 00		 push	 0
  002ab	6a 00		 push	 0
  002ad	6a 04		 push	 4
  002af	6a 07		 push	 7
  002b1	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  002b4	51		 push	 ecx
  002b5	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  002ba	83 c4 1c	 add	 esp, 28			; 0000001cH

; 87   : }

  002bd	83 c4 04	 add	 esp, 4
  002c0	3b ec		 cmp	 ebp, esp
  002c2	e8 00 00 00 00	 call	 __chkesp
  002c7	8b e5		 mov	 esp, ebp
  002c9	5d		 pop	 ebp
  002ca	c2 04 00	 ret	 4
?SetDSRHolding@CMSComm@@QAEXH@Z ENDP			; CMSComm::SetDSRHolding
_TEXT	ENDS
PUBLIC	?GetDSRHolding@CMSComm@@QAEHXZ			; CMSComm::GetDSRHolding
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetDSRHolding@CMSComm@@QAEHXZ PROC NEAR		; CMSComm::GetDSRHolding

; 90   : {

  002cd	55		 push	 ebp
  002ce	8b ec		 mov	 ebp, esp
  002d0	83 ec 08	 sub	 esp, 8
  002d3	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  002da	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  002e1	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 91   : 	BOOL result;
; 92   : 	InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

  002e4	6a 00		 push	 0
  002e6	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  002e9	50		 push	 eax
  002ea	6a 0b		 push	 11			; 0000000bH
  002ec	6a 02		 push	 2
  002ee	6a 07		 push	 7
  002f0	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  002f3	51		 push	 ecx
  002f4	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  002f9	83 c4 18	 add	 esp, 24			; 00000018H

; 93   : 	return result;

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

; 94   : }

  002ff	83 c4 08	 add	 esp, 8
  00302	3b ec		 cmp	 ebp, esp
  00304	e8 00 00 00 00	 call	 __chkesp
  00309	8b e5		 mov	 esp, ebp
  0030b	5d		 pop	 ebp
  0030c	c3		 ret	 0
?GetDSRHolding@CMSComm@@QAEHXZ ENDP			; CMSComm::GetDSRHolding
_TEXT	ENDS
PUBLIC	?SetDTREnable@CMSComm@@QAEXH@Z			; CMSComm::SetDTREnable
_TEXT	SEGMENT
_bNewValue$ = 8
_this$ = -4
?SetDTREnable@CMSComm@@QAEXH@Z PROC NEAR		; CMSComm::SetDTREnable

; 97   : {

  0030d	55		 push	 ebp
  0030e	8b ec		 mov	 ebp, esp
  00310	51		 push	 ecx
  00311	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00318	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 98   : 	static BYTE parms[] =
; 99   : 		VTS_BOOL;
; 100  : 	InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 101  : 		 bNewValue);

  0031b	8b 45 08	 mov	 eax, DWORD PTR _bNewValue$[ebp]
  0031e	50		 push	 eax
  0031f	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetDTREnable@CMSComm@@QAEXH@Z@4PAEA
  00324	6a 00		 push	 0
  00326	6a 00		 push	 0
  00328	6a 04		 push	 4
  0032a	6a 09		 push	 9
  0032c	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0032f	51		 push	 ecx
  00330	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  00335	83 c4 1c	 add	 esp, 28			; 0000001cH

; 102  : }

  00338	83 c4 04	 add	 esp, 4
  0033b	3b ec		 cmp	 ebp, esp
  0033d	e8 00 00 00 00	 call	 __chkesp
  00342	8b e5		 mov	 esp, ebp
  00344	5d		 pop	 ebp
  00345	c2 04 00	 ret	 4
?SetDTREnable@CMSComm@@QAEXH@Z ENDP			; CMSComm::SetDTREnable
_TEXT	ENDS
PUBLIC	?GetDTREnable@CMSComm@@QAEHXZ			; CMSComm::GetDTREnable
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetDTREnable@CMSComm@@QAEHXZ PROC NEAR			; CMSComm::GetDTREnable

; 105  : {

  00348	55		 push	 ebp
  00349	8b ec		 mov	 ebp, esp
  0034b	83 ec 08	 sub	 esp, 8
  0034e	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  00355	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0035c	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 106  : 	BOOL result;
; 107  : 	InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

  0035f	6a 00		 push	 0
  00361	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  00364	50		 push	 eax
  00365	6a 0b		 push	 11			; 0000000bH
  00367	6a 02		 push	 2
  00369	6a 09		 push	 9
  0036b	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0036e	51		 push	 ecx
  0036f	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  00374	83 c4 18	 add	 esp, 24			; 00000018H

; 108  : 	return result;

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

; 109  : }

  0037a	83 c4 08	 add	 esp, 8
  0037d	3b ec		 cmp	 ebp, esp
  0037f	e8 00 00 00 00	 call	 __chkesp
  00384	8b e5		 mov	 esp, ebp
  00386	5d		 pop	 ebp
  00387	c3		 ret	 0
?GetDTREnable@CMSComm@@QAEHXZ ENDP			; CMSComm::GetDTREnable
_TEXT	ENDS
PUBLIC	?SetHandshaking@CMSComm@@QAEXJ@Z		; CMSComm::SetHandshaking
_TEXT	SEGMENT
_nNewValue$ = 8
_this$ = -4
?SetHandshaking@CMSComm@@QAEXJ@Z PROC NEAR		; CMSComm::SetHandshaking

; 112  : {

  00388	55		 push	 ebp
  00389	8b ec		 mov	 ebp, esp
  0038b	51		 push	 ecx
  0038c	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  00393	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 113  : 	static BYTE parms[] =
; 114  : 		VTS_I4;
; 115  : 	InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 116  : 		 nNewValue);

  00396	8b 45 08	 mov	 eax, DWORD PTR _nNewValue$[ebp]
  00399	50		 push	 eax
  0039a	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetHandshaking@CMSComm@@QAEXJ@Z@4PAEA
  0039f	6a 00		 push	 0
  003a1	6a 00		 push	 0
  003a3	6a 04		 push	 4
  003a5	6a 0a		 push	 10			; 0000000aH
  003a7	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  003aa	51		 push	 ecx
  003ab	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  003b0	83 c4 1c	 add	 esp, 28			; 0000001cH

; 117  : }

  003b3	83 c4 04	 add	 esp, 4
  003b6	3b ec		 cmp	 ebp, esp
  003b8	e8 00 00 00 00	 call	 __chkesp
  003bd	8b e5		 mov	 esp, ebp
  003bf	5d		 pop	 ebp
  003c0	c2 04 00	 ret	 4
?SetHandshaking@CMSComm@@QAEXJ@Z ENDP			; CMSComm::SetHandshaking
_TEXT	ENDS
PUBLIC	?GetHandshaking@CMSComm@@QAEJXZ			; CMSComm::GetHandshaking
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetHandshaking@CMSComm@@QAEJXZ PROC NEAR		; CMSComm::GetHandshaking

; 120  : {

  003c3	55		 push	 ebp
  003c4	8b ec		 mov	 ebp, esp
  003c6	83 ec 08	 sub	 esp, 8
  003c9	c7 45 f8 cc cc
	cc cc		 mov	 DWORD PTR [ebp-8], -858993460 ; ccccccccH
  003d0	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  003d7	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 121  : 	long result;
; 122  : 	InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

  003da	6a 00		 push	 0
  003dc	8d 45 fc	 lea	 eax, DWORD PTR _result$[ebp]
  003df	50		 push	 eax
  003e0	6a 03		 push	 3
  003e2	6a 02		 push	 2
  003e4	6a 0a		 push	 10			; 0000000aH
  003e6	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  003e9	51		 push	 ecx
  003ea	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  003ef	83 c4 18	 add	 esp, 24			; 00000018H

; 123  : 	return result;

  003f2	8b 45 fc	 mov	 eax, DWORD PTR _result$[ebp]

; 124  : }

  003f5	83 c4 08	 add	 esp, 8
  003f8	3b ec		 cmp	 ebp, esp
  003fa	e8 00 00 00 00	 call	 __chkesp
  003ff	8b e5		 mov	 esp, ebp
  00401	5d		 pop	 ebp
  00402	c3		 ret	 0
?GetHandshaking@CMSComm@@QAEJXZ ENDP			; CMSComm::GetHandshaking
_TEXT	ENDS
PUBLIC	?SetInBufferSize@CMSComm@@QAEXF@Z		; CMSComm::SetInBufferSize
_TEXT	SEGMENT
_nNewValue$ = 8
_this$ = -4
?SetInBufferSize@CMSComm@@QAEXF@Z PROC NEAR		; CMSComm::SetInBufferSize

; 127  : {

  00403	55		 push	 ebp
  00404	8b ec		 mov	 ebp, esp
  00406	51		 push	 ecx
  00407	c7 45 fc cc cc
	cc cc		 mov	 DWORD PTR [ebp-4], -858993460 ; ccccccccH
  0040e	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 128  : 	static BYTE parms[] =
; 129  : 		VTS_I2;
; 130  : 	InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
; 131  : 		 nNewValue);

  00411	0f bf 45 08	 movsx	 eax, WORD PTR _nNewValue$[ebp]
  00415	50		 push	 eax
  00416	68 00 00 00 00	 push	 OFFSET FLAT:_?parms@?1??SetInBufferSize@CMSComm@@QAEXF@Z@4PAEA
  0041b	6a 00		 push	 0
  0041d	6a 00		 push	 0
  0041f	6a 04		 push	 4
  00421	6a 0b		 push	 11			; 0000000bH
  00423	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00426	51		 push	 ecx
  00427	e8 00 00 00 00	 call	 ?InvokeHelper@CWnd@@QAAXJGGPAXPBEZZ ; CWnd::InvokeHelper
  0042c	83 c4 1c	 add	 esp, 28			; 0000001cH

; 132  : }

  0042f	83 c4 04	 add	 esp, 4
  00432	3b ec		 cmp	 ebp, esp
  00434	e8 00 00 00 00	 call	 __chkesp
  00439	8b e5		 mov	 esp, ebp
  0043b	5d		 pop	 ebp
  0043c	c2 04 00	 ret	 4
?SetInBufferSize@CMSComm@@QAEXF@Z ENDP			; CMSComm::SetInBufferSize
_TEXT	ENDS
PUBLIC	?GetInBufferSize@CMSComm@@QAEFXZ		; CMSComm::GetInBufferSize
_TEXT	SEGMENT
_this$ = -8
_result$ = -4
?GetInBufferSize@CMSComm@@QAEFXZ PROC NEAR		; CMSComm::GetInBufferSize

⌨️ 快捷键说明

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