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

📄 mscommv1.cod

📁 一个虚拟串口读取程序
💻 COD
📖 第 1 页 / 共 2 页
字号:
_TEXT	ENDS
PUBLIC	??1CMSCommV1Dlg@@UAE@XZ				; CMSCommV1Dlg::~CMSCommV1Dlg
EXTRN	?AfxEnableControlContainer@@YAXPAVCOccManager@@@Z:NEAR ; AfxEnableControlContainer
EXTRN	?Enable3dControls@CWinApp@@IAEHXZ:NEAR		; CWinApp::Enable3dControls
EXTRN	??0CMSCommV1Dlg@@QAE@PAVCWnd@@@Z:NEAR		; CMSCommV1Dlg::CMSCommV1Dlg
EXTRN	__except_list:DWORD
EXTRN	___CxxFrameHandler:NEAR
EXTRN	?DoModal@CDialog@@UAEHXZ:NEAR			; CDialog::DoModal
xdata$x	SEGMENT
$T61879	DD	019930520H
	DD	01H
	DD	FLAT:$T61882
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	ORG $+4
$T61882	DD	0ffffffffH
	DD	FLAT:$L61875
xdata$x	ENDS
_TEXT	SEGMENT
_this$ = -856
_dlg$ = -848
_nResponse$ = -16
$T61874 = -852
__$EHRec$ = -12
?InitInstance@CMSCommV1App@@UAEHXZ PROC NEAR		; CMSCommV1App::InitInstance

; 43   : {

  000ae	55		 push	 ebp
  000af	8b ec		 mov	 ebp, esp
  000b1	6a ff		 push	 -1
  000b3	68 00 00 00 00	 push	 $L61880
  000b8	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:__except_list
  000be	50		 push	 eax
  000bf	64 89 25 00 00
	00 00		 mov	 DWORD PTR fs:__except_list, esp
  000c6	81 ec 4c 03 00
	00		 sub	 esp, 844		; 0000034cH
  000cc	57		 push	 edi
  000cd	51		 push	 ecx
  000ce	8d bd a8 fc ff
	ff		 lea	 edi, DWORD PTR [ebp-856]
  000d4	b9 d3 00 00 00	 mov	 ecx, 211		; 000000d3H
  000d9	b8 cc cc cc cc	 mov	 eax, -858993460		; ccccccccH
  000de	f3 ab		 rep stosd
  000e0	59		 pop	 ecx
  000e1	89 8d a8 fc ff
	ff		 mov	 DWORD PTR _this$[ebp], ecx

; 44   : 	AfxEnableControlContainer();

  000e7	6a 00		 push	 0
  000e9	e8 00 00 00 00	 call	 ?AfxEnableControlContainer@@YAXPAVCOccManager@@@Z ; AfxEnableControlContainer
  000ee	83 c4 04	 add	 esp, 4

; 45   : 
; 46   : 	// Standard initialization
; 47   : 	// If you are not using these features and wish to reduce the size
; 48   : 	//  of your final executable, you should remove from the following
; 49   : 	//  the specific initialization routines you do not need.
; 50   : 
; 51   : #ifdef _AFXDLL
; 52   : 	Enable3dControls();			// Call this when using MFC in a shared DLL

  000f1	8b 8d a8 fc ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000f7	e8 00 00 00 00	 call	 ?Enable3dControls@CWinApp@@IAEHXZ ; CWinApp::Enable3dControls

; 53   : #else
; 54   : 	Enable3dControlsStatic();	// Call this when linking to MFC statically
; 55   : #endif
; 56   : 
; 57   : 	CMSCommV1Dlg dlg;

  000fc	6a 00		 push	 0
  000fe	8d 8d b0 fc ff
	ff		 lea	 ecx, DWORD PTR _dlg$[ebp]
  00104	e8 00 00 00 00	 call	 ??0CMSCommV1Dlg@@QAE@PAVCWnd@@@Z ; CMSCommV1Dlg::CMSCommV1Dlg
  00109	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0

; 58   : 	m_pMainWnd = &dlg;

  00110	8b 85 a8 fc ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00116	8d 8d b0 fc ff
	ff		 lea	 ecx, DWORD PTR _dlg$[ebp]
  0011c	89 48 20	 mov	 DWORD PTR [eax+32], ecx

; 59   : 	int nResponse = dlg.DoModal();

  0011f	8d 8d b0 fc ff
	ff		 lea	 ecx, DWORD PTR _dlg$[ebp]
  00125	e8 00 00 00 00	 call	 ?DoModal@CDialog@@UAEHXZ ; CDialog::DoModal
  0012a	89 45 f0	 mov	 DWORD PTR _nResponse$[ebp], eax

; 70   : 
; 71   : 	// Since the dialog has been closed, return FALSE so that we exit the
; 72   : 	//  application, rather than start the application's message pump.
; 73   : 	return FALSE;

  0012d	c7 85 ac fc ff
	ff 00 00 00 00	 mov	 DWORD PTR $T61874[ebp], 0
  00137	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0013e	8d 8d b0 fc ff
	ff		 lea	 ecx, DWORD PTR _dlg$[ebp]
  00144	e8 00 00 00 00	 call	 ??1CMSCommV1Dlg@@UAE@XZ	; CMSCommV1Dlg::~CMSCommV1Dlg
  00149	8b 85 ac fc ff
	ff		 mov	 eax, DWORD PTR $T61874[ebp]

; 74   : }

  0014f	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00152	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:__except_list, ecx
  00159	5f		 pop	 edi
  0015a	81 c4 58 03 00
	00		 add	 esp, 856		; 00000358H
  00160	3b ec		 cmp	 ebp, esp
  00162	e8 00 00 00 00	 call	 __chkesp
  00167	8b e5		 mov	 esp, ebp
  00169	5d		 pop	 ebp
  0016a	c3		 ret	 0
_TEXT	ENDS
text$x	SEGMENT
$L61875:
  00000	8d 8d b0 fc ff
	ff		 lea	 ecx, DWORD PTR _dlg$[ebp]
  00006	e8 00 00 00 00	 call	 ??1CMSCommV1Dlg@@UAE@XZ	; CMSCommV1Dlg::~CMSCommV1Dlg
  0000b	c3		 ret	 0
$L61880:
  0000c	b8 00 00 00 00	 mov	 eax, OFFSET FLAT:$T61879
  00011	e9 00 00 00 00	 jmp	 ___CxxFrameHandler
text$x	ENDS
?InitInstance@CMSCommV1App@@UAEHXZ ENDP			; CMSCommV1App::InitInstance
PUBLIC	??1CMSComm@@UAE@XZ				; CMSComm::~CMSComm
PUBLIC	??1CMSChart@@UAE@XZ				; CMSChart::~CMSChart
EXTRN	??1CComboBox@@UAE@XZ:NEAR			; CComboBox::~CComboBox
EXTRN	??1CEdit@@UAE@XZ:NEAR				; CEdit::~CEdit
EXTRN	??1CString@@QAE@XZ:NEAR				; CString::~CString
EXTRN	??1CDialog@@UAE@XZ:NEAR				; CDialog::~CDialog
EXTRN	??1CBrush@@UAE@XZ:NEAR				; CBrush::~CBrush
EXTRN	??1CButton@@UAE@XZ:NEAR				; CButton::~CButton
;	COMDAT xdata$x
xdata$x	SEGMENT
$T61898	DD	019930520H
	DD	0bH
	DD	FLAT:$T61900
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	ORG $+4
$T61900	DD	0ffffffffH
	DD	FLAT:$L61885
	DD	00H
	DD	FLAT:$L61886
	DD	01H
	DD	FLAT:$L61887
	DD	02H
	DD	FLAT:$L61888
	DD	03H
	DD	FLAT:$L61889
	DD	04H
	DD	FLAT:$L61890
	DD	05H
	DD	FLAT:$L61891
	DD	06H
	DD	FLAT:$L61892
	DD	07H
	DD	FLAT:$L61893
	DD	08H
	DD	FLAT:$L61894
	DD	09H
	DD	FLAT:$L61895
xdata$x	ENDS
;	COMDAT ??1CMSCommV1Dlg@@UAE@XZ
_TEXT	SEGMENT
_this$ = -16
__$EHRec$ = -12
??1CMSCommV1Dlg@@UAE@XZ PROC NEAR			; CMSCommV1Dlg::~CMSCommV1Dlg, COMDAT
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 $L61899
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:__except_list
  00010	50		 push	 eax
  00011	64 89 25 00 00
	00 00		 mov	 DWORD PTR fs:__except_list, esp
  00018	51		 push	 ecx
  00019	c7 45 f0 cc cc
	cc cc		 mov	 DWORD PTR [ebp-16], -858993460 ; ccccccccH
  00020	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00023	c7 45 fc 0a 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 10 ; 0000000aH
  0002a	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0002d	81 c1 34 03 00
	00		 add	 ecx, 820		; 00000334H
  00033	e8 00 00 00 00	 call	 ??1CBrush@@UAE@XZ	; CBrush::~CBrush
  00038	c6 45 fc 09	 mov	 BYTE PTR __$EHRec$[ebp+8], 9
  0003c	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0003f	81 c1 f4 02 00
	00		 add	 ecx, 756		; 000002f4H
  00045	e8 00 00 00 00	 call	 ??1CMSChart@@UAE@XZ	; CMSChart::~CMSChart
  0004a	c6 45 fc 08	 mov	 BYTE PTR __$EHRec$[ebp+8], 8
  0004e	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00051	81 c1 b4 02 00
	00		 add	 ecx, 692		; 000002b4H
  00057	e8 00 00 00 00	 call	 ??1CMSComm@@UAE@XZ	; CMSComm::~CMSComm
  0005c	c6 45 fc 07	 mov	 BYTE PTR __$EHRec$[ebp+8], 7
  00060	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00063	81 c1 b0 02 00
	00		 add	 ecx, 688		; 000002b0H
  00069	e8 00 00 00 00	 call	 ??1CString@@QAE@XZ	; CString::~CString
  0006e	c6 45 fc 06	 mov	 BYTE PTR __$EHRec$[ebp+8], 6
  00072	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00075	81 c1 70 02 00
	00		 add	 ecx, 624		; 00000270H
  0007b	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  00080	c6 45 fc 05	 mov	 BYTE PTR __$EHRec$[ebp+8], 5
  00084	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00087	81 c1 30 02 00
	00		 add	 ecx, 560		; 00000230H
  0008d	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  00092	c6 45 fc 04	 mov	 BYTE PTR __$EHRec$[ebp+8], 4
  00096	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00099	81 c1 f0 01 00
	00		 add	 ecx, 496		; 000001f0H
  0009f	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  000a4	c6 45 fc 03	 mov	 BYTE PTR __$EHRec$[ebp+8], 3
  000a8	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000ab	81 c1 b0 01 00
	00		 add	 ecx, 432		; 000001b0H
  000b1	e8 00 00 00 00	 call	 ??1CComboBox@@UAE@XZ	; CComboBox::~CComboBox
  000b6	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  000ba	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000bd	81 c1 70 01 00
	00		 add	 ecx, 368		; 00000170H
  000c3	e8 00 00 00 00	 call	 ??1CEdit@@UAE@XZ	; CEdit::~CEdit
  000c8	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  000cc	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000cf	81 c1 30 01 00
	00		 add	 ecx, 304		; 00000130H
  000d5	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  000da	c6 45 fc 00	 mov	 BYTE PTR __$EHRec$[ebp+8], 0
  000de	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000e1	83 c1 64	 add	 ecx, 100		; 00000064H
  000e4	e8 00 00 00 00	 call	 ??1CString@@QAE@XZ	; CString::~CString
  000e9	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  000f0	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000f3	e8 00 00 00 00	 call	 ??1CDialog@@UAE@XZ	; CDialog::~CDialog
  000f8	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  000fb	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:__except_list, ecx
  00102	83 c4 10	 add	 esp, 16			; 00000010H
  00105	3b ec		 cmp	 ebp, esp
  00107	e8 00 00 00 00	 call	 __chkesp
  0010c	8b e5		 mov	 esp, ebp
  0010e	5d		 pop	 ebp
  0010f	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
$L61885:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e8 00 00 00 00	 call	 ??1CDialog@@UAE@XZ	; CDialog::~CDialog
  00008	c3		 ret	 0
$L61886:
  00009	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000c	83 c1 64	 add	 ecx, 100		; 00000064H
  0000f	e8 00 00 00 00	 call	 ??1CString@@QAE@XZ	; CString::~CString
  00014	c3		 ret	 0
$L61887:
  00015	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00018	81 c1 30 01 00
	00		 add	 ecx, 304		; 00000130H
  0001e	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  00023	c3		 ret	 0
$L61888:
  00024	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00027	81 c1 70 01 00
	00		 add	 ecx, 368		; 00000170H
  0002d	e8 00 00 00 00	 call	 ??1CEdit@@UAE@XZ	; CEdit::~CEdit
  00032	c3		 ret	 0
$L61889:
  00033	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00036	81 c1 b0 01 00
	00		 add	 ecx, 432		; 000001b0H
  0003c	e8 00 00 00 00	 call	 ??1CComboBox@@UAE@XZ	; CComboBox::~CComboBox
  00041	c3		 ret	 0
$L61890:
  00042	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00045	81 c1 f0 01 00
	00		 add	 ecx, 496		; 000001f0H
  0004b	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  00050	c3		 ret	 0
$L61891:
  00051	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00054	81 c1 30 02 00
	00		 add	 ecx, 560		; 00000230H
  0005a	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  0005f	c3		 ret	 0
$L61892:
  00060	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00063	81 c1 70 02 00
	00		 add	 ecx, 624		; 00000270H
  00069	e8 00 00 00 00	 call	 ??1CButton@@UAE@XZ	; CButton::~CButton
  0006e	c3		 ret	 0
$L61893:
  0006f	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00072	81 c1 b0 02 00
	00		 add	 ecx, 688		; 000002b0H
  00078	e8 00 00 00 00	 call	 ??1CString@@QAE@XZ	; CString::~CString
  0007d	c3		 ret	 0
$L61894:
  0007e	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00081	81 c1 b4 02 00
	00		 add	 ecx, 692		; 000002b4H
  00087	e8 00 00 00 00	 call	 ??1CMSComm@@UAE@XZ	; CMSComm::~CMSComm
  0008c	c3		 ret	 0
$L61895:
  0008d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00090	81 c1 f4 02 00
	00		 add	 ecx, 756		; 000002f4H
  00096	e8 00 00 00 00	 call	 ??1CMSChart@@UAE@XZ	; CMSChart::~CMSChart
  0009b	c3		 ret	 0
$L61899:
  0009c	b8 00 00 00 00	 mov	 eax, OFFSET FLAT:$T61898
  000a1	e9 00 00 00 00	 jmp	 ___CxxFrameHandler
text$x	ENDS
??1CMSCommV1Dlg@@UAE@XZ ENDP				; CMSCommV1Dlg::~CMSCommV1Dlg
EXTRN	??1CWnd@@UAE@XZ:NEAR				; CWnd::~CWnd
;	COMDAT ??1CMSComm@@UAE@XZ
_TEXT	SEGMENT
_this$ = -4
??1CMSComm@@UAE@XZ PROC NEAR				; CMSComm::~CMSComm, 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
??1CMSComm@@UAE@XZ ENDP					; CMSComm::~CMSComm
_TEXT	ENDS
;	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
END

⌨️ 快捷键说明

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