; Listing generated by Microsoft (R) Optimizing Compiler Version 15.00.21022.08 

	TITLE	c:\Develop\DScaler423a\DScaler\dshowsource\DSTVTuner.cpp
	.686P
	.XMM
	include listing.inc
	.model	flat

INCLUDELIB OLDNAMES

PUBLIC	??_R4CDShowTVTuner@@6B@				; CDShowTVTuner::`RTTI Complete Object Locator'
PUBLIC	??_R3CDShowTVTuner@@8				; CDShowTVTuner::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2CDShowTVTuner@@8				; CDShowTVTuner::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@CDShowTVTuner@@8			; CDShowTVTuner::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVCDShowTVTuner@@@8			; CDShowTVTuner `RTTI Type Descriptor'
PUBLIC	??_R4CDShowTvTunerException@@6B@		; CDShowTvTunerException::`RTTI Complete Object Locator'
PUBLIC	??_R3CDShowTvTunerException@@8			; CDShowTvTunerException::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2CDShowTvTunerException@@8			; CDShowTvTunerException::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@CDShowTvTunerException@@8		; CDShowTvTunerException::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@PAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::CComPtr<IAMTVTuner>
PUBLIC	??4?$CComPtr@UIAMTVTuner@@@ATL@@QAEPAUIAMTVTuner@@ABV01@@Z ; ATL::CComPtr<IAMTVTuner>::operator=
PUBLIC	??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ ; ATL::CComPtr<IAMTVTuner>::operator IAMTVTuner *
PUBLIC	?getObjectType@CDShowTVTuner@@UAE?AW4eDSObjectType@@XZ ; CDShowTVTuner::getObjectType
PUBLIC	??_GCDShowTVTuner@@UAEPAXI@Z			; CDShowTVTuner::`scalar deleting destructor'
PUBLIC	??0CDShowTvTunerException@@QAE@PBDJ@Z		; CDShowTvTunerException::CDShowTvTunerException
PUBLIC	??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
PUBLIC	??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
PUBLIC	??1CDShowTvTunerException@@UAE@XZ		; CDShowTvTunerException::~CDShowTvTunerException
PUBLIC	??_GCDShowTvTunerException@@UAEPAXI@Z		; CDShowTvTunerException::`scalar deleting destructor'
PUBLIC	??0CDShowTvTunerException@@QAE@ABV0@@Z		; CDShowTvTunerException::CDShowTvTunerException
PUBLIC	??_C@_1HA@GOBDGPDB@?$AAS?$AAo?$AAf?$AAt?$AAw?$AAa?$AAr?$AAe?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt?$AA?2?$AAT?$AAV?$AA?5?$AAS?$AAy?$AAs?$AAt?$AAe?$AAm?$AA?5?$AAS?$AAe?$AAr@ ; `string'
PUBLIC	??_C@_0BH@JILJKOLC@get_CountryCode?5failed?$AA@	; `string'
PUBLIC	??_R0?AVCDShowTvTunerException@@@8		; CDShowTvTunerException `RTTI Type Descriptor'
PUBLIC	__CT??_R0?AVCDShowTvTunerException@@@8??0CDShowTvTunerException@@QAE@ABV0@@Z44
PUBLIC	__CTA4?AVCDShowTvTunerException@@
PUBLIC	__TI4?AVCDShowTvTunerException@@
PUBLIC	??_C@_0BH@EGIFPKBB@put_CountryCode?5failed?$AA@	; `string'
PUBLIC	??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@	; `string'
PUBLIC	??_C@_0BF@FGOKCKLP@get_InputType?5failed?$AA@	; `string'
PUBLIC	??_C@_0BI@HPNGGOPI@put_ConnectInput?5failed?$AA@ ; `string'
PUBLIC	??_C@_0BF@JECPBFCO@put_InputType?5failed?$AA@	; `string'
PUBLIC	??_C@_0BD@NHKDMJEH@get_Channel?5failed?$AA@	; `string'
PUBLIC	??_C@_1EA@LCLCJBMK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAt?$AAo?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AA?$CF?$AAd?$AA?$AA@ ; `string'
PUBLIC	??_C@_1GG@CDKPHD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAs?$AAe?$AAt?$AAT?$AAu?$AAn?$AAe?$AAr?$AAF?$AAr?$AAe?$AAq?$AAu?$AAe?$AAn?$AAc?$AAy?$AA?5@ ; `string'
PUBLIC	??_C@_1FO@GNKPHPDJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@ ; `string'
PUBLIC	??_C@_1HA@LCJJBMGN@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAT?$AAr?$AAy?$AA?5?$AAo?$AAp?$AAe?$AAn?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk@ ; `string'
PUBLIC	??_C@_1EE@PHJMKLOK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CI@ ; `string'
PUBLIC	??_C@_1DO@FCCKIDKM@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?$AA@ ; `string'
PUBLIC	??_C@_1EO@MMEFBNOJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAo?$AAu?$AAn?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAe?$AA?5?$AAt?$AAu?$AAn?$AAe?$AAr?$AAs?$AAp@ ; `string'
PUBLIC	??_C@_1II@JAIEDDLH@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAf?$AAi?$AAn?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAt?$AAu?$AAn?$AAe@ ; `string'
PUBLIC	??_C@_1GO@FGMMFGAD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk?$AAe?$AAy?$AA?5?$AAc?$AAu@ ; `string'
PUBLIC	??_C@_1EE@LBCJKJBL@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAC?$AAa?$AAc?$AAh?$AAe?$AA?5?$AAt?$AAa?$AAg?$AA?5?$AAv?$AAa?$AAl?$AAu?$AAe?$AA?5?$AA?$CF?$AAl@ ; `string'
PUBLIC	??_C@_1BC@KLEIIHMG@?$AAA?$AAu?$AAt?$AAo?$AAT?$AAu?$AAn?$AAe?$AA?$AA@ ; `string'
PUBLIC	??_C@_0BH@OHLNOPNF@put_TuningSpace?5failed?$AA@	; `string'
PUBLIC	??_C@_1EM@ODFANBNB@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@ ; `string'
PUBLIC	??_C@_0BI@FKLNAGHF@Can?8t?5write?5to?5registry?$AA@ ; `string'
PUBLIC	??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@	; `string'
PUBLIC	??_C@_1M@ELLHDAHC@?$AA?$CD?$AA9?$AA9?$AA9?$AA9?$AA?$AA@ ; `string'
PUBLIC	??_C@_1BI@IIKLBMFD@?$AAk?$AAs?$AAt?$AAv?$AAt?$AAu?$AAn?$AAe?$AA?4?$AAa?$AAx?$AA?$AA@ ; `string'
PUBLIC	??_C@_1M@BMPCFMAI@?$AAC?$AAa?$AAb?$AAl?$AAe?$AA?$AA@ ; `string'
PUBLIC	??_C@_1BE@BPHMJEE@?$AAB?$AAr?$AAo?$AAa?$AAd?$AAc?$AAa?$AAs?$AAt?$AA?$AA@ ; `string'
PUBLIC	??_C@_1FM@HBPLNMAK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAc?$AAo?$AAu?$AAn?$AAt?$AAr?$AAy?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe@ ; `string'
PUBLIC	??_C@_1EG@HDPHLPEP@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$CI?$AA?$CF@ ; `string'
PUBLIC	??_C@_1EI@IDPACEFF@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAi?$AA?5?$AA?4?$AA?4?$AA?5@ ; `string'
PUBLIC	?DSUniFreqTable@CDShowTVTuner@@0QBJB		; CDShowTVTuner::DSUniFreqTable
PUBLIC	??_7CDShowTvTunerException@@6B@			; CDShowTvTunerException::`vftable'
PUBLIC	??_7CDShowTVTuner@@6B@				; CDShowTVTuner::`vftable'
EXTRN	__imp__RegDeleteKeyW@8:PROC
EXTRN	??_ECDShowTVTuner@@UAEPAXI@Z:PROC		; CDShowTVTuner::`vector deleting destructor'
EXTRN	__imp__RegCloseKey@4:PROC
EXTRN	__imp__RegCreateKeyExW@36:PROC
EXTRN	__imp__RegSetValueExW@24:PROC
EXTRN	__itow:PROC
EXTRN	??_ECDShowTvTunerException@@UAEPAXI@Z:PROC	; CDShowTvTunerException::`vector deleting destructor'
EXTRN	__imp__FreeLibrary@4:PROC
EXTRN	__imp__LockResource@4:PROC
EXTRN	__imp__LoadResource@8:PROC
EXTRN	__imp__FindResourceW@12:PROC
;	COMDAT ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
_BSS	SEGMENT
?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA DD 01H DUP (?) ; `CDShowTVTuner::SetTunerFrequency'::`22'::AutoTuneTagCounter
;	COMDAT ??_7CDShowTVTuner@@6B@
CONST	SEGMENT
??_7CDShowTVTuner@@6B@ DD FLAT:??_R4CDShowTVTuner@@6B@	; CDShowTVTuner::`vftable'
	DD	FLAT:??_ECDShowTVTuner@@UAEPAXI@Z
	DD	FLAT:?getObjectType@CDShowTVTuner@@UAE?AW4eDSObjectType@@XZ
CONST	ENDS
;	COMDAT ??_R4CDShowTVTuner@@6B@
rdata$r	SEGMENT
??_R4CDShowTVTuner@@6B@ DD 00H				; CDShowTVTuner::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVCDShowTVTuner@@@8
	DD	FLAT:??_R3CDShowTVTuner@@8
rdata$r	ENDS
;	COMDAT ??_R3CDShowTVTuner@@8
rdata$r	SEGMENT
??_R3CDShowTVTuner@@8 DD 00H				; CDShowTVTuner::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	02H
	DD	FLAT:??_R2CDShowTVTuner@@8
rdata$r	ENDS
;	COMDAT ??_R2CDShowTVTuner@@8
rdata$r	SEGMENT
??_R2CDShowTVTuner@@8 DD FLAT:??_R1A@?0A@EA@CDShowTVTuner@@8 ; CDShowTVTuner::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@CDShowObject@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@CDShowTVTuner@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@CDShowTVTuner@@8 DD FLAT:??_R0?AVCDShowTVTuner@@@8 ; CDShowTVTuner::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	01H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3CDShowTVTuner@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVCDShowTVTuner@@@8
_DATA	SEGMENT
??_R0?AVCDShowTVTuner@@@8 DD FLAT:??_7type_info@@6B@	; CDShowTVTuner `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVCDShowTVTuner@@', 00H
_DATA	ENDS
;	COMDAT ??_7CDShowTvTunerException@@6B@
CONST	SEGMENT
??_7CDShowTvTunerException@@6B@ DD FLAT:??_R4CDShowTvTunerException@@6B@ ; CDShowTvTunerException::`vftable'
	DD	FLAT:??_ECDShowTvTunerException@@UAEPAXI@Z
	DD	FLAT:?what@runtime_error@std@@UBEPBDXZ
CONST	ENDS
;	COMDAT ??_R4CDShowTvTunerException@@6B@
rdata$r	SEGMENT
??_R4CDShowTvTunerException@@6B@ DD 00H			; CDShowTvTunerException::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVCDShowTvTunerException@@@8
	DD	FLAT:??_R3CDShowTvTunerException@@8
rdata$r	ENDS
;	COMDAT ??_R3CDShowTvTunerException@@8
rdata$r	SEGMENT
??_R3CDShowTvTunerException@@8 DD 00H			; CDShowTvTunerException::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	04H
	DD	FLAT:??_R2CDShowTvTunerException@@8
rdata$r	ENDS
;	COMDAT ??_R2CDShowTvTunerException@@8
rdata$r	SEGMENT
??_R2CDShowTvTunerException@@8 DD FLAT:??_R1A@?0A@EA@CDShowTvTunerException@@8 ; CDShowTvTunerException::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@CDShowException@@8
	DD	FLAT:??_R1A@?0A@EA@runtime_error@std@@8
	DD	FLAT:??_R1A@?0A@EA@exception@std@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@CDShowTvTunerException@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@CDShowTvTunerException@@8 DD FLAT:??_R0?AVCDShowTvTunerException@@@8 ; CDShowTvTunerException::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	03H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3CDShowTvTunerException@@8
rdata$r	ENDS
;	COMDAT ??_C@_1EI@IDPACEFF@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAi?$AA?5?$AA?4?$AA?4?$AA?5@
CONST	SEGMENT
??_C@_1EI@IDPACEFF@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAi?$AA?5?$AA?4?$AA?4?$AA?5@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'F', 00H, 'r', 00H, 'e', 00H, 'q', 00H, ' ', 00H, 't', 00H
	DB	'a', 00H, 'b', 00H, 'l', 00H, 'e', 00H, ' ', 00H, '[', 00H, '%'
	DB	00H, 'i', 00H, ' ', 00H, '.', 00H, '.', 00H, ' ', 00H, '%', 00H
	DB	'i', 00H, ']', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1EG@HDPHLPEP@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$CI?$AA?$CF@
CONST	SEGMENT
??_C@_1EG@HDPHLPEP@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$CI?$AA?$CF@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'L', 00H, 'o', 00H, 'a', 00H, 'd', 00H, ' ', 00H, 'f', 00H
	DB	'r', 00H, 'e', 00H, 'q', 00H, ' ', 00H, 't', 00H, 'a', 00H, 'b'
	DB	00H, 'l', 00H, 'e', 00H, ' ', 00H, '(', 00H, '%', 00H, 's', 00H
	DB	')', 00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1FM@HBPLNMAK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAc?$AAo?$AAu?$AAn?$AAt?$AAr?$AAy?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe@
CONST	SEGMENT
??_C@_1FM@HBPLNMAK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAc?$AAo?$AAu?$AAn?$AAt?$AAr?$AAy?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'L', 00H, 'o', 00H, 'a', 00H, 'd', 00H, ' ', 00H, 'c', 00H
	DB	'o', 00H, 'u', 00H, 'n', 00H, 't', 00H, 'r', 00H, 'y', 00H, ' '
	DB	00H, 't', 00H, 'a', 00H, 'b', 00H, 'l', 00H, 'e', 00H, ' ', 00H
	DB	'%', 00H, 'd', 00H, ' ', 00H, '(', 00H, '%', 00H, 's', 00H, ')'
	DB	00H, ' ', 00H, '(', 00H, '%', 00H, 's', 00H, ')', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1BE@BPHMJEE@?$AAB?$AAr?$AAo?$AAa?$AAd?$AAc?$AAa?$AAs?$AAt?$AA?$AA@
CONST	SEGMENT
??_C@_1BE@BPHMJEE@?$AAB?$AAr?$AAo?$AAa?$AAd?$AAc?$AAa?$AAs?$AAt?$AA?$AA@ DB 'B'
	DB	00H, 'r', 00H, 'o', 00H, 'a', 00H, 'd', 00H, 'c', 00H, 'a', 00H
	DB	's', 00H, 't', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1M@BMPCFMAI@?$AAC?$AAa?$AAb?$AAl?$AAe?$AA?$AA@
CONST	SEGMENT
??_C@_1M@BMPCFMAI@?$AAC?$AAa?$AAb?$AAl?$AAe?$AA?$AA@ DB 'C', 00H, 'a', 00H
	DB	'b', 00H, 'l', 00H, 'e', 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_1BI@IIKLBMFD@?$AAk?$AAs?$AAt?$AAv?$AAt?$AAu?$AAn?$AAe?$AA?4?$AAa?$AAx?$AA?$AA@
CONST	SEGMENT
??_C@_1BI@IIKLBMFD@?$AAk?$AAs?$AAt?$AAv?$AAt?$AAu?$AAn?$AAe?$AA?4?$AAa?$AAx?$AA?$AA@ DB 'k'
	DB	00H, 's', 00H, 't', 00H, 'v', 00H, 't', 00H, 'u', 00H, 'n', 00H
	DB	'e', 00H, '.', 00H, 'a', 00H, 'x', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1M@ELLHDAHC@?$AA?$CD?$AA9?$AA9?$AA9?$AA9?$AA?$AA@
CONST	SEGMENT
??_C@_1M@ELLHDAHC@?$AA?$CD?$AA9?$AA9?$AA9?$AA9?$AA?$AA@ DB '#', 00H, '9', 00H
	DB	'9', 00H, '9', 00H, '9', 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@
CONST	SEGMENT
??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@ DB '#', 00H, '%', 00H, 'd', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_0BI@FKLNAGHF@Can?8t?5write?5to?5registry?$AA@
CONST	SEGMENT
??_C@_0BI@FKLNAGHF@Can?8t?5write?5to?5registry?$AA@ DB 'Can''t write to r'
	DB	'egistry', 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1EM@ODFANBNB@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@
CONST	SEGMENT
??_C@_1EM@ODFANBNB@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'S', 00H, 'e', 00H, 't', 00H, ' ', 00H, 'c', 00H, 'h', 00H
	DB	'a', 00H, 'n', 00H, 'n', 00H, 'e', 00H, 'l', 00H, ' ', 00H, 't'
	DB	00H, 'o', 00H, ' ', 00H, 'i', 00H, 'n', 00H, 'd', 00H, 'e', 00H
	DB	'x', 00H, ' ', 00H, '%', 00H, 'd', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BH@OHLNOPNF@put_TuningSpace?5failed?$AA@
CONST	SEGMENT
??_C@_0BH@OHLNOPNF@put_TuningSpace?5failed?$AA@ DB 'put_TuningSpace faile'
	DB	'd', 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1BC@KLEIIHMG@?$AAA?$AAu?$AAt?$AAo?$AAT?$AAu?$AAn?$AAe?$AA?$AA@
CONST	SEGMENT
??_C@_1BC@KLEIIHMG@?$AAA?$AAu?$AAt?$AAo?$AAT?$AAu?$AAn?$AAe?$AA?$AA@ DB 'A'
	DB	00H, 'u', 00H, 't', 00H, 'o', 00H, 'T', 00H, 'u', 00H, 'n', 00H
	DB	'e', 00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1EE@LBCJKJBL@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAC?$AAa?$AAc?$AAh?$AAe?$AA?5?$AAt?$AAa?$AAg?$AA?5?$AAv?$AAa?$AAl?$AAu?$AAe?$AA?5?$AA?$CF?$AAl@
CONST	SEGMENT
??_C@_1EE@LBCJKJBL@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAC?$AAa?$AAc?$AAh?$AAe?$AA?5?$AAt?$AAa?$AAg?$AA?5?$AAv?$AAa?$AAl?$AAu?$AAe?$AA?5?$AA?$CF?$AAl@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'C', 00H, 'a', 00H, 'c', 00H, 'h', 00H, 'e', 00H, ' ', 00H
	DB	't', 00H, 'a', 00H, 'g', 00H, ' ', 00H, 'v', 00H, 'a', 00H, 'l'
	DB	00H, 'u', 00H, 'e', 00H, ' ', 00H, '%', 00H, 'l', 00H, 'd', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1GO@FGMMFGAD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk?$AAe?$AAy?$AA?5?$AAc?$AAu@
CONST	SEGMENT
??_C@_1GO@FGMMFGAD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk?$AAe?$AAy?$AA?5?$AAc?$AAu@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'S', 00H, 'e', 00H, 't', 00H, ' ', 00H, 'r', 00H, 'e', 00H
	DB	'g', 00H, 'i', 00H, 's', 00H, 't', 00H, 'r', 00H, 'y', 00H, 'k'
	DB	00H, 'e', 00H, 'y', 00H, ' ', 00H, 'c', 00H, 'u', 00H, 's', 00H
	DB	't', 00H, 'o', 00H, 'm', 00H, ' ', 00H, 'f', 00H, 'r', 00H, 'e'
	DB	00H, 'q', 00H, 'u', 00H, 'e', 00H, 'n', 00H, 'c', 00H, 'y', 00H
	DB	' ', 00H, '(', 00H, '%', 00H, 'd', 00H, ' ', 00H, 'H', 00H, 'z'
	DB	00H, ')', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1II@JAIEDDLH@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAf?$AAi?$AAn?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAt?$AAu?$AAn?$AAe@
CONST	SEGMENT
??_C@_1II@JAIEDDLH@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAf?$AAi?$AAn?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAt?$AAu?$AAn?$AAe@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'E', 00H, 'r', 00H, 'r', 00H, 'o', 00H, 'r', 00H, ' ', 00H
	DB	'f', 00H, 'i', 00H, 'n', 00H, 'd', 00H, 'i', 00H, 'n', 00H, 'g'
	DB	00H, ' ', 00H, 't', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H
	DB	's', 00H, 'p', 00H, 'a', 00H, 'c', 00H, 'e', 00H, '.', 00H, ' '
	DB	00H, 'C', 00H, 'h', 00H, 'a', 00H, 'n', 00H, 'g', 00H, 'e', 00H
	DB	' ', 00H, 't', 00H, 'o', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'x'
	DB	00H, 'e', 00H, 'd', 00H, ' ', 00H, 'f', 00H, 'r', 00H, 'e', 00H
	DB	'q', 00H, ' ', 00H, 't', 00H, 'a', 00H, 'b', 00H, 'l', 00H, 'e'
	DB	00H, 's', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1EO@MMEFBNOJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAo?$AAu?$AAn?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAe?$AA?5?$AAt?$AAu?$AAn?$AAe?$AAr?$AAs?$AAp@
CONST	SEGMENT
??_C@_1EO@MMEFBNOJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAo?$AAu?$AAn?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAe?$AA?5?$AAt?$AAu?$AAn?$AAe?$AAr?$AAs?$AAp@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'F', 00H, 'o', 00H, 'u', 00H, 'n', 00H, 'd', 00H, ' ', 00H
	DB	'f', 00H, 'r', 00H, 'e', 00H, 'e', 00H, ' ', 00H, 't', 00H, 'u'
	DB	00H, 'n', 00H, 'e', 00H, 'r', 00H, 's', 00H, 'p', 00H, 'a', 00H
	DB	'c', 00H, 'e', 00H, ' ', 00H, '%', 00H, 'd', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1DO@FCCKIDKM@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?$AA@
CONST	SEGMENT
??_C@_1DO@FCCKIDKM@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?$AA@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'E', 00H, 'r', 00H, 'r', 00H, 'o', 00H, 'r', 00H, ' ', 00H
	DB	'o', 00H, 'p', 00H, 'e', 00H, 'n', 00H, 'i', 00H, 'n', 00H, 'g'
	DB	00H, ' ', 00H, '%', 00H, 's', 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_1EE@PHJMKLOK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CI@
CONST	SEGMENT
??_C@_1EE@PHJMKLOK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CI@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'E', 00H, 'r', 00H, 'r', 00H, 'o', 00H, 'r', 00H, ' ', 00H
	DB	'o', 00H, 'p', 00H, 'e', 00H, 'n', 00H, 'i', 00H, 'n', 00H, 'g'
	DB	00H, ' ', 00H, '%', 00H, 's', 00H, ' ', 00H, '(', 00H, ')', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1HA@LCJJBMGN@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAT?$AAr?$AAy?$AA?5?$AAo?$AAp?$AAe?$AAn?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk@
CONST	SEGMENT
??_C@_1HA@LCJJBMGN@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAT?$AAr?$AAy?$AA?5?$AAo?$AAp?$AAe?$AAn?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'T', 00H, 'r', 00H, 'y', 00H, ' ', 00H, 'o', 00H, 'p', 00H
	DB	'e', 00H, 'n', 00H, ' ', 00H, 'r', 00H, 'e', 00H, 'g', 00H, 'i'
	DB	00H, 's', 00H, 't', 00H, 'r', 00H, 'y', 00H, 'k', 00H, 'e', 00H
	DB	'y', 00H, ' ', 00H, 'f', 00H, 'o', 00H, 'r', 00H, ' ', 00H, 'c'
	DB	00H, 'u', 00H, 's', 00H, 't', 00H, 'o', 00H, 'm', 00H, ' ', 00H
	DB	'f', 00H, 'r', 00H, 'e', 00H, 'q', 00H, 'u', 00H, 'e', 00H, 'n'
	DB	00H, 'c', 00H, 'y', 00H, 00H, 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_1FO@GNKPHPDJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@
CONST	SEGMENT
??_C@_1FO@GNKPHPDJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'S', 00H, 'e', 00H, 't', 00H, ' ', 00H, 'c', 00H, 'h', 00H
	DB	'a', 00H, 'n', 00H, 'n', 00H, 'e', 00H, 'l', 00H, ' ', 00H, 't'
	DB	00H, 'o', 00H, ' ', 00H, 'i', 00H, 'n', 00H, 'd', 00H, 'e', 00H
	DB	'x', 00H, ' ', 00H, '%', 00H, 'd', 00H, ' ', 00H, '(', 00H, 'c'
	DB	00H, 'a', 00H, 'c', 00H, 'h', 00H, 'e', 00H, 'd', 00H, ')', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1GG@CDKPHD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAs?$AAe?$AAt?$AAT?$AAu?$AAn?$AAe?$AAr?$AAF?$AAr?$AAe?$AAq?$AAu?$AAe?$AAn?$AAc?$AAy?$AA?5@
CONST	SEGMENT
??_C@_1GG@CDKPHD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAs?$AAe?$AAt?$AAT?$AAu?$AAn?$AAe?$AAr?$AAF?$AAr?$AAe?$AAq?$AAu?$AAe?$AAn?$AAc?$AAy?$AA?5@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 's', 00H, 'e', 00H, 't', 00H, 'T', 00H, 'u', 00H, 'n', 00H
	DB	'e', 00H, 'r', 00H, 'F', 00H, 'r', 00H, 'e', 00H, 'q', 00H, 'u'
	DB	00H, 'e', 00H, 'n', 00H, 'c', 00H, 'y', 00H, ' ', 00H, '(', 00H
	DB	'%', 00H, 'd', 00H, ')', 00H, ' ', 00H, '-', 00H, '>', 00H, ' '
	DB	00H, 'c', 00H, 'h', 00H, 'a', 00H, 'n', 00H, 'n', 00H, 'e', 00H
	DB	'l', 00H, ' ', 00H, '%', 00H, 'd', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EA@LCLCJBMK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAt?$AAo?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AA?$CF?$AAd?$AA?$AA@
CONST	SEGMENT
??_C@_1EA@LCLCJBMK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAt?$AAo?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AA?$CF?$AAd?$AA?$AA@ DB 'D'
	DB	00H, 'S', 00H, 'h', 00H, 'o', 00H, 'w', 00H, 'T', 00H, 'V', 00H
	DB	'T', 00H, 'u', 00H, 'n', 00H, 'e', 00H, 'r', 00H, ':', 00H, ' '
	DB	00H, 'S', 00H, 'e', 00H, 't', 00H, ' ', 00H, 't', 00H, 'o', 00H
	DB	' ', 00H, 'c', 00H, 'h', 00H, 'a', 00H, 'n', 00H, 'n', 00H, 'e'
	DB	00H, 'l', 00H, ' ', 00H, '%', 00H, 'd', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BD@NHKDMJEH@get_Channel?5failed?$AA@
CONST	SEGMENT
??_C@_0BD@NHKDMJEH@get_Channel?5failed?$AA@ DB 'get_Channel failed', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BF@JECPBFCO@put_InputType?5failed?$AA@
CONST	SEGMENT
??_C@_0BF@JECPBFCO@put_InputType?5failed?$AA@ DB 'put_InputType failed', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BI@HPNGGOPI@put_ConnectInput?5failed?$AA@
CONST	SEGMENT
??_C@_0BI@HPNGGOPI@put_ConnectInput?5failed?$AA@ DB 'put_ConnectInput fai'
	DB	'led', 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_0BF@FGOKCKLP@get_InputType?5failed?$AA@
CONST	SEGMENT
??_C@_0BF@FGOKCKLP@get_InputType?5failed?$AA@ DB 'get_InputType failed', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@
CONST	SEGMENT
??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@ DB 'ChannelMinMax failed', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_0BH@EGIFPKBB@put_CountryCode?5failed?$AA@
CONST	SEGMENT
??_C@_0BH@EGIFPKBB@put_CountryCode?5failed?$AA@ DB 'put_CountryCode faile'
	DB	'd', 00H					; `string'
CONST	ENDS
;	COMDAT __TI4?AVCDShowTvTunerException@@
xdata$x	SEGMENT
__TI4?AVCDShowTvTunerException@@ DD 00H
	DD	FLAT:??1CDShowTvTunerException@@UAE@XZ
	DD	00H
	DD	FLAT:__CTA4?AVCDShowTvTunerException@@
xdata$x	ENDS
;	COMDAT __CTA4?AVCDShowTvTunerException@@
xdata$x	SEGMENT
__CTA4?AVCDShowTvTunerException@@ DD 04H
	DD	FLAT:__CT??_R0?AVCDShowTvTunerException@@@8??0CDShowTvTunerException@@QAE@ABV0@@Z44
	DD	FLAT:__CT??_R0?AVCDShowException@@@8??0CDShowException@@QAE@ABV0@@Z44
	DD	FLAT:__CT??_R0?AVruntime_error@std@@@8??0runtime_error@std@@QAE@ABV01@@Z40
	DD	FLAT:__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
xdata$x	ENDS
;	COMDAT __CT??_R0?AVCDShowTvTunerException@@@8??0CDShowTvTunerException@@QAE@ABV0@@Z44
xdata$x	SEGMENT
__CT??_R0?AVCDShowTvTunerException@@@8??0CDShowTvTunerException@@QAE@ABV0@@Z44 DD 00H
	DD	FLAT:??_R0?AVCDShowTvTunerException@@@8
	DD	00H
	DD	0ffffffffH
	ORG $+4
	DD	02cH
	DD	FLAT:??0CDShowTvTunerException@@QAE@ABV0@@Z
xdata$x	ENDS
;	COMDAT ??_R0?AVCDShowTvTunerException@@@8
_DATA	SEGMENT
??_R0?AVCDShowTvTunerException@@@8 DD FLAT:??_7type_info@@6B@ ; CDShowTvTunerException `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVCDShowTvTunerException@@', 00H
_DATA	ENDS
;	COMDAT ??_C@_0BH@JILJKOLC@get_CountryCode?5failed?$AA@
CONST	SEGMENT
??_C@_0BH@JILJKOLC@get_CountryCode?5failed?$AA@ DB 'get_CountryCode faile'
	DB	'd', 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1HA@GOBDGPDB@?$AAS?$AAo?$AAf?$AAt?$AAw?$AAa?$AAr?$AAe?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt?$AA?2?$AAT?$AAV?$AA?5?$AAS?$AAy?$AAs?$AAt?$AAe?$AAm?$AA?5?$AAS?$AAe?$AAr@
CONST	SEGMENT
??_C@_1HA@GOBDGPDB@?$AAS?$AAo?$AAf?$AAt?$AAw?$AAa?$AAr?$AAe?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt?$AA?2?$AAT?$AAV?$AA?5?$AAS?$AAy?$AAs?$AAt?$AAe?$AAm?$AA?5?$AAS?$AAe?$AAr@ DB 'S'
	DB	00H, 'o', 00H, 'f', 00H, 't', 00H, 'w', 00H, 'a', 00H, 'r', 00H
	DB	'e', 00H, '\', 00H, 'M', 00H, 'i', 00H, 'c', 00H, 'r', 00H, 'o'
	DB	00H, 's', 00H, 'o', 00H, 'f', 00H, 't', 00H, '\', 00H, 'T', 00H
	DB	'V', 00H, ' ', 00H, 'S', 00H, 'y', 00H, 's', 00H, 't', 00H, 'e'
	DB	00H, 'm', 00H, ' ', 00H, 'S', 00H, 'e', 00H, 'r', 00H, 'v', 00H
	DB	'i', 00H, 'c', 00H, 'e', 00H, 's', 00H, '\', 00H, 'T', 00H, 'V'
	DB	00H, 'A', 00H, 'u', 00H, 't', 00H, 'o', 00H, 'T', 00H, 'u', 00H
	DB	'n', 00H, 'e', 00H, '\', 00H, 'T', 00H, 'S', 00H, '%', 00H, 'd'
	DB	00H, '-', 00H, '1', 00H, 00H, 00H		; `string'
?DSUniFreqTable@CDShowTVTuner@@0QBJB DD 01H		; CDShowTVTuner::DSUniFreqTable
	DD	0170H
	DD	02b275d0H
	DD	02ba16f0H
	DD	02c1b810H
	DD	02e03c90H
	DD	02f71ff0H
	DD	033428f0H
	DD	034b0c50H
	DD	036990d0H
	DD	037131f0H
	DD	03881550H
	DD	038fb670H
	DD	03a699d0H
	DD	03ae3af0H
	DD	03b5dc10H
	DD	03c51e50H
	DD	03d46090H
	DD	03e3a2d0H
	DD	03eb43f0H
	DD	04022750H
	DD	0420abd0H
	DD	045db4d0H
	DD	048b7b90H
	DD	049abdd0H
	DD	04eeaa30H
	DD	04f64b50H
	DD	0514cfd0H
	DD	05241210H
	DD	05611b10H
	DD	05705d50H
	DD	05ad6650H
	DD	05cbead0H
	DD	06183610H
	DD	06277850H
	DD	0645fcd0H
	DD	068305d0H
	DD	06b0cc90H
	DD	06de9350H
	DD	071b9c50H
	DD	072ade90H
	DD	073a20d0H
	DD	07866c10H
	DD	0795ae50H
	DD	07a4f090H
	DD	07f13bd0H
	DD	081f0290H
	DD	083d8710H
	DD	084cc950H
	DD	085c0b90H
	DD	08991490H
	DD	08a856d0H
	DD	08c6db50H
	DD	0903e450H
	DD	09132690H
	DD	0931ab10H
	DD	095f71d0H
	DD	098d3890H
	DD	099c7ad0H
	DD	09baff50H
	DD	09d983d0H
	DD	0a074a90H
	DD	0a168cd0H
	DD	0a351150H
	DD	0a721a50H
	DD	0a815c90H
	DD	0a909ed0H
	DD	0acda7d0H
	DD	0adcea10H
	DD	0aec2c50H
	DD	0af3cd70H
	DD	0afb6e90H
	DD	0b293550H
	DD	0b47b9d0H
	DD	0b663e50H
	DD	0b758090H
	DD	0b84c2d0H
	DD	0bb28990H
	DD	0be05050H
	DD	0bef9290H
	DD	0bfed4d0H
	DD	0c1d5950H
	DD	0c3bddd0H
	DD	0c5a6250H
	DD	0c69a490H
	DD	0c78e6d0H
	DD	0c882910H
	DD	0c976b50H
	DD	0cd47450H
	DD	0ce3b690H
	DD	0cf2f8d0H
	DD	0d4e8650H
	DD	0d5dc890H
	DD	0d6d0ad0H
	DD	0daa13d0H
	DD	0dc89850H
	DD	0dd7da90H
	DD	0e05a150H
	DD	0e2425d0H
	DD	0e336810H
	DD	0e51ec90H
	DD	0e612ed0H
	DD	0e7fb350H
	DD	0e9e37d0H
	DD	0ebcbc50H
	DD	0ecbfe90H
	DD	0edb40d0H
	DD	0f090790H
	DD	0f1849d0H
	DD	0f461090H
	DD	0f73d750H
	DD	0fc02290H
	DD	0fcf64d0H
	DD	0fdea710H
	DD	0102af250H
	DD	0103a3490H
	DD	0104976d0H
	DD	010867fd0H
	DD	010b44690H
	DD	010e20d50H
	DD	0111f1650H
	DD	0112e5890H
	DD	0113d9ad0H
	DD	01189e610H
	DD	011992850H
	DD	011f4b5d0H
	DD	012133a50H
	DD	012504350H
	DD	0128d4c50H
	DD	012abd0d0H
	DD	013075e50H
	DD	01362ebd0H
	DD	013817050H
	DD	013be7950H
	DD	013fb8250H
	DD	0141a06d0H
	DD	014759450H
	DD	014d121d0H
	DD	014efa650H
	DD	0152caf50H
	DD	01569b850H
	DD	015883cd0H
	DD	015e3ca50H
	DD	0163f57d0H
	DD	0165ddc50H
	DD	0169ae550H
	DD	016d7ee50H
	DD	016f672d0H
	DD	017520050H
	DD	017ad8dd0H
	DD	017cc1250H
	DD	018091b50H
	DD	018462450H
	DD	01864a8d0H
	DD	018c03650H
	DD	0191bc3d0H
	DD	0193a4850H
	DD	019775150H
	DD	019b45a50H
	DD	019d2ded0H
	DD	01a2e6c50H
	DD	01a89f9d0H
	DD	01aa87e50H
	DD	01ae58750H
	DD	01b229050H
	DD	01b4114d0H
	DD	01b9ca250H
	DD	01bf82fd0H
	DD	01c16b450H
	DD	01c53bd50H
	DD	01c7241d0H
	DD	01c90c650H
	DD	01caf4ad0H
	DD	01cb6ebf0H
	DD	01ccdcf50H
	DD	01d0ad850H
	DD	01d295cd0H
	DD	01d572390H
	DD	01d6665d0H
	DD	01d84ea50H
	DD	01dc1f350H
	DD	01de077d0H
	DD	01df75b30H
	DD	01dfefc50H
	DD	01e1d80d0H
	DD	01e3c0550H
	DD	01e790e50H
	DD	01e9792d0H
	DD	01ed49bd0H
	DD	01ef32050H
	DD	01f302950H
	DD	01f4eadd0H
	DD	01f6d3250H
	DD	01f8bb6d0H
	DD	01faa3b50H
	DD	01fd80210H
	DD	01fe74450H
	DD	02005c8d0H
	DD	02042d1d0H
	DD	020615650H
	DD	020877bf0H
	DD	0209e5f50H
	DD	020ada190H
	DD	020bce3d0H
	DD	020db6850H
	DD	020f9ecd0H
	DD	021187150H
	DD	02127b390H
	DD	021557a50H
	DD	02173fed0H
	DD	021834110H
	DD	021b107d0H
	DD	021c7eb30H
	DD	021cf8c50H
	DD	021ee10d0H
	DD	0220c9550H
	DD	0222b19d0H
	DD	022499e50H
	DD	02258e090H
	DD	0226822d0H
	DD	02286a750H
	DD	022c3b050H
	DD	022e234d0H
	DD	0231f3dd0H
	DD	0233dc250H
	DD	0237acb50H
	DD	023994fd0H
	DD	023b7d450H
	DD	023d658d0H
	DD	023f4dd50H
	DD	024041f90H
	DD	02431e650H
	DD	024506ad0H
	DD	0246eef50H
	DD	0248d73d0H
	DD	024abf850H
	DD	024d9bf10H
	DD	024e90150H
	DD	024f84390H
	DD	0250785d0H
	DD	025260a50H
	DD	025448ed0H
	DD	025631350H
	DD	025a01c50H
	DD	025af5e90H
	DD	025bea0d0H
	DD	025fba9d0H
	DD	0261a2e50H
	DD	02638b2d0H
	DD	026573750H
	DD	02675bbd0H
	DD	02684fe10H
	DD	026944050H
	DD	026b2c4d0H
	DD	026d14950H
	DD	026d8ea70H
	DD	026efcdd0H
	DD	0270e5250H
	DD	0272cd6d0H
	DD	0275a9d90H
	DD	02769dfd0H
	DD	027792210H
	DD	027886450H
	DD	027c56d50H
	DD	027e3f1d0H
	DD	028027650H
	DD	0281959b0H
	DD	02820fad0H
	DD	028303d10H
	DD	0283f7f50H
	DD	0287c8850H
	DD	0289b0cd0H
	DD	028b99150H
	DD	028d815d0H
	DD	028f69a50H
	DD	02905dc90H
	DD	02933a350H
	DD	0295227d0H
	DD	02970ac50H
	DD	0298f30d0H
	DD	029adb550H
	DD	029db7c10H
	DD	029eabe50H
	DD	02a0942d0H
	DD	02a464bd0H
	DD	02a64d050H
	DD	02aa1d950H
	DD	02aa97a70H
	DD	02ab11b90H
	DD	02ac05dd0H
	DD	02adee250H
	DD	02afd66d0H
	DD	02b1beb50H
	DD	02b49b210H
	DD	02b58f450H
	DD	02b7778d0H
	DD	02b86bb10H
	DD	02bb481d0H
	DD	02bd30650H
	DD	02be9e9b0H
	DD	02bf18ad0H
	DD	02c100f50H
	DD	02c2e93d0H
	DD	02c4d1850H
	DD	02c5c5a90H
	DD	02c6b9cd0H
	DD	02c8a2150H
	DD	02cc72a50H
	DD	02ce5aed0H
	DD	02d22b7d0H
	DD	02d31fa10H
	DD	02d413c50H
	DD	02d7e4550H
	DD	02d9cc9d0H
	DD	02dbb4e50H
	DD	02dd9d2d0H
	DD	02e079990H
	DD	02e356050H
	DD	02e726950H
	DD	02e90edd0H
	DD	02eaf7250H
	DD	02edd3910H
	DD	02eec7b50H
	DD	02f1a4210H
	DD	02f298450H
	DD	02f4808d0H
	DD	02fa39650H
	DD	02fb2d890H
	DD	02fba79b0H
	DD	02fff23d0H
	DD	0301da850H
	DD	0305ab150H
	DD	030887810H
	DD	03097ba50H
	DD	030b63ed0H
	DD	03111cc50H
	DD	0316d59d0H
	DD	0318bde50H
	DD	0319b2090H
	DD	031c8e750H
	DD	03205f050H
	DD	0322474d0H
	DD	032800250H
	DD	032db8fd0H
	DD	032fa1450H
	DD	033371d50H
	DD	033742650H
	DD	03392aad0H
	DD	033ee3850H
	DD	03449c5d0H
	DD	034a55350H
	DD	03500e0d0H
	DD	0355c6e50H
	DD	035b7fbd0H
	DD	036138950H
	DD	0366f16d0H
	DD	036caa450H
	DD	0372631d0H
	DD	03781bf50H
	DD	037dd4cd0H
	DD	03838da50H
	DD	0389467d0H
	DD	038eff550H
	DD	0394b82d0H
	DD	039a71050H
	DD	03a029dd0H
	DD	03a5e2b50H
	DD	03ab9b8d0H
	DD	03b154650H
	DD	03b70d3d0H
	DD	00H
; Function compile flags: /Odtp
; File c:\tools\winddk\3790.1830\inc\atl30\atlbase.h
;	COMDAT ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_pT$ = 8						; size = 4
??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z PROC ; ATL::CComPtr<IAMTVTuner>::operator==, COMDAT
; _this$ = ecx

; 736  :         {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 737  :                 return p == pT;

  00007	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000a	8b 08		 mov	 ecx, DWORD PTR [eax]
  0000c	33 c0		 xor	 eax, eax
  0000e	3b 4d 08	 cmp	 ecx, DWORD PTR _pT$[ebp]
  00011	0f 94 c0	 sete	 al

; 738  :         }

  00014	8b e5		 mov	 esp, ebp
  00016	5d		 pop	 ebp
  00017	c2 04 00	 ret	 4
??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ENDP ; ATL::CComPtr<IAMTVTuner>::operator==
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ PROC ; ATL::CComPtr<IAMTVTuner>::operator->, COMDAT
; _this$ = ecx

; 715  :         {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 716  :                 ATLASSERT(p!=NULL);
; 717  :                 return (_NoAddRefReleaseOnCComPtr<T>*)p;

  00007	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000a	8b 00		 mov	 eax, DWORD PTR [eax]

; 718  :         }

  0000c	8b e5		 mov	 esp, ebp
  0000e	5d		 pop	 ebp
  0000f	c3		 ret	 0
??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ENDP ; ATL::CComPtr<IAMTVTuner>::operator->
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ PROC ; ATL::CComPtr<IAMTVTuner>::operator IAMTVTuner *, COMDAT
; _this$ = ecx

; 699  :         {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 700  :                 return (T*)p;

  00007	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000a	8b 00		 mov	 eax, DWORD PTR [eax]

; 701  :         }

  0000c	8b e5		 mov	 esp, ebp
  0000e	5d		 pop	 ebp
  0000f	c3		 ret	 0
??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ ENDP ; ATL::CComPtr<IAMTVTuner>::operator IAMTVTuner *
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@PAUIAMTVTuner@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_lp$ = 8						; size = 4
??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@PAUIAMTVTuner@@@Z PROC ; ATL::CComPtr<IAMTVTuner>::CComPtr<IAMTVTuner>, COMDAT
; _this$ = ecx

; 674  :         CComPtr(T* lp)

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 675  :         {
; 676  :                 if ((p = lp) != NULL)

  00007	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000a	8b 4d 08	 mov	 ecx, DWORD PTR _lp$[ebp]
  0000d	89 08		 mov	 DWORD PTR [eax], ecx
  0000f	83 7d 08 00	 cmp	 DWORD PTR _lp$[ebp], 0
  00013	74 12		 je	 SHORT $LN2@CComPtr@12

; 677  :                         p->AddRef();

  00015	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  00018	8b 02		 mov	 eax, DWORD PTR [edx]
  0001a	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001d	8b 11		 mov	 edx, DWORD PTR [ecx]
  0001f	8b 00		 mov	 eax, DWORD PTR [eax]
  00021	52		 push	 edx
  00022	8b 48 04	 mov	 ecx, DWORD PTR [eax+4]
  00025	ff d1		 call	 ecx
$LN2@CComPtr@12:

; 678  :         }

  00027	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0002a	8b e5		 mov	 esp, ebp
  0002c	5d		 pop	 ebp
  0002d	c2 04 00	 ret	 4
??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@PAUIAMTVTuner@@@Z ENDP ; ATL::CComPtr<IAMTVTuner>::CComPtr<IAMTVTuner>
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\dshowsource\dstvtuner.h
_TEXT	ENDS
;	COMDAT ?getObjectType@CDShowTVTuner@@UAE?AW4eDSObjectType@@XZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
?getObjectType@CDShowTVTuner@@UAE?AW4eDSObjectType@@XZ PROC ; CDShowTVTuner::getObjectType, COMDAT
; _this$ = ecx

; 44   :     eDSObjectType getObjectType() {return DSHOW_TYPE_TUNER;}

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	33 c0		 xor	 eax, eax
  00009	8b e5		 mov	 esp, ebp
  0000b	5d		 pop	 ebp
  0000c	c3		 ret	 0
?getObjectType@CDShowTVTuner@@UAE?AW4eDSObjectType@@XZ ENDP ; CDShowTVTuner::getObjectType
; Function compile flags: /Odtp
; File c:\tools\winddk\3790.1830\inc\atl30\atlbase.h
;	COMDAT ??4?$CComPtr@UIAMTVTuner@@@ATL@@QAEPAUIAMTVTuner@@ABV01@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_lp$ = 8						; size = 4
??4?$CComPtr@UIAMTVTuner@@@ATL@@QAEPAUIAMTVTuner@@ABV01@@Z PROC ; ATL::CComPtr<IAMTVTuner>::operator=, COMDAT
; _this$ = ecx

; 724  :         {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 725  :                 return (T*)AtlComPtrAssign((IUnknown**)&p, lp.p);

  00007	8b 45 08	 mov	 eax, DWORD PTR _lp$[ebp]
  0000a	8b 08		 mov	 ecx, DWORD PTR [eax]
  0000c	51		 push	 ecx
  0000d	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  00010	52		 push	 edx
  00011	e8 00 00 00 00	 call	 ?AtlComPtrAssign@ATL@@YGPAUIUnknown@@PAPAU2@PAU2@@Z ; ATL::AtlComPtrAssign

; 726  :         }

  00016	8b e5		 mov	 esp, ebp
  00018	5d		 pop	 ebp
  00019	c2 04 00	 ret	 4
??4?$CComPtr@UIAMTVTuner@@@ATL@@QAEPAUIAMTVTuner@@ABV01@@Z ENDP ; ATL::CComPtr<IAMTVTuner>::operator=
PUBLIC	?FrequencyToChannel@CDShowTVTuner@@AAEHJ@Z	; CDShowTVTuner::FrequencyToChannel
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\dshowsource\dstvtuner.cpp
;	COMDAT ?FrequencyToChannel@CDShowTVTuner@@AAEHJ@Z
_TEXT	SEGMENT
_this$ = -20						; size = 4
_dwFreqFromTable$141079 = -16				; size = 4
_iClose$ = -12						; size = 4
_iDistance$ = -8					; size = 4
_i$ = -4						; size = 4
_dwFrequency$ = 8					; size = 4
?FrequencyToChannel@CDShowTVTuner@@AAEHJ@Z PROC		; CDShowTVTuner::FrequencyToChannel, COMDAT
; _this$ = ecx

; 587  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 14	 sub	 esp, 20			; 00000014H
  00006	56		 push	 esi
  00007	89 4d ec	 mov	 DWORD PTR _this$[ebp], ecx

; 588  :     int i;
; 589  :     int iClose = -1, iDistance;

  0000a	c7 45 f4 ff ff
	ff ff		 mov	 DWORD PTR _iClose$[ebp], -1

; 590  : 
; 591  :     for (i = 0; i < m_FrequencyTable.size(); i++)

  00011	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR _i$[ebp], 0
  00018	eb 09		 jmp	 SHORT $LN7@FrequencyT
$LN6@FrequencyT:
  0001a	8b 45 fc	 mov	 eax, DWORD PTR _i$[ebp]
  0001d	83 c0 01	 add	 eax, 1
  00020	89 45 fc	 mov	 DWORD PTR _i$[ebp], eax
$LN7@FrequencyT:
  00023	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00026	83 c1 20	 add	 ecx, 32			; 00000020H
  00029	e8 00 00 00 00	 call	 ?size@?$vector@JV?$allocator@J@std@@@std@@QBEIXZ ; std::vector<long,std::allocator<long> >::size
  0002e	39 45 fc	 cmp	 DWORD PTR _i$[ebp], eax
  00031	73 5f		 jae	 SHORT $LN5@FrequencyT

; 592  :     {
; 593  :         DWORD dwFreqFromTable = m_FrequencyTable[i];

  00033	8b 4d fc	 mov	 ecx, DWORD PTR _i$[ebp]
  00036	51		 push	 ecx
  00037	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0003a	83 c1 20	 add	 ecx, 32			; 00000020H
  0003d	e8 00 00 00 00	 call	 ??A?$vector@JV?$allocator@J@std@@@std@@QAEAAJI@Z ; std::vector<long,std::allocator<long> >::operator[]
  00042	8b 10		 mov	 edx, DWORD PTR [eax]
  00044	89 55 f0	 mov	 DWORD PTR _dwFreqFromTable$141079[ebp], edx

; 594  :         if (dwFreqFromTable == dwFrequency)

  00047	8b 45 f0	 mov	 eax, DWORD PTR _dwFreqFromTable$141079[ebp]
  0004a	3b 45 08	 cmp	 eax, DWORD PTR _dwFrequency$[ebp]
  0004d	75 0b		 jne	 SHORT $LN4@FrequencyT

; 595  :         {
; 596  :             //LOG(2,_T("Frequency to channel: %d -> %d. exact match"),dwFrequency,i+m_MinChannel);
; 597  :             return i+m_MinChannel;

  0004f	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00052	8b 45 fc	 mov	 eax, DWORD PTR _i$[ebp]
  00055	03 41 18	 add	 eax, DWORD PTR [ecx+24]
  00058	eb 5f		 jmp	 SHORT $LN8@FrequencyT
$LN4@FrequencyT:

; 598  :         }
; 599  :         if ((iClose < 0) || (abs((long)(dwFreqFromTable - dwFrequency)) < abs((long)iDistance)) )

  0005a	83 7d f4 00	 cmp	 DWORD PTR _iClose$[ebp], 0
  0005e	7c 21		 jl	 SHORT $LN2@FrequencyT
  00060	8b 55 f0	 mov	 edx, DWORD PTR _dwFreqFromTable$141079[ebp]
  00063	2b 55 08	 sub	 edx, DWORD PTR _dwFrequency$[ebp]
  00066	52		 push	 edx
  00067	e8 00 00 00 00	 call	 ?abs@@YAJJ@Z		; abs
  0006c	83 c4 04	 add	 esp, 4
  0006f	8b f0		 mov	 esi, eax
  00071	8b 45 f8	 mov	 eax, DWORD PTR _iDistance$[ebp]
  00074	50		 push	 eax
  00075	e8 00 00 00 00	 call	 ?abs@@YAJJ@Z		; abs
  0007a	83 c4 04	 add	 esp, 4
  0007d	3b f0		 cmp	 esi, eax
  0007f	7d 0f		 jge	 SHORT $LN3@FrequencyT
$LN2@FrequencyT:

; 600  :         {
; 601  :             // Closest match
; 602  :             iClose = i;

  00081	8b 4d fc	 mov	 ecx, DWORD PTR _i$[ebp]
  00084	89 4d f4	 mov	 DWORD PTR _iClose$[ebp], ecx

; 603  :             iDistance = dwFreqFromTable - dwFrequency;

  00087	8b 55 f0	 mov	 edx, DWORD PTR _dwFreqFromTable$141079[ebp]
  0008a	2b 55 08	 sub	 edx, DWORD PTR _dwFrequency$[ebp]
  0008d	89 55 f8	 mov	 DWORD PTR _iDistance$[ebp], edx
$LN3@FrequencyT:

; 604  :         }
; 605  :     }

  00090	eb 88		 jmp	 SHORT $LN6@FrequencyT
$LN5@FrequencyT:

; 606  :     if ((iClose >= 0) && (abs(iDistance) <= 250000))

  00092	83 7d f4 00	 cmp	 DWORD PTR _iClose$[ebp], 0
  00096	7c 1e		 jl	 SHORT $LN1@FrequencyT
  00098	8b 45 f8	 mov	 eax, DWORD PTR _iDistance$[ebp]
  0009b	50		 push	 eax
  0009c	e8 00 00 00 00	 call	 _abs
  000a1	83 c4 04	 add	 esp, 4
  000a4	3d 90 d0 03 00	 cmp	 eax, 250000		; 0003d090H
  000a9	7f 0b		 jg	 SHORT $LN1@FrequencyT

; 607  :     {
; 608  :         //LOG(2,_T("Frequency to channel: %d -> %d. close match (%d off)"),dwFrequency,i+m_MinChannel,iDistance);
; 609  :         return iClose+m_MinChannel;

  000ab	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000ae	8b 45 f4	 mov	 eax, DWORD PTR _iClose$[ebp]
  000b1	03 41 18	 add	 eax, DWORD PTR [ecx+24]
  000b4	eb 03		 jmp	 SHORT $LN8@FrequencyT
$LN1@FrequencyT:

; 610  :     }
; 611  :     return -1;

  000b6	83 c8 ff	 or	 eax, -1
$LN8@FrequencyT:

; 612  : }

  000b9	5e		 pop	 esi
  000ba	8b e5		 mov	 esp, ebp
  000bc	5d		 pop	 ebp
  000bd	c2 04 00	 ret	 4
?FrequencyToChannel@CDShowTVTuner@@AAEHJ@Z ENDP		; CDShowTVTuner::FrequencyToChannel
_TEXT	ENDS
PUBLIC	__$ArrayPad$
PUBLIC	??1CDShowTVTuner@@UAE@XZ			; CDShowTVTuner::~CDShowTVTuner
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??1CDShowTVTuner@@UAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$0
	DD	00H
	DD	FLAT:__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$1
	DD	01H
	DD	FLAT:__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$2
__ehfuncinfo$??1CDShowTVTuner@@UAE@XZ DD 019930522H
	DD	03H
	DD	FLAT:__unwindtable$??1CDShowTVTuner@@UAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??1CDShowTVTuner@@UAE@XZ
_TEXT	SEGMENT
_this$ = -432						; size = 4
$T321073 = -428						; size = 4
$T321072 = -424						; size = 4
_szKeyName$140776 = -420				; size = 400
__$ArrayPad$ = -16					; size = 4
__$EHRec$ = -12						; size = 12
??1CDShowTVTuner@@UAE@XZ PROC				; CDShowTVTuner::~CDShowTVTuner, COMDAT
; _this$ = ecx

; 75   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??1CDShowTVTuner@@UAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	81 ec a4 01 00
	00		 sub	 esp, 420		; 000001a4H
  00017	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0001c	33 c5		 xor	 eax, ebp
  0001e	89 45 f0	 mov	 DWORD PTR __$ArrayPad$[ebp], eax
  00021	50		 push	 eax
  00022	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  00025	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  0002b	89 8d 50 fe ff
	ff		 mov	 DWORD PTR _this$[ebp], ecx
  00031	8b 85 50 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00037	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CDShowTVTuner@@6B@
  0003d	c7 45 fc 02 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 2

; 76   :     if (m_AutoTuneInfo != NULL)

  00044	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0004a	83 79 3c 00	 cmp	 DWORD PTR [ecx+60], 0
  0004e	74 2b		 je	 SHORT $LN4@CDShowTVTu

; 77   :     {
; 78   :         delete[] m_AutoTuneInfo;

  00050	8b 95 50 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00056	8b 42 3c	 mov	 eax, DWORD PTR [edx+60]
  00059	89 85 58 fe ff
	ff		 mov	 DWORD PTR $T321072[ebp], eax
  0005f	8b 8d 58 fe ff
	ff		 mov	 ecx, DWORD PTR $T321072[ebp]
  00065	51		 push	 ecx
  00066	e8 00 00 00 00	 call	 ??_V@YAXPAX@Z		; operator delete[]
  0006b	83 c4 04	 add	 esp, 4

; 79   :         m_AutoTuneInfo = NULL;

  0006e	8b 95 50 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00074	c7 42 3c 00 00
	00 00		 mov	 DWORD PTR [edx+60], 0
$LN4@CDShowTVTu:

; 80   :     }
; 81   : 
; 82   :     if (m_AutoTuneTag != NULL)

  0007b	8b 85 50 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00081	83 78 40 00	 cmp	 DWORD PTR [eax+64], 0
  00085	74 2b		 je	 SHORT $LN3@CDShowTVTu

; 83   :     {
; 84   :         delete[] m_AutoTuneTag;

  00087	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0008d	8b 51 40	 mov	 edx, DWORD PTR [ecx+64]
  00090	89 95 54 fe ff
	ff		 mov	 DWORD PTR $T321073[ebp], edx
  00096	8b 85 54 fe ff
	ff		 mov	 eax, DWORD PTR $T321073[ebp]
  0009c	50		 push	 eax
  0009d	e8 00 00 00 00	 call	 ??_V@YAXPAX@Z		; operator delete[]
  000a2	83 c4 04	 add	 esp, 4

; 85   :         m_AutoTuneTag = NULL;

  000a5	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000ab	c7 41 40 00 00
	00 00		 mov	 DWORD PTR [ecx+64], 0
$LN3@CDShowTVTu:

; 86   :     }
; 87   : 
; 88   :     if (m_TVTuner != NULL)

  000b2	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000b8	83 c1 08	 add	 ecx, 8
  000bb	e8 00 00 00 00	 call	 ??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ ; ATL::CComPtr<IAMTVTuner>::operator IAMTVTuner *
  000c0	85 c0		 test	 eax, eax
  000c2	74 41		 je	 SHORT $LN5@CDShowTVTu

; 89   :     {
; 90   :         // Delete tuningspace
; 91   :         if (m_CustomFrequencyTable >= 0)

  000c4	8b 95 50 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  000ca	83 7a 38 00	 cmp	 DWORD PTR [edx+56], 0
  000ce	7c 35		 jl	 SHORT $LN5@CDShowTVTu

; 92   :         {
; 93   :             TCHAR szKeyName[200];
; 94   :             _sntprintf(szKeyName, 200, _T("Software\\Microsoft\\TV System Services\\TVAutoTune\\TS%d-1"),m_CustomFrequencyTable);

  000d0	8b 85 50 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  000d6	8b 48 38	 mov	 ecx, DWORD PTR [eax+56]
  000d9	51		 push	 ecx
  000da	68 00 00 00 00	 push	 OFFSET ??_C@_1HA@GOBDGPDB@?$AAS?$AAo?$AAf?$AAt?$AAw?$AAa?$AAr?$AAe?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt?$AA?2?$AAT?$AAV?$AA?5?$AAS?$AAy?$AAs?$AAt?$AAe?$AAm?$AA?5?$AAS?$AAe?$AAr@
  000df	68 c8 00 00 00	 push	 200			; 000000c8H
  000e4	8d 95 5c fe ff
	ff		 lea	 edx, DWORD PTR _szKeyName$140776[ebp]
  000ea	52		 push	 edx
  000eb	e8 00 00 00 00	 call	 __snwprintf
  000f0	83 c4 10	 add	 esp, 16			; 00000010H

; 95   :             RegDeleteKey(HKEY_LOCAL_MACHINE, szKeyName);

  000f3	8d 85 5c fe ff
	ff		 lea	 eax, DWORD PTR _szKeyName$140776[ebp]
  000f9	50		 push	 eax
  000fa	68 02 00 00 80	 push	 -2147483646		; 80000002H
  000ff	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegDeleteKeyW@8
$LN5@CDShowTVTu:

; 96   :         }
; 97   :     }
; 98   : }

  00105	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00109	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0010f	83 c1 20	 add	 ecx, 32			; 00000020H
  00112	e8 00 00 00 00	 call	 ??1?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::~vector<long,std::allocator<long> >
  00117	c6 45 fc 00	 mov	 BYTE PTR __$EHRec$[ebp+8], 0
  0011b	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00121	83 c1 08	 add	 ecx, 8
  00124	e8 00 00 00 00	 call	 ??1?$CComPtr@UIAMTVTuner@@@ATL@@QAE@XZ ; ATL::CComPtr<IAMTVTuner>::~CComPtr<IAMTVTuner>
  00129	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00130	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00136	e8 00 00 00 00	 call	 ??1CDShowObject@@UAE@XZ	; CDShowObject::~CDShowObject
  0013b	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0013e	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00145	59		 pop	 ecx
  00146	8b 4d f0	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  00149	33 cd		 xor	 ecx, ebp
  0014b	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00150	8b e5		 mov	 esp, ebp
  00152	5d		 pop	 ebp
  00153	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$0:
  00000	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00006	e9 00 00 00 00	 jmp	 ??1CDShowObject@@UAE@XZ	; CDShowObject::~CDShowObject
__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$1:
  0000b	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00011	83 c1 08	 add	 ecx, 8
  00014	e9 00 00 00 00	 jmp	 ??1?$CComPtr@UIAMTVTuner@@@ATL@@QAE@XZ ; ATL::CComPtr<IAMTVTuner>::~CComPtr<IAMTVTuner>
__unwindfunclet$??1CDShowTVTuner@@UAE@XZ$2:
  00019	8b 8d 50 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0001f	83 c1 20	 add	 ecx, 32			; 00000020H
  00022	e9 00 00 00 00	 jmp	 ??1?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::~vector<long,std::allocator<long> >
__ehhandler$??1CDShowTVTuner@@UAE@XZ:
  00027	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0002b	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0002e	8b 8a 58 fe ff
	ff		 mov	 ecx, DWORD PTR [edx-424]
  00034	33 c8		 xor	 ecx, eax
  00036	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0003b	8b 4a fc	 mov	 ecx, DWORD PTR [edx-4]
  0003e	33 c8		 xor	 ecx, eax
  00040	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00045	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??1CDShowTVTuner@@UAE@XZ
  0004a	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??1CDShowTVTuner@@UAE@XZ ENDP				; CDShowTVTuner::~CDShowTVTuner
; Function compile flags: /Odtp
;	COMDAT ??_GCDShowTVTuner@@UAEPAXI@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
___flags$ = 8						; size = 4
??_GCDShowTVTuner@@UAEPAXI@Z PROC			; CDShowTVTuner::`scalar deleting destructor', COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000a	e8 00 00 00 00	 call	 ??1CDShowTVTuner@@UAE@XZ ; CDShowTVTuner::~CDShowTVTuner
  0000f	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00012	83 e0 01	 and	 eax, 1
  00015	74 0c		 je	 SHORT $LN1@scalar@104
  00017	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	51		 push	 ecx
  0001b	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00020	83 c4 04	 add	 esp, 4
$LN1@scalar@104:
  00023	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00026	8b e5		 mov	 esp, ebp
  00028	5d		 pop	 ebp
  00029	c2 04 00	 ret	 4
??_GCDShowTVTuner@@UAEPAXI@Z ENDP			; CDShowTVTuner::`scalar deleting destructor'
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??1CDShowTvTunerException@@UAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??1CDShowTvTunerException@@UAE@XZ$0
__ehfuncinfo$??1CDShowTvTunerException@@UAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??1CDShowTvTunerException@@UAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??1CDShowTvTunerException@@UAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??1CDShowTvTunerException@@UAE@XZ PROC			; CDShowTvTunerException::~CDShowTvTunerException, COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??1CDShowTvTunerException@@UAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  0002d	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00034	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00037	e8 00 00 00 00	 call	 ??1CDShowException@@UAE@XZ
  0003c	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0003f	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00046	59		 pop	 ecx
  00047	8b e5		 mov	 esp, ebp
  00049	5d		 pop	 ebp
  0004a	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??1CDShowTvTunerException@@UAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CDShowException@@UAE@XZ
__ehhandler$??1CDShowTvTunerException@@UAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??1CDShowTvTunerException@@UAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??1CDShowTvTunerException@@UAE@XZ ENDP			; CDShowTvTunerException::~CDShowTvTunerException
; Function compile flags: /Odtp
;	COMDAT ??_GCDShowTvTunerException@@UAEPAXI@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
___flags$ = 8						; size = 4
??_GCDShowTvTunerException@@UAEPAXI@Z PROC		; CDShowTvTunerException::`scalar deleting destructor', COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000a	e8 00 00 00 00	 call	 ??1CDShowTvTunerException@@UAE@XZ
  0000f	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00012	83 e0 01	 and	 eax, 1
  00015	74 0c		 je	 SHORT $LN1@scalar@219
  00017	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	51		 push	 ecx
  0001b	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00020	83 c4 04	 add	 esp, 4
$LN1@scalar@219:
  00023	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00026	8b e5		 mov	 esp, ebp
  00028	5d		 pop	 ebp
  00029	c2 04 00	 ret	 4
??_GCDShowTvTunerException@@UAEPAXI@Z ENDP		; CDShowTvTunerException::`scalar deleting destructor'
;	COMDAT xdata$x
; File c:\develop\dscaler423a\dscaler\dshowsource\dstvtuner.h
xdata$x	SEGMENT
__unwindtable$??0CDShowTvTunerException@@QAE@PBDJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CDShowTvTunerException@@QAE@PBDJ@Z$0
	DD	00H
	DD	FLAT:__unwindfunclet$??0CDShowTvTunerException@@QAE@PBDJ@Z$1
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$??0CDShowTvTunerException@@QAE@PBDJ@Z$1
__ehfuncinfo$??0CDShowTvTunerException@@QAE@PBDJ@Z DD 019930522H
	DD	03H
	DD	FLAT:__unwindtable$??0CDShowTvTunerException@@QAE@PBDJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CDShowTvTunerException@@QAE@PBDJ@Z
_TEXT	SEGMENT
_this$ = -44						; size = 4
$T333125 = -40						; size = 28
__$EHRec$ = -12						; size = 12
_msg$ = 8						; size = 4
_hr$ = 12						; size = 4
??0CDShowTvTunerException@@QAE@PBDJ@Z PROC		; CDShowTvTunerException::CDShowTvTunerException, COMDAT
; _this$ = ecx

; 33   :     CDShowTvTunerException(const char* msg,HRESULT hr = S_OK):CDShowException(msg,hr) {};

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CDShowTvTunerException@@QAE@PBDJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 20	 sub	 esp, 32			; 00000020H
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00025	89 4d d4	 mov	 DWORD PTR _this$[ebp], ecx
  00028	8b 45 08	 mov	 eax, DWORD PTR _msg$[ebp]
  0002b	50		 push	 eax
  0002c	8d 4d d8	 lea	 ecx, DWORD PTR $T333125[ebp]
  0002f	e8 00 00 00 00	 call	 ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z ; std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >
  00034	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  0003b	8b 4d 0c	 mov	 ecx, DWORD PTR _hr$[ebp]
  0003e	51		 push	 ecx
  0003f	8d 55 d8	 lea	 edx, DWORD PTR $T333125[ebp]
  00042	52		 push	 edx
  00043	8b 4d d4	 mov	 ecx, DWORD PTR _this$[ebp]
  00046	e8 00 00 00 00	 call	 ??0CDShowException@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@J@Z ; CDShowException::CDShowException
  0004b	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  0004f	8d 4d d8	 lea	 ecx, DWORD PTR $T333125[ebp]
  00052	e8 00 00 00 00	 call	 ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ ; std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> >
  00057	8b 45 d4	 mov	 eax, DWORD PTR _this$[ebp]
  0005a	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CDShowTvTunerException@@6B@
  00060	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00067	8b 45 d4	 mov	 eax, DWORD PTR _this$[ebp]
  0006a	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0006d	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00074	59		 pop	 ecx
  00075	8b e5		 mov	 esp, ebp
  00077	5d		 pop	 ebp
  00078	c2 08 00	 ret	 8
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CDShowTvTunerException@@QAE@PBDJ@Z$0:
  00000	8d 4d d8	 lea	 ecx, DWORD PTR $T333125[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ ; std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> >
__unwindfunclet$??0CDShowTvTunerException@@QAE@PBDJ@Z$1:
  00008	8b 4d d4	 mov	 ecx, DWORD PTR _this$[ebp]
  0000b	e9 00 00 00 00	 jmp	 ??1CDShowException@@UAE@XZ
__ehhandler$??0CDShowTvTunerException@@QAE@PBDJ@Z:
  00010	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00014	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00017	8b 4a dc	 mov	 ecx, DWORD PTR [edx-36]
  0001a	33 c8		 xor	 ecx, eax
  0001c	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00021	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CDShowTvTunerException@@QAE@PBDJ@Z
  00026	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CDShowTvTunerException@@QAE@PBDJ@Z ENDP		; CDShowTvTunerException::CDShowTvTunerException
PUBLIC	?GetChannel@CDShowTVTuner@@QAEJXZ		; CDShowTVTuner::GetChannel
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\dshowsource\dstvtuner.cpp
;	COMDAT ?GetChannel@CDShowTVTuner@@QAEJXZ
_TEXT	SEGMENT
tv78 = -68						; size = 4
_this$ = -64						; size = 4
$T338589 = -60						; size = 44
_lVideoSubChannel$ = -16				; size = 4
_lCurrentChannel$ = -12					; size = 4
_hr$ = -8						; size = 4
_lAudioSubChannel$ = -4					; size = 4
?GetChannel@CDShowTVTuner@@QAEJXZ PROC			; CDShowTVTuner::GetChannel, COMDAT
; _this$ = ecx

; 202  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 44	 sub	 esp, 68			; 00000044H
  00006	89 4d c0	 mov	 DWORD PTR _this$[ebp], ecx

; 203  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d c0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 05		 je	 SHORT $LN2@GetChannel@3

; 204  :     {
; 205  :         return -1;

  0001d	83 c8 ff	 or	 eax, -1
  00020	eb 5a		 jmp	 SHORT $LN4@GetChannel@3
$LN2@GetChannel@3:

; 206  :     }
; 207  :     long lCurrentChannel = -1;

  00022	c7 45 f4 ff ff
	ff ff		 mov	 DWORD PTR _lCurrentChannel$[ebp], -1

; 208  :     long lVideoSubChannel;
; 209  :     long lAudioSubChannel;
; 210  : 
; 211  :     HRESULT hr = m_TVTuner->get_Channel(&lCurrentChannel,&lVideoSubChannel, &lAudioSubChannel);

  00029	8b 4d c0	 mov	 ecx, DWORD PTR _this$[ebp]
  0002c	83 c1 08	 add	 ecx, 8
  0002f	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  00034	89 45 bc	 mov	 DWORD PTR tv78[ebp], eax
  00037	8d 4d fc	 lea	 ecx, DWORD PTR _lAudioSubChannel$[ebp]
  0003a	51		 push	 ecx
  0003b	8d 55 f0	 lea	 edx, DWORD PTR _lVideoSubChannel$[ebp]
  0003e	52		 push	 edx
  0003f	8d 45 f4	 lea	 eax, DWORD PTR _lCurrentChannel$[ebp]
  00042	50		 push	 eax
  00043	8b 4d bc	 mov	 ecx, DWORD PTR tv78[ebp]
  00046	51		 push	 ecx
  00047	8b 55 bc	 mov	 edx, DWORD PTR tv78[ebp]
  0004a	8b 02		 mov	 eax, DWORD PTR [edx]
  0004c	8b 48 10	 mov	 ecx, DWORD PTR [eax+16]
  0004f	ff d1		 call	 ecx
  00051	89 45 f8	 mov	 DWORD PTR _hr$[ebp], eax

; 212  :     if(FAILED(hr))

  00054	83 7d f8 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00058	7d 1f		 jge	 SHORT $LN1@GetChannel@3

; 213  :     {
; 214  :         throw CDShowTvTunerException("get_Channel failed",hr);

  0005a	8b 55 f8	 mov	 edx, DWORD PTR _hr$[ebp]
  0005d	52		 push	 edx
  0005e	68 00 00 00 00	 push	 OFFSET ??_C@_0BD@NHKDMJEH@get_Channel?5failed?$AA@
  00063	8d 4d c4	 lea	 ecx, DWORD PTR $T338589[ebp]
  00066	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  0006b	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00070	8d 45 c4	 lea	 eax, DWORD PTR $T338589[ebp]
  00073	50		 push	 eax
  00074	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@GetChannel@3:

; 215  :     }
; 216  : 
; 217  :     return lCurrentChannel;

  00079	8b 45 f4	 mov	 eax, DWORD PTR _lCurrentChannel$[ebp]
$LN4@GetChannel@3:

; 218  : }

  0007c	8b e5		 mov	 esp, ebp
  0007e	5d		 pop	 ebp
  0007f	c3		 ret	 0
?GetChannel@CDShowTVTuner@@QAEJXZ ENDP			; CDShowTVTuner::GetChannel
_TEXT	ENDS
PUBLIC	?SetInputType@CDShowTVTuner@@QAEXW4tagTunerInputType@@@Z ; CDShowTVTuner::SetInputType
; Function compile flags: /Odtp
;	COMDAT ?SetInputType@CDShowTVTuner@@QAEXW4tagTunerInputType@@@Z
_TEXT	SEGMENT
tv131 = -104						; size = 4
tv78 = -100						; size = 4
_this$ = -96						; size = 4
$T338593 = -92						; size = 44
$T338592 = -48						; size = 44
_hr$ = -4						; size = 4
_NewType$ = 8						; size = 4
?SetInputType@CDShowTVTuner@@QAEXW4tagTunerInputType@@@Z PROC ; CDShowTVTuner::SetInputType, COMDAT
; _this$ = ecx

; 178  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 68	 sub	 esp, 104		; 00000068H
  00006	89 4d a0	 mov	 DWORD PTR _this$[ebp], ecx

; 179  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 05		 je	 SHORT $LN3@SetInputTy

; 180  :     {
; 181  :         return;

  0001d	e9 ad 00 00 00	 jmp	 $LN5@SetInputTy
$LN3@SetInputTy:

; 182  :     }
; 183  : 
; 184  :     HRESULT hr = m_TVTuner->put_InputType(m_InputPin, NewType);

  00022	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00025	83 c1 08	 add	 ecx, 8
  00028	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0002d	89 45 9c	 mov	 DWORD PTR tv78[ebp], eax
  00030	8b 4d 08	 mov	 ecx, DWORD PTR _NewType$[ebp]
  00033	51		 push	 ecx
  00034	8b 55 a0	 mov	 edx, DWORD PTR _this$[ebp]
  00037	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  0003a	50		 push	 eax
  0003b	8b 4d 9c	 mov	 ecx, DWORD PTR tv78[ebp]
  0003e	51		 push	 ecx
  0003f	8b 55 9c	 mov	 edx, DWORD PTR tv78[ebp]
  00042	8b 02		 mov	 eax, DWORD PTR [edx]
  00044	8b 48 5c	 mov	 ecx, DWORD PTR [eax+92]
  00047	ff d1		 call	 ecx
  00049	89 45 fc	 mov	 DWORD PTR _hr$[ebp], eax

; 185  :     if(FAILED(hr))

  0004c	83 7d fc 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00050	7d 1f		 jge	 SHORT $LN2@SetInputTy

; 186  :     {
; 187  :         throw CDShowTvTunerException("put_InputType failed",hr);

  00052	8b 55 fc	 mov	 edx, DWORD PTR _hr$[ebp]
  00055	52		 push	 edx
  00056	68 00 00 00 00	 push	 OFFSET ??_C@_0BF@JECPBFCO@put_InputType?5failed?$AA@
  0005b	8d 4d d0	 lea	 ecx, DWORD PTR $T338592[ebp]
  0005e	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  00063	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00068	8d 45 d0	 lea	 eax, DWORD PTR $T338592[ebp]
  0006b	50		 push	 eax
  0006c	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN2@SetInputTy:

; 188  :     }
; 189  : 
; 190  :     hr = m_TVTuner->put_ConnectInput(m_InputPin);

  00071	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00074	83 c1 08	 add	 ecx, 8
  00077	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0007c	89 45 98	 mov	 DWORD PTR tv131[ebp], eax
  0007f	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00082	8b 51 0c	 mov	 edx, DWORD PTR [ecx+12]
  00085	52		 push	 edx
  00086	8b 45 98	 mov	 eax, DWORD PTR tv131[ebp]
  00089	50		 push	 eax
  0008a	8b 4d 98	 mov	 ecx, DWORD PTR tv131[ebp]
  0008d	8b 11		 mov	 edx, DWORD PTR [ecx]
  0008f	8b 42 64	 mov	 eax, DWORD PTR [edx+100]
  00092	ff d0		 call	 eax
  00094	89 45 fc	 mov	 DWORD PTR _hr$[ebp], eax

; 191  :     if(FAILED(hr))

  00097	83 7d fc 00	 cmp	 DWORD PTR _hr$[ebp], 0
  0009b	7d 1f		 jge	 SHORT $LN1@SetInputTy

; 192  :     {
; 193  :         throw CDShowTvTunerException("put_ConnectInput failed",hr);

  0009d	8b 4d fc	 mov	 ecx, DWORD PTR _hr$[ebp]
  000a0	51		 push	 ecx
  000a1	68 00 00 00 00	 push	 OFFSET ??_C@_0BI@HPNGGOPI@put_ConnectInput?5failed?$AA@
  000a6	8d 4d a4	 lea	 ecx, DWORD PTR $T338593[ebp]
  000a9	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  000ae	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  000b3	8d 55 a4	 lea	 edx, DWORD PTR $T338593[ebp]
  000b6	52		 push	 edx
  000b7	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@SetInputTy:

; 194  :     }
; 195  : 
; 196  :     m_TunerInput=(int)NewType;

  000bc	8b 45 a0	 mov	 eax, DWORD PTR _this$[ebp]
  000bf	8b 4d 08	 mov	 ecx, DWORD PTR _NewType$[ebp]
  000c2	89 48 10	 mov	 DWORD PTR [eax+16], ecx

; 197  : 
; 198  :     m_CountryOrInputChanged = TRUE;

  000c5	8b 55 a0	 mov	 edx, DWORD PTR _this$[ebp]
  000c8	c7 42 44 01 00
	00 00		 mov	 DWORD PTR [edx+68], 1
$LN5@SetInputTy:

; 199  : }

  000cf	8b e5		 mov	 esp, ebp
  000d1	5d		 pop	 ebp
  000d2	c2 04 00	 ret	 4
?SetInputType@CDShowTVTuner@@QAEXW4tagTunerInputType@@@Z ENDP ; CDShowTVTuner::SetInputType
_TEXT	ENDS
PUBLIC	?SetInputPin@CDShowTVTuner@@QAEHJ@Z		; CDShowTVTuner::SetInputPin
; Function compile flags: /Odtp
;	COMDAT ?SetInputPin@CDShowTVTuner@@QAEHJ@Z
_TEXT	SEGMENT
tv78 = -56						; size = 4
_this$ = -52						; size = 4
$T338596 = -48						; size = 44
_hr$ = -4						; size = 4
_lInputPin$ = 8						; size = 4
?SetInputPin@CDShowTVTuner@@QAEHJ@Z PROC		; CDShowTVTuner::SetInputPin, COMDAT
; _this$ = ecx

; 162  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 38	 sub	 esp, 56			; 00000038H
  00006	89 4d cc	 mov	 DWORD PTR _this$[ebp], ecx

; 163  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d cc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 04		 je	 SHORT $LN2@SetInputPi

; 164  :     {
; 165  :         return FALSE;

  0001d	33 c0		 xor	 eax, eax
  0001f	eb 56		 jmp	 SHORT $LN4@SetInputPi
$LN2@SetInputPi:

; 166  :     }
; 167  : 
; 168  :     HRESULT hr = m_TVTuner->put_ConnectInput(lInputPin);

  00021	8b 4d cc	 mov	 ecx, DWORD PTR _this$[ebp]
  00024	83 c1 08	 add	 ecx, 8
  00027	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0002c	89 45 c8	 mov	 DWORD PTR tv78[ebp], eax
  0002f	8b 4d 08	 mov	 ecx, DWORD PTR _lInputPin$[ebp]
  00032	51		 push	 ecx
  00033	8b 55 c8	 mov	 edx, DWORD PTR tv78[ebp]
  00036	52		 push	 edx
  00037	8b 45 c8	 mov	 eax, DWORD PTR tv78[ebp]
  0003a	8b 08		 mov	 ecx, DWORD PTR [eax]
  0003c	8b 51 64	 mov	 edx, DWORD PTR [ecx+100]
  0003f	ff d2		 call	 edx
  00041	89 45 fc	 mov	 DWORD PTR _hr$[ebp], eax

; 169  :     if(FAILED(hr))

  00044	83 7d fc 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00048	7d 1f		 jge	 SHORT $LN1@SetInputPi

; 170  :     {
; 171  :         throw CDShowTvTunerException("put_ConnectInput failed",hr);

  0004a	8b 45 fc	 mov	 eax, DWORD PTR _hr$[ebp]
  0004d	50		 push	 eax
  0004e	68 00 00 00 00	 push	 OFFSET ??_C@_0BI@HPNGGOPI@put_ConnectInput?5failed?$AA@
  00053	8d 4d d0	 lea	 ecx, DWORD PTR $T338596[ebp]
  00056	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  0005b	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00060	8d 4d d0	 lea	 ecx, DWORD PTR $T338596[ebp]
  00063	51		 push	 ecx
  00064	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@SetInputPi:

; 172  :     }
; 173  :     m_InputPin = lInputPin;

  00069	8b 55 cc	 mov	 edx, DWORD PTR _this$[ebp]
  0006c	8b 45 08	 mov	 eax, DWORD PTR _lInputPin$[ebp]
  0006f	89 42 0c	 mov	 DWORD PTR [edx+12], eax

; 174  :     return TRUE;

  00072	b8 01 00 00 00	 mov	 eax, 1
$LN4@SetInputPi:

; 175  : }

  00077	8b e5		 mov	 esp, ebp
  00079	5d		 pop	 ebp
  0007a	c2 04 00	 ret	 4
?SetInputPin@CDShowTVTuner@@QAEHJ@Z ENDP		; CDShowTVTuner::SetInputPin
_TEXT	ENDS
PUBLIC	?GetInputType@CDShowTVTuner@@QAE?AW4tagTunerInputType@@XZ ; CDShowTVTuner::GetInputType
; Function compile flags: /Odtp
;	COMDAT ?GetInputType@CDShowTVTuner@@QAE?AW4tagTunerInputType@@XZ
_TEXT	SEGMENT
tv78 = -60						; size = 4
_this$ = -56						; size = 4
$T338599 = -52						; size = 44
_hr$ = -8						; size = 4
_InputType$ = -4					; size = 4
?GetInputType@CDShowTVTuner@@QAE?AW4tagTunerInputType@@XZ PROC ; CDShowTVTuner::GetInputType, COMDAT
; _this$ = ecx

; 142  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 3c	 sub	 esp, 60			; 0000003cH
  00006	89 4d c8	 mov	 DWORD PTR _this$[ebp], ecx

; 143  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d c8	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 05		 je	 SHORT $LN2@GetInputTy

; 144  :     {
; 145  :         return (TunerInputType)-1;

  0001d	83 c8 ff	 or	 eax, -1
  00020	eb 52		 jmp	 SHORT $LN4@GetInputTy
$LN2@GetInputTy:

; 146  :     }
; 147  : 
; 148  :     TunerInputType InputType;
; 149  : 
; 150  :     HRESULT hr = m_TVTuner->get_InputType(m_InputPin, &InputType);

  00022	8b 4d c8	 mov	 ecx, DWORD PTR _this$[ebp]
  00025	83 c1 08	 add	 ecx, 8
  00028	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0002d	89 45 c4	 mov	 DWORD PTR tv78[ebp], eax
  00030	8d 4d fc	 lea	 ecx, DWORD PTR _InputType$[ebp]
  00033	51		 push	 ecx
  00034	8b 55 c8	 mov	 edx, DWORD PTR _this$[ebp]
  00037	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  0003a	50		 push	 eax
  0003b	8b 4d c4	 mov	 ecx, DWORD PTR tv78[ebp]
  0003e	51		 push	 ecx
  0003f	8b 55 c4	 mov	 edx, DWORD PTR tv78[ebp]
  00042	8b 02		 mov	 eax, DWORD PTR [edx]
  00044	8b 48 60	 mov	 ecx, DWORD PTR [eax+96]
  00047	ff d1		 call	 ecx
  00049	89 45 f8	 mov	 DWORD PTR _hr$[ebp], eax

; 151  :     if(FAILED(hr))

  0004c	83 7d f8 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00050	7d 1f		 jge	 SHORT $LN1@GetInputTy

; 152  :     {
; 153  :         throw CDShowTvTunerException("get_InputType failed",hr);

  00052	8b 55 f8	 mov	 edx, DWORD PTR _hr$[ebp]
  00055	52		 push	 edx
  00056	68 00 00 00 00	 push	 OFFSET ??_C@_0BF@FGOKCKLP@get_InputType?5failed?$AA@
  0005b	8d 4d cc	 lea	 ecx, DWORD PTR $T338599[ebp]
  0005e	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  00063	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00068	8d 45 cc	 lea	 eax, DWORD PTR $T338599[ebp]
  0006b	50		 push	 eax
  0006c	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@GetInputTy:

; 154  :     }
; 155  : 
; 156  :     return InputType;

  00071	8b 45 fc	 mov	 eax, DWORD PTR _InputType$[ebp]
$LN4@GetInputTy:

; 157  : 
; 158  : }

  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
?GetInputType@CDShowTVTuner@@QAE?AW4tagTunerInputType@@XZ ENDP ; CDShowTVTuner::GetInputType
_TEXT	ENDS
PUBLIC	?PutCountryCode@CDShowTVTuner@@QAEXJ@Z		; CDShowTVTuner::PutCountryCode
; Function compile flags: /Odtp
;	COMDAT ?PutCountryCode@CDShowTVTuner@@QAEXJ@Z
_TEXT	SEGMENT
tv131 = -104						; size = 4
tv78 = -100						; size = 4
_this$ = -96						; size = 4
$T338603 = -92						; size = 44
$T338602 = -48						; size = 44
_hr$ = -4						; size = 4
_CountryCode$ = 8					; size = 4
?PutCountryCode@CDShowTVTuner@@QAEXJ@Z PROC		; CDShowTVTuner::PutCountryCode, COMDAT
; _this$ = ecx

; 119  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 68	 sub	 esp, 104		; 00000068H
  00006	89 4d a0	 mov	 DWORD PTR _this$[ebp], ecx

; 120  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 05		 je	 SHORT $LN3@PutCountry

; 121  :     {
; 122  :         return;

  0001d	e9 ad 00 00 00	 jmp	 $LN5@PutCountry
$LN3@PutCountry:

; 123  :     }
; 124  : 
; 125  :     HRESULT hr = m_TVTuner->put_CountryCode(CountryCode);

  00022	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00025	83 c1 08	 add	 ecx, 8
  00028	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0002d	89 45 9c	 mov	 DWORD PTR tv78[ebp], eax
  00030	8b 4d 08	 mov	 ecx, DWORD PTR _CountryCode$[ebp]
  00033	51		 push	 ecx
  00034	8b 55 9c	 mov	 edx, DWORD PTR tv78[ebp]
  00037	52		 push	 edx
  00038	8b 45 9c	 mov	 eax, DWORD PTR tv78[ebp]
  0003b	8b 08		 mov	 ecx, DWORD PTR [eax]
  0003d	8b 51 18	 mov	 edx, DWORD PTR [ecx+24]
  00040	ff d2		 call	 edx
  00042	89 45 fc	 mov	 DWORD PTR _hr$[ebp], eax

; 126  :     if(FAILED(hr))

  00045	83 7d fc 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00049	7d 1f		 jge	 SHORT $LN2@PutCountry

; 127  :     {
; 128  :         throw CDShowTvTunerException("put_CountryCode failed",hr);

  0004b	8b 45 fc	 mov	 eax, DWORD PTR _hr$[ebp]
  0004e	50		 push	 eax
  0004f	68 00 00 00 00	 push	 OFFSET ??_C@_0BH@EGIFPKBB@put_CountryCode?5failed?$AA@
  00054	8d 4d d0	 lea	 ecx, DWORD PTR $T338602[ebp]
  00057	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  0005c	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00061	8d 4d d0	 lea	 ecx, DWORD PTR $T338602[ebp]
  00064	51		 push	 ecx
  00065	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN2@PutCountry:

; 129  :     }
; 130  :     m_CountryCode = CountryCode;

  0006a	8b 55 a0	 mov	 edx, DWORD PTR _this$[ebp]
  0006d	8b 45 08	 mov	 eax, DWORD PTR _CountryCode$[ebp]
  00070	89 42 14	 mov	 DWORD PTR [edx+20], eax

; 131  : 
; 132  :     m_CountryOrInputChanged = TRUE;

  00073	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00076	c7 41 44 01 00
	00 00		 mov	 DWORD PTR [ecx+68], 1

; 133  : 
; 134  :     hr = m_TVTuner->ChannelMinMax(&m_MinChannel, &m_MaxChannel);

  0007d	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00080	83 c1 08	 add	 ecx, 8
  00083	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  00088	89 45 98	 mov	 DWORD PTR tv131[ebp], eax
  0008b	8b 55 a0	 mov	 edx, DWORD PTR _this$[ebp]
  0008e	83 c2 1c	 add	 edx, 28			; 0000001cH
  00091	52		 push	 edx
  00092	8b 45 a0	 mov	 eax, DWORD PTR _this$[ebp]
  00095	83 c0 18	 add	 eax, 24			; 00000018H
  00098	50		 push	 eax
  00099	8b 4d 98	 mov	 ecx, DWORD PTR tv131[ebp]
  0009c	51		 push	 ecx
  0009d	8b 55 98	 mov	 edx, DWORD PTR tv131[ebp]
  000a0	8b 02		 mov	 eax, DWORD PTR [edx]
  000a2	8b 48 14	 mov	 ecx, DWORD PTR [eax+20]
  000a5	ff d1		 call	 ecx
  000a7	89 45 fc	 mov	 DWORD PTR _hr$[ebp], eax

; 135  :     if(FAILED(hr))

  000aa	83 7d fc 00	 cmp	 DWORD PTR _hr$[ebp], 0
  000ae	7d 1f		 jge	 SHORT $LN5@PutCountry

; 136  :     {
; 137  :         throw CDShowTvTunerException("ChannelMinMax failed",hr);

  000b0	8b 55 fc	 mov	 edx, DWORD PTR _hr$[ebp]
  000b3	52		 push	 edx
  000b4	68 00 00 00 00	 push	 OFFSET ??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@
  000b9	8d 4d a4	 lea	 ecx, DWORD PTR $T338603[ebp]
  000bc	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  000c1	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  000c6	8d 45 a4	 lea	 eax, DWORD PTR $T338603[ebp]
  000c9	50		 push	 eax
  000ca	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN5@PutCountry:

; 138  :     }
; 139  : }

  000cf	8b e5		 mov	 esp, ebp
  000d1	5d		 pop	 ebp
  000d2	c2 04 00	 ret	 4
?PutCountryCode@CDShowTVTuner@@QAEXJ@Z ENDP		; CDShowTVTuner::PutCountryCode
_TEXT	ENDS
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CDShowTvTunerException@@QAE@ABV0@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CDShowTvTunerException@@QAE@ABV0@@Z$0
__ehfuncinfo$??0CDShowTvTunerException@@QAE@ABV0@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??0CDShowTvTunerException@@QAE@ABV0@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CDShowTvTunerException@@QAE@ABV0@@Z
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
___that$ = 8						; size = 4
??0CDShowTvTunerException@@QAE@ABV0@@Z PROC		; CDShowTvTunerException::CDShowTvTunerException, COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CDShowTvTunerException@@QAE@ABV0@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 45 08	 mov	 eax, DWORD PTR ___that$[ebp]
  00029	50		 push	 eax
  0002a	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0002d	e8 00 00 00 00	 call	 ??0CDShowException@@QAE@ABV0@@Z
  00032	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00039	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0003c	c7 01 00 00 00
	00		 mov	 DWORD PTR [ecx], OFFSET ??_7CDShowTvTunerException@@6B@
  00042	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00049	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0004c	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0004f	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00056	59		 pop	 ecx
  00057	8b e5		 mov	 esp, ebp
  00059	5d		 pop	 ebp
  0005a	c2 04 00	 ret	 4
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CDShowTvTunerException@@QAE@ABV0@@Z$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CDShowException@@UAE@XZ
__ehhandler$??0CDShowTvTunerException@@QAE@ABV0@@Z:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CDShowTvTunerException@@QAE@ABV0@@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CDShowTvTunerException@@QAE@ABV0@@Z ENDP		; CDShowTvTunerException::CDShowTvTunerException
PUBLIC	?GetCountryCode@CDShowTVTuner@@QAEJXZ		; CDShowTVTuner::GetCountryCode
; Function compile flags: /Odtp
;	COMDAT ?GetCountryCode@CDShowTVTuner@@QAEJXZ
_TEXT	SEGMENT
tv78 = -60						; size = 4
_this$ = -56						; size = 4
$T338615 = -52						; size = 44
_hr$ = -8						; size = 4
_lCurrentCountryCode$ = -4				; size = 4
?GetCountryCode@CDShowTVTuner@@QAEJXZ PROC		; CDShowTVTuner::GetCountryCode, COMDAT
; _this$ = ecx

; 102  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 3c	 sub	 esp, 60			; 0000003cH
  00006	89 4d c8	 mov	 DWORD PTR _this$[ebp], ecx

; 103  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d c8	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 05		 je	 SHORT $LN2@GetCountry

; 104  :     {
; 105  :         return -1;

  0001d	83 c8 ff	 or	 eax, -1
  00020	eb 52		 jmp	 SHORT $LN4@GetCountry
$LN2@GetCountry:

; 106  :     }
; 107  :     long lCurrentCountryCode = -1;

  00022	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR _lCurrentCountryCode$[ebp], -1

; 108  : 
; 109  :     HRESULT hr = m_TVTuner->get_CountryCode(&lCurrentCountryCode);

  00029	8b 4d c8	 mov	 ecx, DWORD PTR _this$[ebp]
  0002c	83 c1 08	 add	 ecx, 8
  0002f	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  00034	89 45 c4	 mov	 DWORD PTR tv78[ebp], eax
  00037	8d 4d fc	 lea	 ecx, DWORD PTR _lCurrentCountryCode$[ebp]
  0003a	51		 push	 ecx
  0003b	8b 55 c4	 mov	 edx, DWORD PTR tv78[ebp]
  0003e	52		 push	 edx
  0003f	8b 45 c4	 mov	 eax, DWORD PTR tv78[ebp]
  00042	8b 08		 mov	 ecx, DWORD PTR [eax]
  00044	8b 51 1c	 mov	 edx, DWORD PTR [ecx+28]
  00047	ff d2		 call	 edx
  00049	89 45 f8	 mov	 DWORD PTR _hr$[ebp], eax

; 110  :     if(FAILED(hr))

  0004c	83 7d f8 00	 cmp	 DWORD PTR _hr$[ebp], 0
  00050	7d 1f		 jge	 SHORT $LN1@GetCountry

; 111  :     {
; 112  :         throw CDShowTvTunerException("get_CountryCode failed",hr);

  00052	8b 45 f8	 mov	 eax, DWORD PTR _hr$[ebp]
  00055	50		 push	 eax
  00056	68 00 00 00 00	 push	 OFFSET ??_C@_0BH@JILJKOLC@get_CountryCode?5failed?$AA@
  0005b	8d 4d cc	 lea	 ecx, DWORD PTR $T338615[ebp]
  0005e	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  00063	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  00068	8d 4d cc	 lea	 ecx, DWORD PTR $T338615[ebp]
  0006b	51		 push	 ecx
  0006c	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@GetCountry:

; 113  :     }
; 114  : 
; 115  :     return lCurrentCountryCode;

  00071	8b 45 fc	 mov	 eax, DWORD PTR _lCurrentCountryCode$[ebp]
$LN4@GetCountry:

; 116  : }

  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
?GetCountryCode@CDShowTVTuner@@QAEJXZ ENDP		; CDShowTVTuner::GetCountryCode
; Function compile flags: /Odtp
;	COMDAT ?GetRcData@@YAPAXPB_W00AAPAUHINSTANCE__@@@Z
_TEXT	SEGMENT
_hDSTunerTable$ = -8					; size = 4
_hDSTunerResource$ = -4					; size = 4
_lpFileName$ = 8					; size = 4
_lpName$ = 12						; size = 4
_lpType$ = 16						; size = 4
_hDSTunerModule$ = 20					; size = 4
?GetRcData@@YAPAXPB_W00AAPAUHINSTANCE__@@@Z PROC	; GetRcData, COMDAT

; 486  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8

; 487  :     if (hDSTunerModule == NULL)

  00006	8b 45 14	 mov	 eax, DWORD PTR _hDSTunerModule$[ebp]
  00009	83 38 00	 cmp	 DWORD PTR [eax], 0
  0000c	75 11		 jne	 SHORT $LN3@GetRcData

; 488  :     {
; 489  :         hDSTunerModule = LibraryCache::GetLibraryHandle(lpFileName);

  0000e	8b 4d 08	 mov	 ecx, DWORD PTR _lpFileName$[ebp]
  00011	51		 push	 ecx
  00012	e8 00 00 00 00	 call	 ?GetLibraryHandle@LibraryCache@@SAPAUHINSTANCE__@@PB_W@Z ; LibraryCache::GetLibraryHandle
  00017	83 c4 04	 add	 esp, 4
  0001a	8b 55 14	 mov	 edx, DWORD PTR _hDSTunerModule$[ebp]
  0001d	89 02		 mov	 DWORD PTR [edx], eax
$LN3@GetRcData:

; 490  :     }
; 491  : 
; 492  :     HRSRC hDSTunerResource = FindResource(hDSTunerModule, lpName, lpType);

  0001f	8b 45 10	 mov	 eax, DWORD PTR _lpType$[ebp]
  00022	50		 push	 eax
  00023	8b 4d 0c	 mov	 ecx, DWORD PTR _lpName$[ebp]
  00026	51		 push	 ecx
  00027	8b 55 14	 mov	 edx, DWORD PTR _hDSTunerModule$[ebp]
  0002a	8b 02		 mov	 eax, DWORD PTR [edx]
  0002c	50		 push	 eax
  0002d	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__FindResourceW@12
  00033	89 45 fc	 mov	 DWORD PTR _hDSTunerResource$[ebp], eax

; 493  :     if (hDSTunerResource == NULL)

  00036	83 7d fc 00	 cmp	 DWORD PTR _hDSTunerResource$[ebp], 0
  0003a	75 04		 jne	 SHORT $LN2@GetRcData

; 494  :     {
; 495  :         return NULL;

  0003c	33 c0		 xor	 eax, eax
  0003e	eb 27		 jmp	 SHORT $LN4@GetRcData
$LN2@GetRcData:

; 496  :     }
; 497  : 
; 498  :     HGLOBAL hDSTunerTable = LoadResource(hDSTunerModule, hDSTunerResource);

  00040	8b 4d fc	 mov	 ecx, DWORD PTR _hDSTunerResource$[ebp]
  00043	51		 push	 ecx
  00044	8b 55 14	 mov	 edx, DWORD PTR _hDSTunerModule$[ebp]
  00047	8b 02		 mov	 eax, DWORD PTR [edx]
  00049	50		 push	 eax
  0004a	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__LoadResource@8
  00050	89 45 f8	 mov	 DWORD PTR _hDSTunerTable$[ebp], eax

; 499  :     if (hDSTunerTable == NULL)

  00053	83 7d f8 00	 cmp	 DWORD PTR _hDSTunerTable$[ebp], 0
  00057	75 04		 jne	 SHORT $LN1@GetRcData

; 500  :     {
; 501  :         return NULL;

  00059	33 c0		 xor	 eax, eax
  0005b	eb 0a		 jmp	 SHORT $LN4@GetRcData
$LN1@GetRcData:

; 502  :     }
; 503  : 
; 504  :     return LockResource(hDSTunerTable);

  0005d	8b 4d f8	 mov	 ecx, DWORD PTR _hDSTunerTable$[ebp]
  00060	51		 push	 ecx
  00061	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__LockResource@4
$LN4@GetRcData:

; 505  : }

  00067	8b e5		 mov	 esp, ebp
  00069	5d		 pop	 ebp
  0006a	c3		 ret	 0
?GetRcData@@YAPAXPB_W00AAPAUHINSTANCE__@@@Z ENDP	; GetRcData
_TEXT	ENDS
PUBLIC	?GetTunerFrequency@CDShowTVTuner@@QAEJXZ	; CDShowTVTuner::GetTunerFrequency
; Function compile flags: /Odtp
;	COMDAT ?GetTunerFrequency@CDShowTVTuner@@QAEJXZ
_TEXT	SEGMENT
_this$ = -8						; size = 4
_Channel$ = -4						; size = 4
?GetTunerFrequency@CDShowTVTuner@@QAEJXZ PROC		; CDShowTVTuner::GetTunerFrequency, COMDAT
; _this$ = ecx

; 454  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 455  :     int Channel = GetChannel();

  00009	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0000c	e8 00 00 00 00	 call	 ?GetChannel@CDShowTVTuner@@QAEJXZ ; CDShowTVTuner::GetChannel
  00011	89 45 fc	 mov	 DWORD PTR _Channel$[ebp], eax

; 456  : 
; 457  :     if ( (m_MinChannel < 0) || (m_MaxChannel < 0) )

  00014	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  00017	83 78 18 00	 cmp	 DWORD PTR [eax+24], 0
  0001b	7c 09		 jl	 SHORT $LN7@GetTunerFr
  0001d	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00020	83 79 1c 00	 cmp	 DWORD PTR [ecx+28], 0
  00024	7d 04		 jge	 SHORT $LN8@GetTunerFr
$LN7@GetTunerFr:

; 458  :     {
; 459  :         return 0;

  00026	33 c0		 xor	 eax, eax
  00028	eb 79		 jmp	 SHORT $LN9@GetTunerFr
$LN8@GetTunerFr:

; 460  :     }
; 461  : 
; 462  :     if ((Channel >= m_MinChannel) && (Channel<= m_MaxChannel))

  0002a	8b 55 f8	 mov	 edx, DWORD PTR _this$[ebp]
  0002d	8b 45 fc	 mov	 eax, DWORD PTR _Channel$[ebp]
  00030	3b 42 18	 cmp	 eax, DWORD PTR [edx+24]
  00033	7c 6c		 jl	 SHORT $LN6@GetTunerFr
  00035	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00038	8b 55 fc	 mov	 edx, DWORD PTR _Channel$[ebp]
  0003b	3b 51 1c	 cmp	 edx, DWORD PTR [ecx+28]
  0003e	7f 61		 jg	 SHORT $LN6@GetTunerFr

; 463  :     {
; 464  :         if (m_CustomFrequencyTable == -1)

  00040	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  00043	83 78 38 ff	 cmp	 DWORD PTR [eax+56], -1
  00047	75 2e		 jne	 SHORT $LN5@GetTunerFr

; 465  :         {
; 466  :             if (m_FrequencyTable.size() == 0)

  00049	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0004c	83 c1 20	 add	 ecx, 32			; 00000020H
  0004f	e8 00 00 00 00	 call	 ?size@?$vector@JV?$allocator@J@std@@@std@@QBEIXZ ; std::vector<long,std::allocator<long> >::size
  00054	85 c0		 test	 eax, eax
  00056	75 04		 jne	 SHORT $LN4@GetTunerFr

; 467  :             {
; 468  :                 return 0;

  00058	33 c0		 xor	 eax, eax
  0005a	eb 47		 jmp	 SHORT $LN9@GetTunerFr
$LN4@GetTunerFr:

; 469  :             }
; 470  :             return m_FrequencyTable[Channel - m_MinChannel];

  0005c	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0005f	8b 55 fc	 mov	 edx, DWORD PTR _Channel$[ebp]
  00062	2b 51 18	 sub	 edx, DWORD PTR [ecx+24]
  00065	52		 push	 edx
  00066	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00069	83 c1 20	 add	 ecx, 32			; 00000020H
  0006c	e8 00 00 00 00	 call	 ??A?$vector@JV?$allocator@J@std@@@std@@QAEAAJI@Z ; std::vector<long,std::allocator<long> >::operator[]
  00071	8b 00		 mov	 eax, DWORD PTR [eax]
  00073	eb 2e		 jmp	 SHORT $LN9@GetTunerFr

; 471  :         }
; 472  :         else

  00075	eb 2a		 jmp	 SHORT $LN6@GetTunerFr
$LN5@GetTunerFr:

; 473  :         {
; 474  :             if ( (m_CustomFrequencyTable < 0) || (m_AutoTuneInfo == NULL) )

  00077	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  0007a	83 78 38 00	 cmp	 DWORD PTR [eax+56], 0
  0007e	7c 09		 jl	 SHORT $LN1@GetTunerFr
  00080	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00083	83 79 3c 00	 cmp	 DWORD PTR [ecx+60], 0
  00087	75 04		 jne	 SHORT $LN2@GetTunerFr
$LN1@GetTunerFr:

; 475  :             {
; 476  :                 return 0;

  00089	33 c0		 xor	 eax, eax
  0008b	eb 16		 jmp	 SHORT $LN9@GetTunerFr
$LN2@GetTunerFr:

; 477  :             }
; 478  :             return m_AutoTuneInfo[Channel - m_MinChannel];

  0008d	8b 55 f8	 mov	 edx, DWORD PTR _this$[ebp]
  00090	8b 45 fc	 mov	 eax, DWORD PTR _Channel$[ebp]
  00093	2b 42 18	 sub	 eax, DWORD PTR [edx+24]
  00096	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00099	8b 51 3c	 mov	 edx, DWORD PTR [ecx+60]
  0009c	8b 04 82	 mov	 eax, DWORD PTR [edx+eax*4]
  0009f	eb 02		 jmp	 SHORT $LN9@GetTunerFr
$LN6@GetTunerFr:

; 479  :         }
; 480  :     }
; 481  :     return 0;

  000a1	33 c0		 xor	 eax, eax
$LN9@GetTunerFr:

; 482  : }

  000a3	8b e5		 mov	 esp, ebp
  000a5	5d		 pop	 ebp
  000a6	c3		 ret	 0
?GetTunerFrequency@CDShowTVTuner@@QAEJXZ ENDP		; CDShowTVTuner::GetTunerFrequency
_TEXT	ENDS
PUBLIC	??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z ; CDShowTVTuner::CDShowTVTuner
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$0
	DD	00H
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$1
	DD	01H
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$2
__ehfuncinfo$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z DD 019930522H
	DD	03H
	DD	FLAT:__unwindtable$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z
_TEXT	SEGMENT
tv147 = -20						; size = 4
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
_pTvTuner$ = 8						; size = 4
_pGraph$ = 12						; size = 4
??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z PROC ; CDShowTVTuner::CDShowTVTuner, COMDAT
; _this$ = ecx

; 62   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 08	 sub	 esp, 8
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00025	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00028	8b 45 0c	 mov	 eax, DWORD PTR _pGraph$[ebp]
  0002b	50		 push	 eax
  0002c	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0002f	e8 00 00 00 00	 call	 ??0CDShowObject@@QAE@PAUIGraphBuilder@@@Z ; CDShowObject::CDShowObject
  00034	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  0003b	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0003e	c7 01 00 00 00
	00		 mov	 DWORD PTR [ecx], OFFSET ??_7CDShowTVTuner@@6B@
  00044	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00047	83 c1 08	 add	 ecx, 8
  0004a	e8 00 00 00 00	 call	 ??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@XZ ; ATL::CComPtr<IAMTVTuner>::CComPtr<IAMTVTuner>
  0004f	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00053	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00056	c7 42 0c 00 00
	00 00		 mov	 DWORD PTR [edx+12], 0
  0005d	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00060	c7 40 10 ff ff
	ff ff		 mov	 DWORD PTR [eax+16], -1
  00067	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0006a	c7 41 14 ff ff
	ff ff		 mov	 DWORD PTR [ecx+20], -1
  00071	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00074	c7 42 18 ff ff
	ff ff		 mov	 DWORD PTR [edx+24], -1
  0007b	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0007e	c7 40 1c ff ff
	ff ff		 mov	 DWORD PTR [eax+28], -1
  00085	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00088	83 c1 20	 add	 ecx, 32			; 00000020H
  0008b	e8 00 00 00 00	 call	 ??0?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::vector<long,std::allocator<long> >
  00090	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  00094	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00097	c7 41 38 fe ff
	ff ff		 mov	 DWORD PTR [ecx+56], -2	; fffffffeH
  0009e	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  000a1	c7 42 3c 00 00
	00 00		 mov	 DWORD PTR [edx+60], 0
  000a8	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  000ab	c7 40 40 00 00
	00 00		 mov	 DWORD PTR [eax+64], 0
  000b2	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000b5	c7 41 44 00 00
	00 00		 mov	 DWORD PTR [ecx+68], 0

; 63   :     m_TVTuner = pTvTuner;

  000bc	8b 55 08	 mov	 edx, DWORD PTR _pTvTuner$[ebp]
  000bf	52		 push	 edx
  000c0	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000c3	83 c1 08	 add	 ecx, 8
  000c6	e8 00 00 00 00	 call	 ??4?$CComPtr@UIAMTVTuner@@@ATL@@QAEPAUIAMTVTuner@@ABV01@@Z ; ATL::CComPtr<IAMTVTuner>::operator=

; 64   : 
; 65   :     if (m_TVTuner != NULL)

  000cb	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000ce	83 c1 08	 add	 ecx, 8
  000d1	e8 00 00 00 00	 call	 ??B?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAUIAMTVTuner@@XZ ; ATL::CComPtr<IAMTVTuner>::operator IAMTVTuner *
  000d6	85 c0		 test	 eax, eax
  000d8	74 1e		 je	 SHORT $LN3@CDShowTVTu@2

; 66   :     {
; 67   :         if (FAILED(m_TVTuner->put_Mode(AMTUNER_MODE_TV)))

  000da	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000dd	83 c1 08	 add	 ecx, 8
  000e0	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  000e5	89 45 ec	 mov	 DWORD PTR tv147[ebp], eax
  000e8	6a 01		 push	 1
  000ea	8b 45 ec	 mov	 eax, DWORD PTR tv147[ebp]
  000ed	50		 push	 eax
  000ee	8b 4d ec	 mov	 ecx, DWORD PTR tv147[ebp]
  000f1	8b 11		 mov	 edx, DWORD PTR [ecx]
  000f3	8b 42 34	 mov	 eax, DWORD PTR [edx+52]
  000f6	ff d0		 call	 eax
$LN3@CDShowTVTu@2:

; 68   :         {
; 69   :             // No TV Tuner?
; 70   :         }
; 71   :     }
; 72   : }

  000f8	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  000ff	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00102	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00105	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0010c	59		 pop	 ecx
  0010d	8b e5		 mov	 esp, ebp
  0010f	5d		 pop	 ebp
  00110	c2 08 00	 ret	 8
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CDShowObject@@UAE@XZ	; CDShowObject::~CDShowObject
__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$1:
  00008	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000b	83 c1 08	 add	 ecx, 8
  0000e	e9 00 00 00 00	 jmp	 ??1?$CComPtr@UIAMTVTuner@@@ATL@@QAE@XZ ; ATL::CComPtr<IAMTVTuner>::~CComPtr<IAMTVTuner>
__unwindfunclet$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z$2:
  00013	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00016	83 c1 20	 add	 ecx, 32			; 00000020H
  00019	e9 00 00 00 00	 jmp	 ??1?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::~vector<long,std::allocator<long> >
__ehhandler$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z:
  0001e	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00022	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00025	8b 4a f4	 mov	 ecx, DWORD PTR [edx-12]
  00028	33 c8		 xor	 ecx, eax
  0002a	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0002f	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z
  00034	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CDShowTVTuner@@QAE@AAV?$CComPtr@UIAMTVTuner@@@ATL@@PAUIGraphBuilder@@@Z ENDP ; CDShowTVTuner::CDShowTVTuner
PUBLIC	??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z	; CDShowTVTuner::CDShowTVTuner
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$0
	DD	00H
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$1
	DD	01H
	DD	FLAT:__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$2
__ehfuncinfo$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z DD 019930522H
	DD	03H
	DD	FLAT:__unwindtable$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
_pGraph$ = 8						; size = 4
??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z PROC		; CDShowTVTuner::CDShowTVTuner, COMDAT
; _this$ = ecx

; 47   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 45 08	 mov	 eax, DWORD PTR _pGraph$[ebp]
  00029	50		 push	 eax
  0002a	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0002d	e8 00 00 00 00	 call	 ??0CDShowObject@@QAE@PAUIGraphBuilder@@@Z ; CDShowObject::CDShowObject
  00032	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00039	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0003c	c7 01 00 00 00
	00		 mov	 DWORD PTR [ecx], OFFSET ??_7CDShowTVTuner@@6B@
  00042	6a 00		 push	 0
  00044	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00047	83 c1 08	 add	 ecx, 8
  0004a	e8 00 00 00 00	 call	 ??0?$CComPtr@UIAMTVTuner@@@ATL@@QAE@PAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::CComPtr<IAMTVTuner>
  0004f	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00053	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00056	c7 42 0c 00 00
	00 00		 mov	 DWORD PTR [edx+12], 0
  0005d	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00060	c7 40 10 ff ff
	ff ff		 mov	 DWORD PTR [eax+16], -1
  00067	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0006a	c7 41 14 ff ff
	ff ff		 mov	 DWORD PTR [ecx+20], -1
  00071	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00074	c7 42 18 ff ff
	ff ff		 mov	 DWORD PTR [edx+24], -1
  0007b	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0007e	c7 40 1c ff ff
	ff ff		 mov	 DWORD PTR [eax+28], -1
  00085	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00088	83 c1 20	 add	 ecx, 32			; 00000020H
  0008b	e8 00 00 00 00	 call	 ??0?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::vector<long,std::allocator<long> >
  00090	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  00094	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00097	c7 41 38 fe ff
	ff ff		 mov	 DWORD PTR [ecx+56], -2	; fffffffeH
  0009e	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  000a1	c7 42 3c 00 00
	00 00		 mov	 DWORD PTR [edx+60], 0
  000a8	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  000ab	c7 40 40 00 00
	00 00		 mov	 DWORD PTR [eax+64], 0
  000b2	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  000b5	c7 41 44 00 00
	00 00		 mov	 DWORD PTR [ecx+68], 0

; 48   :     //
; 49   : }

  000bc	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  000c3	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  000c6	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  000c9	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  000d0	59		 pop	 ecx
  000d1	8b e5		 mov	 esp, ebp
  000d3	5d		 pop	 ebp
  000d4	c2 04 00	 ret	 4
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CDShowObject@@UAE@XZ	; CDShowObject::~CDShowObject
__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$1:
  00008	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0000b	83 c1 08	 add	 ecx, 8
  0000e	e9 00 00 00 00	 jmp	 ??1?$CComPtr@UIAMTVTuner@@@ATL@@QAE@XZ ; ATL::CComPtr<IAMTVTuner>::~CComPtr<IAMTVTuner>
__unwindfunclet$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z$2:
  00013	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00016	83 c1 20	 add	 ecx, 32			; 00000020H
  00019	e9 00 00 00 00	 jmp	 ??1?$vector@JV?$allocator@J@std@@@std@@QAE@XZ ; std::vector<long,std::allocator<long> >::~vector<long,std::allocator<long> >
__ehhandler$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z:
  0001e	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00022	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00025	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00028	33 c8		 xor	 ecx, eax
  0002a	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0002f	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z
  00034	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CDShowTVTuner@@QAE@PAUIGraphBuilder@@@Z ENDP		; CDShowTVTuner::CDShowTVTuner
PUBLIC	__$ArrayPad$
PUBLIC	?LoadFrequencyTable@CDShowTVTuner@@QAEHHW4tagTunerInputType@@@Z ; CDShowTVTuner::LoadFrequencyTable
; Function compile flags: /Odtp
;	COMDAT ?LoadFrequencyTable@CDShowTVTuner@@QAEHHW4tagTunerInputType@@@Z
_TEXT	SEGMENT
tv184 = -112						; size = 4
tv146 = -108						; size = 4
tv77 = -104						; size = 4
tv74 = -100						; size = 4
_this$ = -96						; size = 4
_i$141059 = -92						; size = 4
_lName$141052 = -88					; size = 40
_tabIndex$ = -48					; size = 4
_ch$ = -44						; size = 4
_szRCDATA$ = -40					; size = 20
__$ArrayPad$ = -20					; size = 4
_FreqTable$ = -16					; size = 4
_RcCountryList$ = -12					; size = 4
_hDSTunerModule$ = -8					; size = 4
_Index$ = -4						; size = 4
_CountryCode$ = 8					; size = 4
_InputType$ = 12					; size = 4
?LoadFrequencyTable@CDShowTVTuner@@QAEHHW4tagTunerInputType@@@Z PROC ; CDShowTVTuner::LoadFrequencyTable, COMDAT
; _this$ = ecx

; 508  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 70	 sub	 esp, 112		; 00000070H
  00006	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000b	33 c5		 xor	 eax, ebp
  0000d	89 45 ec	 mov	 DWORD PTR __$ArrayPad$[ebp], eax
  00010	89 4d a0	 mov	 DWORD PTR _this$[ebp], ecx

; 509  : //prevent compiler from trying to align struct (compiler adds 2 hidden bytes to struct)
; 510  : #pragma pack(push,1)
; 511  :     typedef struct
; 512  :     {
; 513  :         WORD CountryCode;
; 514  :         WORD CableFreqTable;
; 515  :         WORD BroadcastFreqTable;
; 516  :         DWORD VideoStandard;
; 517  :     } TRCCountryList;
; 518  : #pragma pack(pop)
; 519  : 
; 520  :     long *FreqTable = NULL;

  00013	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _FreqTable$[ebp], 0

; 521  :     HMODULE hDSTunerModule = NULL;

  0001a	c7 45 f8 00 00
	00 00		 mov	 DWORD PTR _hDSTunerModule$[ebp], 0

; 522  :     TCHAR szRCDATA[10];
; 523  : 
; 524  : 
; 525  :     _sntprintf(szRCDATA, 10, _T("#%d"),RT_RCDATA);

  00021	6a 0a		 push	 10			; 0000000aH
  00023	68 00 00 00 00	 push	 OFFSET ??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@
  00028	6a 0a		 push	 10			; 0000000aH
  0002a	8d 45 d8	 lea	 eax, DWORD PTR _szRCDATA$[ebp]
  0002d	50		 push	 eax
  0002e	e8 00 00 00 00	 call	 __snwprintf
  00033	83 c4 10	 add	 esp, 16			; 00000010H

; 526  :     TRCCountryList *RcCountryList = (TRCCountryList*)GetRcData(_T("kstvtune.ax"),_T("#9999"),szRCDATA, hDSTunerModule);

  00036	8d 4d f8	 lea	 ecx, DWORD PTR _hDSTunerModule$[ebp]
  00039	51		 push	 ecx
  0003a	8d 55 d8	 lea	 edx, DWORD PTR _szRCDATA$[ebp]
  0003d	52		 push	 edx
  0003e	68 00 00 00 00	 push	 OFFSET ??_C@_1M@ELLHDAHC@?$AA?$CD?$AA9?$AA9?$AA9?$AA9?$AA?$AA@
  00043	68 00 00 00 00	 push	 OFFSET ??_C@_1BI@IIKLBMFD@?$AAk?$AAs?$AAt?$AAv?$AAt?$AAu?$AAn?$AAe?$AA?4?$AAa?$AAx?$AA?$AA@
  00048	e8 00 00 00 00	 call	 ?GetRcData@@YAPAXPB_W00AAPAUHINSTANCE__@@@Z ; GetRcData
  0004d	83 c4 10	 add	 esp, 16			; 00000010H
  00050	89 45 f4	 mov	 DWORD PTR _RcCountryList$[ebp], eax

; 527  : 
; 528  :     LOG(2,_T("DShowTVTuner: Load country table %d (%s) (%s)"),CountryCode, ((InputType==TunerInputCable)?_T("Cable"):_T("Broadcast")),((RcCountryList==NULL)?_T("Failed"):_T("Ok")));

  00053	83 7d f4 00	 cmp	 DWORD PTR _RcCountryList$[ebp], 0
  00057	75 09		 jne	 SHORT $LN15@LoadFreque
  00059	c7 45 9c 00 00
	00 00		 mov	 DWORD PTR tv74[ebp], OFFSET ??_C@_1O@GCADHOOL@?$AAF?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?$AA@
  00060	eb 07		 jmp	 SHORT $LN16@LoadFreque
$LN15@LoadFreque:
  00062	c7 45 9c 00 00
	00 00		 mov	 DWORD PTR tv74[ebp], OFFSET ??_C@_15FMBEJGOH@?$AAO?$AAk?$AA?$AA@
$LN16@LoadFreque:
  00069	83 7d 0c 00	 cmp	 DWORD PTR _InputType$[ebp], 0
  0006d	75 09		 jne	 SHORT $LN17@LoadFreque
  0006f	c7 45 98 00 00
	00 00		 mov	 DWORD PTR tv77[ebp], OFFSET ??_C@_1M@BMPCFMAI@?$AAC?$AAa?$AAb?$AAl?$AAe?$AA?$AA@
  00076	eb 07		 jmp	 SHORT $LN18@LoadFreque
$LN17@LoadFreque:
  00078	c7 45 98 00 00
	00 00		 mov	 DWORD PTR tv77[ebp], OFFSET ??_C@_1BE@BPHMJEE@?$AAB?$AAr?$AAo?$AAa?$AAd?$AAc?$AAa?$AAs?$AAt?$AA?$AA@
$LN18@LoadFreque:
  0007f	8b 45 9c	 mov	 eax, DWORD PTR tv74[ebp]
  00082	50		 push	 eax
  00083	8b 4d 98	 mov	 ecx, DWORD PTR tv77[ebp]
  00086	51		 push	 ecx
  00087	8b 55 08	 mov	 edx, DWORD PTR _CountryCode$[ebp]
  0008a	52		 push	 edx
  0008b	68 00 00 00 00	 push	 OFFSET ??_C@_1FM@HBPLNMAK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAc?$AAo?$AAu?$AAn?$AAt?$AAr?$AAy?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe@
  00090	6a 02		 push	 2
  00092	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00097	83 c4 14	 add	 esp, 20			; 00000014H

; 529  : 
; 530  :     int Index = 0;

  0009a	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR _Index$[ebp], 0
$LN12@LoadFreque:

; 531  :     while ((RcCountryList != NULL) && (RcCountryList[Index].CountryCode != 0))

  000a1	83 7d f4 00	 cmp	 DWORD PTR _RcCountryList$[ebp], 0
  000a5	0f 84 cc 00 00
	00		 je	 $LN11@LoadFreque
  000ab	8b 45 fc	 mov	 eax, DWORD PTR _Index$[ebp]
  000ae	6b c0 0a	 imul	 eax, 10			; 0000000aH
  000b1	8b 4d f4	 mov	 ecx, DWORD PTR _RcCountryList$[ebp]
  000b4	0f b7 14 01	 movzx	 edx, WORD PTR [ecx+eax]
  000b8	85 d2		 test	 edx, edx
  000ba	0f 84 b7 00 00
	00		 je	 $LN11@LoadFreque

; 532  :     {
; 533  :         if (RcCountryList[Index].CountryCode == CountryCode)

  000c0	8b 45 fc	 mov	 eax, DWORD PTR _Index$[ebp]
  000c3	6b c0 0a	 imul	 eax, 10			; 0000000aH
  000c6	8b 4d f4	 mov	 ecx, DWORD PTR _RcCountryList$[ebp]
  000c9	0f b7 14 01	 movzx	 edx, WORD PTR [ecx+eax]
  000cd	3b 55 08	 cmp	 edx, DWORD PTR _CountryCode$[ebp]
  000d0	0f 85 93 00 00
	00		 jne	 $LN10@LoadFreque

; 534  :         {
; 535  :             TCHAR lName[20];
; 536  :             if (InputType == TunerInputCable)

  000d6	83 7d 0c 00	 cmp	 DWORD PTR _InputType$[ebp], 0
  000da	75 24		 jne	 SHORT $LN9@LoadFreque

; 537  :             {
; 538  :                 _sntprintf(lName, 10, _T("#%d"),RcCountryList[Index].CableFreqTable);

  000dc	8b 45 fc	 mov	 eax, DWORD PTR _Index$[ebp]
  000df	6b c0 0a	 imul	 eax, 10			; 0000000aH
  000e2	8b 4d f4	 mov	 ecx, DWORD PTR _RcCountryList$[ebp]
  000e5	0f b7 54 01 02	 movzx	 edx, WORD PTR [ecx+eax+2]
  000ea	52		 push	 edx
  000eb	68 00 00 00 00	 push	 OFFSET ??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@
  000f0	6a 0a		 push	 10			; 0000000aH
  000f2	8d 45 a8	 lea	 eax, DWORD PTR _lName$141052[ebp]
  000f5	50		 push	 eax
  000f6	e8 00 00 00 00	 call	 __snwprintf
  000fb	83 c4 10	 add	 esp, 16			; 00000010H

; 539  :             }
; 540  :             else

  000fe	eb 22		 jmp	 SHORT $LN8@LoadFreque
$LN9@LoadFreque:

; 541  :             {
; 542  :                 _sntprintf(lName, 20, _T("#%d"),RcCountryList[Index].BroadcastFreqTable);

  00100	8b 4d fc	 mov	 ecx, DWORD PTR _Index$[ebp]
  00103	6b c9 0a	 imul	 ecx, 10			; 0000000aH
  00106	8b 55 f4	 mov	 edx, DWORD PTR _RcCountryList$[ebp]
  00109	0f b7 44 0a 04	 movzx	 eax, WORD PTR [edx+ecx+4]
  0010e	50		 push	 eax
  0010f	68 00 00 00 00	 push	 OFFSET ??_C@_17OABLBPC@?$AA?$CD?$AA?$CF?$AAd?$AA?$AA@
  00114	6a 14		 push	 20			; 00000014H
  00116	8d 4d a8	 lea	 ecx, DWORD PTR _lName$141052[ebp]
  00119	51		 push	 ecx
  0011a	e8 00 00 00 00	 call	 __snwprintf
  0011f	83 c4 10	 add	 esp, 16			; 00000010H
$LN8@LoadFreque:

; 543  :             }
; 544  :             FreqTable = (long*)GetRcData(_T("kstvtune.ax"), lName, szRCDATA, hDSTunerModule);

  00122	8d 55 f8	 lea	 edx, DWORD PTR _hDSTunerModule$[ebp]
  00125	52		 push	 edx
  00126	8d 45 d8	 lea	 eax, DWORD PTR _szRCDATA$[ebp]
  00129	50		 push	 eax
  0012a	8d 4d a8	 lea	 ecx, DWORD PTR _lName$141052[ebp]
  0012d	51		 push	 ecx
  0012e	68 00 00 00 00	 push	 OFFSET ??_C@_1BI@IIKLBMFD@?$AAk?$AAs?$AAt?$AAv?$AAt?$AAu?$AAn?$AAe?$AA?4?$AAa?$AAx?$AA?$AA@
  00133	e8 00 00 00 00	 call	 ?GetRcData@@YAPAXPB_W00AAPAUHINSTANCE__@@@Z ; GetRcData
  00138	83 c4 10	 add	 esp, 16			; 00000010H
  0013b	89 45 f0	 mov	 DWORD PTR _FreqTable$[ebp], eax

; 545  :             LOG(2,_T("DShowTVTuner: Load freq table (%s)"),(FreqTable==NULL)?_T("Failed"):_T("Ok"));

  0013e	83 7d f0 00	 cmp	 DWORD PTR _FreqTable$[ebp], 0
  00142	75 09		 jne	 SHORT $LN19@LoadFreque
  00144	c7 45 94 00 00
	00 00		 mov	 DWORD PTR tv146[ebp], OFFSET ??_C@_1O@GCADHOOL@?$AAF?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?$AA@
  0014b	eb 07		 jmp	 SHORT $LN20@LoadFreque
$LN19@LoadFreque:
  0014d	c7 45 94 00 00
	00 00		 mov	 DWORD PTR tv146[ebp], OFFSET ??_C@_15FMBEJGOH@?$AAO?$AAk?$AA?$AA@
$LN20@LoadFreque:
  00154	8b 55 94	 mov	 edx, DWORD PTR tv146[ebp]
  00157	52		 push	 edx
  00158	68 00 00 00 00	 push	 OFFSET ??_C@_1EG@HDPHLPEP@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAL?$AAo?$AAa?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$CI?$AA?$CF@
  0015d	6a 02		 push	 2
  0015f	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00164	83 c4 0c	 add	 esp, 12			; 0000000cH

; 546  :             break;

  00167	eb 0e		 jmp	 SHORT $LN11@LoadFreque
$LN10@LoadFreque:

; 547  :         }
; 548  :         Index++;

  00169	8b 45 fc	 mov	 eax, DWORD PTR _Index$[ebp]
  0016c	83 c0 01	 add	 eax, 1
  0016f	89 45 fc	 mov	 DWORD PTR _Index$[ebp], eax

; 549  :     }

  00172	e9 2a ff ff ff	 jmp	 $LN12@LoadFreque
$LN11@LoadFreque:

; 550  :     if (hDSTunerModule != NULL)

  00177	83 7d f8 00	 cmp	 DWORD PTR _hDSTunerModule$[ebp], 0
  0017b	74 0a		 je	 SHORT $LN7@LoadFreque

; 551  :     {
; 552  :         FreeLibrary(hDSTunerModule);

  0017d	8b 4d f8	 mov	 ecx, DWORD PTR _hDSTunerModule$[ebp]
  00180	51		 push	 ecx
  00181	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__FreeLibrary@4
$LN7@LoadFreque:

; 553  :     }
; 554  : 
; 555  :     if (FreqTable == NULL)

  00187	83 7d f0 00	 cmp	 DWORD PTR _FreqTable$[ebp], 0
  0018b	75 44		 jne	 SHORT $LN6@LoadFreque

; 556  :     {
; 557  :         // Failed. Use default table
; 558  :         m_FrequencyTable.clear();

  0018d	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00190	83 c1 20	 add	 ecx, 32			; 00000020H
  00193	e8 00 00 00 00	 call	 ?clear@?$vector@JV?$allocator@J@std@@@std@@QAEXXZ ; std::vector<long,std::allocator<long> >::clear

; 559  :         int i = 0;

  00198	c7 45 a4 00 00
	00 00		 mov	 DWORD PTR _i$141059[ebp], 0
$LN5@LoadFreque:

; 560  :         while (DSUniFreqTable[2 + i] != 0)

  0019f	8b 55 a4	 mov	 edx, DWORD PTR _i$141059[ebp]
  001a2	83 3c 95 08 00
	00 00 00	 cmp	 DWORD PTR ?DSUniFreqTable@CDShowTVTuner@@0QBJB[edx*4+8], 0
  001aa	74 21		 je	 SHORT $LN4@LoadFreque

; 561  :         {
; 562  :             m_FrequencyTable.push_back(DSUniFreqTable[i+2]);

  001ac	8b 45 a4	 mov	 eax, DWORD PTR _i$141059[ebp]
  001af	8d 0c 85 08 00
	00 00		 lea	 ecx, DWORD PTR ?DSUniFreqTable@CDShowTVTuner@@0QBJB[eax*4+8]
  001b6	51		 push	 ecx
  001b7	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  001ba	83 c1 20	 add	 ecx, 32			; 00000020H
  001bd	e8 00 00 00 00	 call	 ?push_back@?$vector@JV?$allocator@J@std@@@std@@QAEXABJ@Z ; std::vector<long,std::allocator<long> >::push_back

; 563  :             i++;

  001c2	8b 55 a4	 mov	 edx, DWORD PTR _i$141059[ebp]
  001c5	83 c2 01	 add	 edx, 1
  001c8	89 55 a4	 mov	 DWORD PTR _i$141059[ebp], edx

; 564  :         }

  001cb	eb d2		 jmp	 SHORT $LN5@LoadFreque
$LN4@LoadFreque:

; 565  :         return FALSE;

  001cd	33 c0		 xor	 eax, eax
  001cf	eb 79		 jmp	 SHORT $LN13@LoadFreque
$LN6@LoadFreque:

; 566  :     }
; 567  : 
; 568  :     m_FrequencyTable.clear();

  001d1	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  001d4	83 c1 20	 add	 ecx, 32			; 00000020H
  001d7	e8 00 00 00 00	 call	 ?clear@?$vector@JV?$allocator@J@std@@@std@@QAEXXZ ; std::vector<long,std::allocator<long> >::clear

; 569  : 
; 570  :     //m_MinChannel =  FreqTable[0];
; 571  :     //m_MaxChannel =  FreqTable[1];
; 572  : 
; 573  :     LOG(2,_T("DShowTVTuner: Freq table [%i .. %i]"),m_MinChannel,m_MaxChannel);

  001dc	8b 45 a0	 mov	 eax, DWORD PTR _this$[ebp]
  001df	8b 48 1c	 mov	 ecx, DWORD PTR [eax+28]
  001e2	51		 push	 ecx
  001e3	8b 55 a0	 mov	 edx, DWORD PTR _this$[ebp]
  001e6	8b 42 18	 mov	 eax, DWORD PTR [edx+24]
  001e9	50		 push	 eax
  001ea	68 00 00 00 00	 push	 OFFSET ??_C@_1EI@IDPACEFF@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAr?$AAe?$AAq?$AA?5?$AAt?$AAa?$AAb?$AAl?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAi?$AA?5?$AA?4?$AA?4?$AA?5@
  001ef	6a 02		 push	 2
  001f1	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  001f6	83 c4 10	 add	 esp, 16			; 00000010H

; 574  : 
; 575  :     int tabIndex = 2;

  001f9	c7 45 d0 02 00
	00 00		 mov	 DWORD PTR _tabIndex$[ebp], 2

; 576  :     int ch;
; 577  :     for (ch = m_MinChannel; ch <= m_MaxChannel; ch++)

  00200	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00203	8b 51 18	 mov	 edx, DWORD PTR [ecx+24]
  00206	89 55 d4	 mov	 DWORD PTR _ch$[ebp], edx
  00209	eb 09		 jmp	 SHORT $LN3@LoadFreque
$LN2@LoadFreque:
  0020b	8b 45 d4	 mov	 eax, DWORD PTR _ch$[ebp]
  0020e	83 c0 01	 add	 eax, 1
  00211	89 45 d4	 mov	 DWORD PTR _ch$[ebp], eax
$LN3@LoadFreque:
  00214	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00217	8b 55 d4	 mov	 edx, DWORD PTR _ch$[ebp]
  0021a	3b 51 1c	 cmp	 edx, DWORD PTR [ecx+28]
  0021d	7f 26		 jg	 SHORT $LN1@LoadFreque

; 578  :     {
; 579  :         m_FrequencyTable.push_back( FreqTable[tabIndex++] );

  0021f	8b 45 d0	 mov	 eax, DWORD PTR _tabIndex$[ebp]
  00222	8b 4d f0	 mov	 ecx, DWORD PTR _FreqTable$[ebp]
  00225	8d 14 81	 lea	 edx, DWORD PTR [ecx+eax*4]
  00228	89 55 90	 mov	 DWORD PTR tv184[ebp], edx
  0022b	8b 45 90	 mov	 eax, DWORD PTR tv184[ebp]
  0022e	50		 push	 eax
  0022f	8b 4d a0	 mov	 ecx, DWORD PTR _this$[ebp]
  00232	83 c1 20	 add	 ecx, 32			; 00000020H
  00235	e8 00 00 00 00	 call	 ?push_back@?$vector@JV?$allocator@J@std@@@std@@QAEXABJ@Z ; std::vector<long,std::allocator<long> >::push_back
  0023a	8b 4d d0	 mov	 ecx, DWORD PTR _tabIndex$[ebp]
  0023d	83 c1 01	 add	 ecx, 1
  00240	89 4d d0	 mov	 DWORD PTR _tabIndex$[ebp], ecx

; 580  :     }

  00243	eb c6		 jmp	 SHORT $LN2@LoadFreque
$LN1@LoadFreque:

; 581  : 
; 582  :     return TRUE;

  00245	b8 01 00 00 00	 mov	 eax, 1
$LN13@LoadFreque:

; 583  : }

  0024a	8b 4d ec	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  0024d	33 cd		 xor	 ecx, ebp
  0024f	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00254	8b e5		 mov	 esp, ebp
  00256	5d		 pop	 ebp
  00257	c2 08 00	 ret	 8
?LoadFrequencyTable@CDShowTVTuner@@QAEHHW4tagTunerInputType@@@Z ENDP ; CDShowTVTuner::LoadFrequencyTable
_TEXT	ENDS
PUBLIC	?SetChannel@CDShowTVTuner@@QAEHJ@Z		; CDShowTVTuner::SetChannel
; Function compile flags: /Odtp
;	COMDAT ?SetChannel@CDShowTVTuner@@QAEHJ@Z
_TEXT	SEGMENT
tv143 = -68						; size = 4
tv82 = -64						; size = 4
_this$ = -60						; size = 4
$T346494 = -56						; size = 44
_hr$140883 = -12					; size = 4
_lVideoSubChannel$ = -8					; size = 4
_lAudioSubChannel$ = -4					; size = 4
_lChannel$ = 8						; size = 4
?SetChannel@CDShowTVTuner@@QAEHJ@Z PROC			; CDShowTVTuner::SetChannel, COMDAT
; _this$ = ecx

; 221  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 44	 sub	 esp, 68			; 00000044H
  00006	89 4d c4	 mov	 DWORD PTR _this$[ebp], ecx

; 222  :     if (m_TVTuner == NULL)

  00009	6a 00		 push	 0
  0000b	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  0000e	83 c1 08	 add	 ecx, 8
  00011	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00016	0f b6 c0	 movzx	 eax, al
  00019	85 c0		 test	 eax, eax
  0001b	74 07		 je	 SHORT $LN7@SetChannel@3

; 223  :     {
; 224  :         return FALSE;

  0001d	33 c0		 xor	 eax, eax
  0001f	e9 d4 00 00 00	 jmp	 $LN9@SetChannel@3
$LN7@SetChannel@3:

; 225  :     }
; 226  : 
; 227  :     if ( (m_MinChannel < 0) || (m_MaxChannel < 0) )

  00024	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  00027	83 79 18 00	 cmp	 DWORD PTR [ecx+24], 0
  0002b	7c 09		 jl	 SHORT $LN5@SetChannel@3
  0002d	8b 55 c4	 mov	 edx, DWORD PTR _this$[ebp]
  00030	83 7a 1c 00	 cmp	 DWORD PTR [edx+28], 0
  00034	7d 52		 jge	 SHORT $LN6@SetChannel@3
$LN5@SetChannel@3:

; 228  :     {
; 229  :         HRESULT hr = m_TVTuner->ChannelMinMax(&m_MinChannel, &m_MaxChannel);

  00036	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  00039	83 c1 08	 add	 ecx, 8
  0003c	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  00041	89 45 c0	 mov	 DWORD PTR tv82[ebp], eax
  00044	8b 45 c4	 mov	 eax, DWORD PTR _this$[ebp]
  00047	83 c0 1c	 add	 eax, 28			; 0000001cH
  0004a	50		 push	 eax
  0004b	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  0004e	83 c1 18	 add	 ecx, 24			; 00000018H
  00051	51		 push	 ecx
  00052	8b 55 c0	 mov	 edx, DWORD PTR tv82[ebp]
  00055	52		 push	 edx
  00056	8b 45 c0	 mov	 eax, DWORD PTR tv82[ebp]
  00059	8b 08		 mov	 ecx, DWORD PTR [eax]
  0005b	8b 51 14	 mov	 edx, DWORD PTR [ecx+20]
  0005e	ff d2		 call	 edx
  00060	89 45 f4	 mov	 DWORD PTR _hr$140883[ebp], eax

; 230  :         if(FAILED(hr))

  00063	83 7d f4 00	 cmp	 DWORD PTR _hr$140883[ebp], 0
  00067	7d 1f		 jge	 SHORT $LN6@SetChannel@3

; 231  :         {
; 232  :             throw CDShowTvTunerException("ChannelMinMax failed",hr);

  00069	8b 45 f4	 mov	 eax, DWORD PTR _hr$140883[ebp]
  0006c	50		 push	 eax
  0006d	68 00 00 00 00	 push	 OFFSET ??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@
  00072	8d 4d c8	 lea	 ecx, DWORD PTR $T346494[ebp]
  00075	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  0007a	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  0007f	8d 4d c8	 lea	 ecx, DWORD PTR $T346494[ebp]
  00082	51		 push	 ecx
  00083	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN6@SetChannel@3:

; 233  :         }
; 234  :     }
; 235  : 
; 236  :     if ( (lChannel < m_MinChannel) || (lChannel > m_MaxChannel) )

  00088	8b 55 c4	 mov	 edx, DWORD PTR _this$[ebp]
  0008b	8b 45 08	 mov	 eax, DWORD PTR _lChannel$[ebp]
  0008e	3b 42 18	 cmp	 eax, DWORD PTR [edx+24]
  00091	7c 0b		 jl	 SHORT $LN2@SetChannel@3
  00093	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  00096	8b 55 08	 mov	 edx, DWORD PTR _lChannel$[ebp]
  00099	3b 51 1c	 cmp	 edx, DWORD PTR [ecx+28]
  0009c	7e 04		 jle	 SHORT $LN3@SetChannel@3
$LN2@SetChannel@3:

; 237  :     {
; 238  :         return FALSE;

  0009e	33 c0		 xor	 eax, eax
  000a0	eb 56		 jmp	 SHORT $LN9@SetChannel@3
$LN3@SetChannel@3:

; 239  :     }
; 240  : 
; 241  :     // Set channel
; 242  :     long lVideoSubChannel;
; 243  :     long lAudioSubChannel;
; 244  : 
; 245  :     lVideoSubChannel = AMTUNER_SUBCHAN_DEFAULT;

  000a2	c7 45 f8 ff ff
	ff ff		 mov	 DWORD PTR _lVideoSubChannel$[ebp], -1

; 246  :     lAudioSubChannel = AMTUNER_SUBCHAN_DEFAULT;

  000a9	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR _lAudioSubChannel$[ebp], -1

; 247  : 
; 248  :     LOG(2,_T("DShowTVTuner: Set to channel %d"),lChannel);

  000b0	8b 45 08	 mov	 eax, DWORD PTR _lChannel$[ebp]
  000b3	50		 push	 eax
  000b4	68 00 00 00 00	 push	 OFFSET ??_C@_1EA@LCLCJBMK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAt?$AAo?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AA?$CF?$AAd?$AA?$AA@
  000b9	6a 02		 push	 2
  000bb	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  000c0	83 c4 0c	 add	 esp, 12			; 0000000cH

; 249  :     if (m_TVTuner->put_Channel(lChannel, lVideoSubChannel, lAudioSubChannel) == NOERROR)

  000c3	8b 4d c4	 mov	 ecx, DWORD PTR _this$[ebp]
  000c6	83 c1 08	 add	 ecx, 8
  000c9	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  000ce	89 45 bc	 mov	 DWORD PTR tv143[ebp], eax
  000d1	8b 4d fc	 mov	 ecx, DWORD PTR _lAudioSubChannel$[ebp]
  000d4	51		 push	 ecx
  000d5	8b 55 f8	 mov	 edx, DWORD PTR _lVideoSubChannel$[ebp]
  000d8	52		 push	 edx
  000d9	8b 45 08	 mov	 eax, DWORD PTR _lChannel$[ebp]
  000dc	50		 push	 eax
  000dd	8b 4d bc	 mov	 ecx, DWORD PTR tv143[ebp]
  000e0	51		 push	 ecx
  000e1	8b 55 bc	 mov	 edx, DWORD PTR tv143[ebp]
  000e4	8b 02		 mov	 eax, DWORD PTR [edx]
  000e6	8b 48 0c	 mov	 ecx, DWORD PTR [eax+12]
  000e9	ff d1		 call	 ecx
  000eb	85 c0		 test	 eax, eax
  000ed	75 07		 jne	 SHORT $LN1@SetChannel@3

; 250  :     {
; 251  :         return TRUE;

  000ef	b8 01 00 00 00	 mov	 eax, 1
  000f4	eb 02		 jmp	 SHORT $LN9@SetChannel@3
$LN1@SetChannel@3:

; 252  :     }
; 253  : 
; 254  :     return FALSE;

  000f6	33 c0		 xor	 eax, eax
$LN9@SetChannel@3:

; 255  : }

  000f8	8b e5		 mov	 esp, ebp
  000fa	5d		 pop	 ebp
  000fb	c2 04 00	 ret	 4
?SetChannel@CDShowTVTuner@@QAEHJ@Z ENDP			; CDShowTVTuner::SetChannel
PUBLIC	__$ArrayPad$
PUBLIC	?SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z	; CDShowTVTuner::SetTunerFrequency
; Function compile flags: /Odtp
;	COMDAT ?SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z
_TEXT	SEGMENT
tv342 = -472						; size = 4
tv82 = -468						; size = 4
_this$ = -464						; size = 4
$T348102 = -460						; size = 44
$T348101 = -416						; size = 44
$T348100 = -372						; size = 4
$T348099 = -368						; size = 4
$T348098 = -364						; size = 4
$T348097 = -360						; size = 4
$T348096 = -356						; size = 44
_hr$140980 = -312					; size = 4
_TunerSpace$140948 = -308				; size = 4
_Errors$140949 = -304					; size = 4
_regsam$140944 = -300					; size = 4
_secatt$140945 = -296					; size = 12
_szChannel$140971 = -284				; size = 40
_dwDisposition$140943 = -244				; size = 4
_szKeyName$140947 = -240				; size = 200
__$ArrayPad$ = -36					; size = 4
_Length$140921 = -32					; size = 4
_NumChannels$140931 = -28				; size = 4
_OldestTag$140930 = -24					; size = 4
_RegKey$140941 = -20					; size = 4
_Index$140928 = -16					; size = 4
_OldestIndex$140929 = -12				; size = 4
_Channel$140909 = -8					; size = 4
_hr$140901 = -4						; size = 4
_dwFrequency$ = 8					; size = 4
?SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z PROC		; CDShowTVTuner::SetTunerFrequency, COMDAT
; _this$ = ecx

; 258  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	81 ec d8 01 00
	00		 sub	 esp, 472		; 000001d8H
  00009	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000e	33 c5		 xor	 eax, ebp
  00010	89 45 dc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax
  00013	89 8d 30 fe ff
	ff		 mov	 DWORD PTR _this$[ebp], ecx

; 259  :     if (m_TVTuner == NULL)

  00019	6a 00		 push	 0
  0001b	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00021	83 c1 08	 add	 ecx, 8
  00024	e8 00 00 00 00	 call	 ??8?$CComPtr@UIAMTVTuner@@@ATL@@QBE_NPAUIAMTVTuner@@@Z ; ATL::CComPtr<IAMTVTuner>::operator==
  00029	0f b6 c0	 movzx	 eax, al
  0002c	85 c0		 test	 eax, eax
  0002e	74 07		 je	 SHORT $LN37@SetTunerFr@2

; 260  :     {
; 261  :         return FALSE;

  00030	33 c0		 xor	 eax, eax
  00032	e9 35 07 00 00	 jmp	 $LN39@SetTunerFr@2
$LN37@SetTunerFr@2:

; 262  :     }
; 263  : 
; 264  :     if ( (m_MinChannel < 0) || (m_MaxChannel < 0) )

  00037	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0003d	83 79 18 00	 cmp	 DWORD PTR [ecx+24], 0
  00041	7c 0c		 jl	 SHORT $LN35@SetTunerFr@2
  00043	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00049	83 7a 1c 00	 cmp	 DWORD PTR [edx+28], 0
  0004d	7d 6a		 jge	 SHORT $LN36@SetTunerFr@2
$LN35@SetTunerFr@2:

; 265  :     {
; 266  :         HRESULT hr = m_TVTuner->ChannelMinMax(&m_MinChannel, &m_MaxChannel);

  0004f	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00055	83 c1 08	 add	 ecx, 8
  00058	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  0005d	89 85 2c fe ff
	ff		 mov	 DWORD PTR tv82[ebp], eax
  00063	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00069	83 c0 1c	 add	 eax, 28			; 0000001cH
  0006c	50		 push	 eax
  0006d	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00073	83 c1 18	 add	 ecx, 24			; 00000018H
  00076	51		 push	 ecx
  00077	8b 95 2c fe ff
	ff		 mov	 edx, DWORD PTR tv82[ebp]
  0007d	52		 push	 edx
  0007e	8b 85 2c fe ff
	ff		 mov	 eax, DWORD PTR tv82[ebp]
  00084	8b 08		 mov	 ecx, DWORD PTR [eax]
  00086	8b 51 14	 mov	 edx, DWORD PTR [ecx+20]
  00089	ff d2		 call	 edx
  0008b	89 45 fc	 mov	 DWORD PTR _hr$140901[ebp], eax

; 267  :         if(FAILED(hr))

  0008e	83 7d fc 00	 cmp	 DWORD PTR _hr$140901[ebp], 0
  00092	7d 25		 jge	 SHORT $LN36@SetTunerFr@2

; 268  :         {
; 269  :             throw CDShowTvTunerException("ChannelMinMax failed",hr);

  00094	8b 45 fc	 mov	 eax, DWORD PTR _hr$140901[ebp]
  00097	50		 push	 eax
  00098	68 00 00 00 00	 push	 OFFSET ??_C@_0BF@BJGCIPIC@ChannelMinMax?5failed?$AA@
  0009d	8d 8d 9c fe ff
	ff		 lea	 ecx, DWORD PTR $T348096[ebp]
  000a3	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  000a8	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  000ad	8d 8d 9c fe ff
	ff		 lea	 ecx, DWORD PTR $T348096[ebp]
  000b3	51		 push	 ecx
  000b4	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN36@SetTunerFr@2:

; 270  :         }
; 271  :     }
; 272  : 
; 273  :     // Fixed frequency tables
; 274  :     if (m_CustomFrequencyTable == -1)

  000b9	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  000bf	83 7a 38 ff	 cmp	 DWORD PTR [edx+56], -1
  000c3	0f 85 9e 00 00
	00		 jne	 $LN33@SetTunerFr@2

; 275  :     {
; 276  :         if ((m_CountryOrInputChanged) || (m_FrequencyTable.size()==0) )

  000c9	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  000cf	83 78 44 00	 cmp	 DWORD PTR [eax+68], 0
  000d3	75 12		 jne	 SHORT $LN31@SetTunerFr@2
  000d5	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000db	83 c1 20	 add	 ecx, 32			; 00000020H
  000de	e8 00 00 00 00	 call	 ?size@?$vector@JV?$allocator@J@std@@@std@@QBEIXZ ; std::vector<long,std::allocator<long> >::size
  000e3	85 c0		 test	 eax, eax
  000e5	75 31		 jne	 SHORT $LN32@SetTunerFr@2
$LN31@SetTunerFr@2:

; 277  :         {
; 278  :             m_CountryOrInputChanged = FALSE;

  000e7	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000ed	c7 41 44 00 00
	00 00		 mov	 DWORD PTR [ecx+68], 0

; 279  :             GetCountryCode();

  000f4	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  000fa	e8 00 00 00 00	 call	 ?GetCountryCode@CDShowTVTuner@@QAEJXZ ; CDShowTVTuner::GetCountryCode

; 280  :             LoadFrequencyTable(GetCountryCode(), TunerInputCable);

  000ff	6a 00		 push	 0
  00101	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00107	e8 00 00 00 00	 call	 ?GetCountryCode@CDShowTVTuner@@QAEJXZ ; CDShowTVTuner::GetCountryCode
  0010c	50		 push	 eax
  0010d	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00113	e8 00 00 00 00	 call	 ?LoadFrequencyTable@CDShowTVTuner@@QAEHHW4tagTunerInputType@@@Z ; CDShowTVTuner::LoadFrequencyTable
$LN32@SetTunerFr@2:

; 281  :         }
; 282  : 
; 283  :         //Find Closest channel (also called frequency index by MS) method
; 284  :         int Channel = FrequencyToChannel(dwFrequency);

  00118	8b 55 08	 mov	 edx, DWORD PTR _dwFrequency$[ebp]
  0011b	52		 push	 edx
  0011c	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00122	e8 00 00 00 00	 call	 ?FrequencyToChannel@CDShowTVTuner@@AAEHJ@Z ; CDShowTVTuner::FrequencyToChannel
  00127	89 45 f8	 mov	 DWORD PTR _Channel$140909[ebp], eax

; 285  :         LOG(2,_T("DShowTVTuner: setTunerFrequency (%d) -> channel %d"),dwFrequency,Channel);

  0012a	8b 45 f8	 mov	 eax, DWORD PTR _Channel$140909[ebp]
  0012d	50		 push	 eax
  0012e	8b 4d 08	 mov	 ecx, DWORD PTR _dwFrequency$[ebp]
  00131	51		 push	 ecx
  00132	68 00 00 00 00	 push	 OFFSET ??_C@_1GG@CDKPHD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAs?$AAe?$AAt?$AAT?$AAu?$AAn?$AAe?$AAr?$AAF?$AAr?$AAe?$AAq?$AAu?$AAe?$AAn?$AAc?$AAy?$AA?5@
  00137	6a 02		 push	 2
  00139	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0013e	83 c4 10	 add	 esp, 16			; 00000010H

; 286  :         if (Channel < 0)

  00141	83 7d f8 00	 cmp	 DWORD PTR _Channel$140909[ebp], 0
  00145	7d 07		 jge	 SHORT $LN30@SetTunerFr@2

; 287  :         {
; 288  :             return FALSE;

  00147	33 c0		 xor	 eax, eax
  00149	e9 1e 06 00 00	 jmp	 $LN39@SetTunerFr@2
$LN30@SetTunerFr@2:

; 289  :         }
; 290  :         return SetChannel(Channel);

  0014e	8b 55 f8	 mov	 edx, DWORD PTR _Channel$140909[ebp]
  00151	52		 push	 edx
  00152	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00158	e8 00 00 00 00	 call	 ?SetChannel@CDShowTVTuner@@QAEHJ@Z ; CDShowTVTuner::SetChannel
  0015d	e9 0a 06 00 00	 jmp	 $LN39@SetTunerFr@2

; 291  :     }
; 292  :     else

  00162	e9 03 06 00 00	 jmp	 $LN29@SetTunerFr@2
$LN33@SetTunerFr@2:

; 293  :     {
; 294  :         // Registry method
; 295  : 
; 296  :         //dwFrequency = MulDiv(dwFrequency, 1000000, 16);
; 297  : 
; 298  :         // Use registry custom channel table as a frequency cache
; 299  : 
; 300  :         static long AutoTuneTagCounter = 0;
; 301  : 
; 302  :         if ( (m_CountryOrInputChanged) || (m_AutoTuneInfo == NULL) )

  00167	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  0016d	83 78 44 00	 cmp	 DWORD PTR [eax+68], 0
  00171	75 10		 jne	 SHORT $LN27@SetTunerFr@2
  00173	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00179	83 79 3c 00	 cmp	 DWORD PTR [ecx+60], 0
  0017d	0f 85 35 01 00
	00		 jne	 $LN28@SetTunerFr@2
$LN27@SetTunerFr@2:

; 303  :         {
; 304  :             m_CountryOrInputChanged = FALSE;

  00183	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00189	c7 42 44 00 00
	00 00		 mov	 DWORD PTR [edx+68], 0

; 305  :             if (m_AutoTuneInfo != NULL)

  00190	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00196	83 78 3c 00	 cmp	 DWORD PTR [eax+60], 0
  0019a	74 2b		 je	 SHORT $LN26@SetTunerFr@2

; 306  :             {
; 307  :                 delete[] m_AutoTuneInfo;

  0019c	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  001a2	8b 51 3c	 mov	 edx, DWORD PTR [ecx+60]
  001a5	89 95 98 fe ff
	ff		 mov	 DWORD PTR $T348097[ebp], edx
  001ab	8b 85 98 fe ff
	ff		 mov	 eax, DWORD PTR $T348097[ebp]
  001b1	50		 push	 eax
  001b2	e8 00 00 00 00	 call	 ??_V@YAXPAX@Z		; operator delete[]
  001b7	83 c4 04	 add	 esp, 4

; 308  :                 m_AutoTuneInfo = NULL;

  001ba	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  001c0	c7 41 3c 00 00
	00 00		 mov	 DWORD PTR [ecx+60], 0
$LN26@SetTunerFr@2:

; 309  :             }
; 310  :             if (m_AutoTuneTag != NULL)

  001c7	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  001cd	83 7a 40 00	 cmp	 DWORD PTR [edx+64], 0
  001d1	74 2b		 je	 SHORT $LN25@SetTunerFr@2

; 311  :             {
; 312  :                 delete[] m_AutoTuneTag;

  001d3	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  001d9	8b 48 40	 mov	 ecx, DWORD PTR [eax+64]
  001dc	89 8d 94 fe ff
	ff		 mov	 DWORD PTR $T348098[ebp], ecx
  001e2	8b 95 94 fe ff
	ff		 mov	 edx, DWORD PTR $T348098[ebp]
  001e8	52		 push	 edx
  001e9	e8 00 00 00 00	 call	 ??_V@YAXPAX@Z		; operator delete[]
  001ee	83 c4 04	 add	 esp, 4

; 313  :                 m_AutoTuneTag = NULL;

  001f1	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  001f7	c7 40 40 00 00
	00 00		 mov	 DWORD PTR [eax+64], 0
$LN25@SetTunerFr@2:

; 314  :             }
; 315  : 
; 316  :             long Length = m_MaxChannel - m_MinChannel + 1;

  001fe	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00204	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  0020a	8b 41 1c	 mov	 eax, DWORD PTR [ecx+28]
  0020d	2b 42 18	 sub	 eax, DWORD PTR [edx+24]
  00210	83 c0 01	 add	 eax, 1
  00213	89 45 e0	 mov	 DWORD PTR _Length$140921[ebp], eax

; 317  :             m_AutoTuneInfo = new long[Length];

  00216	33 c9		 xor	 ecx, ecx
  00218	8b 45 e0	 mov	 eax, DWORD PTR _Length$140921[ebp]
  0021b	ba 04 00 00 00	 mov	 edx, 4
  00220	f7 e2		 mul	 edx
  00222	0f 90 c1	 seto	 cl
  00225	f7 d9		 neg	 ecx
  00227	0b c8		 or	 ecx, eax
  00229	51		 push	 ecx
  0022a	e8 00 00 00 00	 call	 ??_U@YAPAXI@Z		; operator new[]
  0022f	83 c4 04	 add	 esp, 4
  00232	89 85 90 fe ff
	ff		 mov	 DWORD PTR $T348099[ebp], eax
  00238	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  0023e	8b 8d 90 fe ff
	ff		 mov	 ecx, DWORD PTR $T348099[ebp]
  00244	89 48 3c	 mov	 DWORD PTR [eax+60], ecx

; 318  :             m_AutoTuneTag  = new long[Length];

  00247	33 c9		 xor	 ecx, ecx
  00249	8b 45 e0	 mov	 eax, DWORD PTR _Length$140921[ebp]
  0024c	ba 04 00 00 00	 mov	 edx, 4
  00251	f7 e2		 mul	 edx
  00253	0f 90 c1	 seto	 cl
  00256	f7 d9		 neg	 ecx
  00258	0b c8		 or	 ecx, eax
  0025a	51		 push	 ecx
  0025b	e8 00 00 00 00	 call	 ??_U@YAPAXI@Z		; operator new[]
  00260	83 c4 04	 add	 esp, 4
  00263	89 85 8c fe ff
	ff		 mov	 DWORD PTR $T348100[ebp], eax
  00269	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  0026f	8b 8d 8c fe ff
	ff		 mov	 ecx, DWORD PTR $T348100[ebp]
  00275	89 48 40	 mov	 DWORD PTR [eax+64], ecx

; 319  :             memset(m_AutoTuneInfo,0,sizeof(long)*Length);

  00278	8b 55 e0	 mov	 edx, DWORD PTR _Length$140921[ebp]
  0027b	c1 e2 02	 shl	 edx, 2
  0027e	52		 push	 edx
  0027f	6a 00		 push	 0
  00281	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00287	8b 48 3c	 mov	 ecx, DWORD PTR [eax+60]
  0028a	51		 push	 ecx
  0028b	e8 00 00 00 00	 call	 _memset
  00290	83 c4 0c	 add	 esp, 12			; 0000000cH

; 320  :             memset(m_AutoTuneTag,0,sizeof(long)*Length);

  00293	8b 55 e0	 mov	 edx, DWORD PTR _Length$140921[ebp]
  00296	c1 e2 02	 shl	 edx, 2
  00299	52		 push	 edx
  0029a	6a 00		 push	 0
  0029c	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  002a2	8b 48 40	 mov	 ecx, DWORD PTR [eax+64]
  002a5	51		 push	 ecx
  002a6	e8 00 00 00 00	 call	 _memset
  002ab	83 c4 0c	 add	 esp, 12			; 0000000cH

; 321  :             AutoTuneTagCounter = 0;

  002ae	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA, 0
$LN28@SetTunerFr@2:

; 322  :         }
; 323  : 
; 324  :         // Find frequency index
; 325  :         int  Index = 0;

  002b8	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _Index$140928[ebp], 0

; 326  :         int  OldestIndex = 0;

  002bf	c7 45 f4 00 00
	00 00		 mov	 DWORD PTR _OldestIndex$140929[ebp], 0

; 327  :         long OldestTag = 0x7ffffffL;

  002c6	c7 45 e8 ff ff
	ff 07		 mov	 DWORD PTR _OldestTag$140930[ebp], 134217727 ; 07ffffffH

; 328  :         int  NumChannels = m_MaxChannel - m_MinChannel + 1;

  002cd	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  002d3	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  002d9	8b 4a 1c	 mov	 ecx, DWORD PTR [edx+28]
  002dc	2b 48 18	 sub	 ecx, DWORD PTR [eax+24]
  002df	83 c1 01	 add	 ecx, 1
  002e2	89 4d e4	 mov	 DWORD PTR _NumChannels$140931[ebp], ecx
$LN24@SetTunerFr@2:

; 329  :         while ( (Index < NumChannels) && (m_AutoTuneInfo[Index] != 0) )

  002e5	8b 55 f0	 mov	 edx, DWORD PTR _Index$140928[ebp]
  002e8	3b 55 e4	 cmp	 edx, DWORD PTR _NumChannels$140931[ebp]
  002eb	0f 8d ea 00 00
	00		 jge	 $LN23@SetTunerFr@2
  002f1	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  002f7	8b 48 3c	 mov	 ecx, DWORD PTR [eax+60]
  002fa	8b 55 f0	 mov	 edx, DWORD PTR _Index$140928[ebp]
  002fd	83 3c 91 00	 cmp	 DWORD PTR [ecx+edx*4], 0
  00301	0f 84 d4 00 00
	00		 je	 $LN23@SetTunerFr@2

; 330  :         {
; 331  :             if (m_AutoTuneInfo[Index] == dwFrequency)

  00307	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  0030d	8b 48 3c	 mov	 ecx, DWORD PTR [eax+60]
  00310	8b 55 f0	 mov	 edx, DWORD PTR _Index$140928[ebp]
  00313	8b 04 91	 mov	 eax, DWORD PTR [ecx+edx*4]
  00316	3b 45 08	 cmp	 eax, DWORD PTR _dwFrequency$[ebp]
  00319	0f 85 82 00 00
	00		 jne	 $LN22@SetTunerFr@2

; 332  :             {
; 333  :                 m_AutoTuneTag[Index] = AutoTuneTagCounter++;

  0031f	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00325	8b 51 40	 mov	 edx, DWORD PTR [ecx+64]
  00328	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  0032b	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
  00331	89 0c 82	 mov	 DWORD PTR [edx+eax*4], ecx
  00334	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
  0033a	83 c2 01	 add	 edx, 1
  0033d	89 15 00 00 00
	00		 mov	 DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA, edx

; 334  :                 LOG(2,_T("DShowTVTuner: Set channel to index %d (cached)"), Index+m_MinChannel);

  00343	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00349	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  0034c	03 48 18	 add	 ecx, DWORD PTR [eax+24]
  0034f	51		 push	 ecx
  00350	68 00 00 00 00	 push	 OFFSET ??_C@_1FO@GNKPHPDJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@
  00355	6a 02		 push	 2
  00357	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0035c	83 c4 0c	 add	 esp, 12			; 0000000cH

; 335  :                 if ( GetChannel() == (Index+m_MinChannel) )

  0035f	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00365	e8 00 00 00 00	 call	 ?GetChannel@CDShowTVTuner@@QAEJXZ ; CDShowTVTuner::GetChannel
  0036a	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00370	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  00373	03 4a 18	 add	 ecx, DWORD PTR [edx+24]
  00376	3b c1		 cmp	 eax, ecx
  00378	75 0a		 jne	 SHORT $LN21@SetTunerFr@2

; 336  :                 {
; 337  :                     return TRUE;

  0037a	b8 01 00 00 00	 mov	 eax, 1
  0037f	e9 e8 03 00 00	 jmp	 $LN39@SetTunerFr@2
$LN21@SetTunerFr@2:

; 338  :                 }
; 339  :                 return SetChannel( Index + m_MinChannel );

  00384	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  0038a	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  0038d	03 42 18	 add	 eax, DWORD PTR [edx+24]
  00390	50		 push	 eax
  00391	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00397	e8 00 00 00 00	 call	 ?SetChannel@CDShowTVTuner@@QAEHJ@Z ; CDShowTVTuner::SetChannel
  0039c	e9 cb 03 00 00	 jmp	 $LN39@SetTunerFr@2
$LN22@SetTunerFr@2:

; 340  :             }
; 341  :             if (m_AutoTuneTag[Index] < OldestTag)

  003a1	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  003a7	8b 51 40	 mov	 edx, DWORD PTR [ecx+64]
  003aa	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  003ad	8b 0c 82	 mov	 ecx, DWORD PTR [edx+eax*4]
  003b0	3b 4d e8	 cmp	 ecx, DWORD PTR _OldestTag$140930[ebp]
  003b3	7d 18		 jge	 SHORT $LN20@SetTunerFr@2

; 342  :             {
; 343  :                 OldestTag = m_AutoTuneTag[Index];

  003b5	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  003bb	8b 42 40	 mov	 eax, DWORD PTR [edx+64]
  003be	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  003c1	8b 14 88	 mov	 edx, DWORD PTR [eax+ecx*4]
  003c4	89 55 e8	 mov	 DWORD PTR _OldestTag$140930[ebp], edx

; 344  :                 OldestIndex = Index;

  003c7	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  003ca	89 45 f4	 mov	 DWORD PTR _OldestIndex$140929[ebp], eax
$LN20@SetTunerFr@2:

; 345  :             }
; 346  :             Index++;

  003cd	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  003d0	83 c1 01	 add	 ecx, 1
  003d3	89 4d f0	 mov	 DWORD PTR _Index$140928[ebp], ecx

; 347  :         }

  003d6	e9 0a ff ff ff	 jmp	 $LN24@SetTunerFr@2
$LN23@SetTunerFr@2:

; 348  :         if (Index == NumChannels)

  003db	8b 55 f0	 mov	 edx, DWORD PTR _Index$140928[ebp]
  003de	3b 55 e4	 cmp	 edx, DWORD PTR _NumChannels$140931[ebp]
  003e1	75 06		 jne	 SHORT $LN19@SetTunerFr@2

; 349  :         {
; 350  :             //Table is full, use the oldest frequency index
; 351  :             Index = OldestIndex;

  003e3	8b 45 f4	 mov	 eax, DWORD PTR _OldestIndex$140929[ebp]
  003e6	89 45 f0	 mov	 DWORD PTR _Index$140928[ebp], eax
$LN19@SetTunerFr@2:

; 352  :         }
; 353  : 
; 354  :         // Store new frequency
; 355  :         LOG(2,_T("DShowTVTuner: Try open registrykey for custom frequency"));

  003e9	68 00 00 00 00	 push	 OFFSET ??_C@_1HA@LCJJBMGN@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAT?$AAr?$AAy?$AA?5?$AAo?$AAp?$AAe?$AAn?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk@
  003ee	6a 02		 push	 2
  003f0	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  003f5	83 c4 08	 add	 esp, 8

; 356  : 
; 357  :         HKEY RegKey = NULL;

  003f8	c7 45 ec 00 00
	00 00		 mov	 DWORD PTR _RegKey$140941[ebp], 0

; 358  : 
; 359  :         if (RegKey == NULL)

  003ff	83 7d ec 00	 cmp	 DWORD PTR _RegKey$140941[ebp], 0
  00403	0f 85 61 03 00
	00		 jne	 $LN29@SetTunerFr@2

; 360  :         {
; 361  :             DWORD dwDisposition;
; 362  :             REGSAM regsam = KEY_WRITE | KEY_READ | DELETE;

  00409	c7 85 d4 fe ff
	ff 1f 00 03 00	 mov	 DWORD PTR _regsam$140944[ebp], 196639 ; 0003001fH

; 363  :             SECURITY_ATTRIBUTES secatt = {sizeof(SECURITY_ATTRIBUTES),NULL,FALSE};

  00413	c7 85 d8 fe ff
	ff 0c 00 00 00	 mov	 DWORD PTR _secatt$140945[ebp], 12 ; 0000000cH
  0041d	c7 85 dc fe ff
	ff 00 00 00 00	 mov	 DWORD PTR _secatt$140945[ebp+4], 0
  00427	c7 85 e0 fe ff
	ff 00 00 00 00	 mov	 DWORD PTR _secatt$140945[ebp+8], 0

; 364  :             TCHAR szKeyName[100];
; 365  :             int TunerSpace = m_CustomFrequencyTable;

  00431	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00437	8b 51 38	 mov	 edx, DWORD PTR [ecx+56]
  0043a	89 95 cc fe ff
	ff		 mov	 DWORD PTR _TunerSpace$140948[ebp], edx

; 366  :             int Errors = 0;

  00440	c7 85 d0 fe ff
	ff 00 00 00 00	 mov	 DWORD PTR _Errors$140949[ebp], 0

; 367  :             if (TunerSpace < 2)

  0044a	83 bd cc fe ff
	ff 02		 cmp	 DWORD PTR _TunerSpace$140948[ebp], 2
  00451	7d 0a		 jge	 SHORT $LN16@SetTunerFr@2

; 368  :             {
; 369  :                 // Start looking at tunerspace 2 for an unused table.
; 370  :                 TunerSpace = 2;

  00453	c7 85 cc fe ff
	ff 02 00 00 00	 mov	 DWORD PTR _TunerSpace$140948[ebp], 2
$LN16@SetTunerFr@2:

; 371  :             }
; 372  : 
; 373  :             do
; 374  :             {
; 375  :                 _sntprintf(szKeyName, 100, _T("Software\\Microsoft\\TV System Services\\TVAutoTune\\TS%d-1"),TunerSpace);

  0045d	8b 85 cc fe ff
	ff		 mov	 eax, DWORD PTR _TunerSpace$140948[ebp]
  00463	50		 push	 eax
  00464	68 00 00 00 00	 push	 OFFSET ??_C@_1HA@GOBDGPDB@?$AAS?$AAo?$AAf?$AAt?$AAw?$AAa?$AAr?$AAe?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt?$AA?2?$AAT?$AAV?$AA?5?$AAS?$AAy?$AAs?$AAt?$AAe?$AAm?$AA?5?$AAS?$AAe?$AAr@
  00469	6a 64		 push	 100			; 00000064H
  0046b	8d 8d 10 ff ff
	ff		 lea	 ecx, DWORD PTR _szKeyName$140947[ebp]
  00471	51		 push	 ecx
  00472	e8 00 00 00 00	 call	 __snwprintf
  00477	83 c4 10	 add	 esp, 16			; 00000010H

; 376  :                 if (RegCreateKeyEx(HKEY_LOCAL_MACHINE,szKeyName, 0,NULL,REG_OPTION_VOLATILE,regsam,&secatt,&RegKey,&dwDisposition) != ERROR_SUCCESS)

  0047a	8d 95 0c ff ff
	ff		 lea	 edx, DWORD PTR _dwDisposition$140943[ebp]
  00480	52		 push	 edx
  00481	8d 45 ec	 lea	 eax, DWORD PTR _RegKey$140941[ebp]
  00484	50		 push	 eax
  00485	8d 8d d8 fe ff
	ff		 lea	 ecx, DWORD PTR _secatt$140945[ebp]
  0048b	51		 push	 ecx
  0048c	8b 95 d4 fe ff
	ff		 mov	 edx, DWORD PTR _regsam$140944[ebp]
  00492	52		 push	 edx
  00493	6a 01		 push	 1
  00495	6a 00		 push	 0
  00497	6a 00		 push	 0
  00499	8d 85 10 ff ff
	ff		 lea	 eax, DWORD PTR _szKeyName$140947[ebp]
  0049f	50		 push	 eax
  004a0	68 02 00 00 80	 push	 -2147483646		; 80000002H
  004a5	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegCreateKeyExW@36
  004ab	85 c0		 test	 eax, eax
  004ad	74 52		 je	 SHORT $LN13@SetTunerFr@2

; 377  :                 {
; 378  :                     if (m_CustomFrequencyTable == -2)

  004af	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  004b5	83 79 38 fe	 cmp	 DWORD PTR [ecx+56], -2	; fffffffeH
  004b9	75 27		 jne	 SHORT $LN12@SetTunerFr@2

; 379  :                     {
; 380  :                         Errors++;

  004bb	8b 95 d0 fe ff
	ff		 mov	 edx, DWORD PTR _Errors$140949[ebp]
  004c1	83 c2 01	 add	 edx, 1
  004c4	89 95 d0 fe ff
	ff		 mov	 DWORD PTR _Errors$140949[ebp], edx

; 381  :                         LOG(2,_T("DShowTVTuner: Error opening %s ()"),szKeyName);

  004ca	8d 85 10 ff ff
	ff		 lea	 eax, DWORD PTR _szKeyName$140947[ebp]
  004d0	50		 push	 eax
  004d1	68 00 00 00 00	 push	 OFFSET ??_C@_1EE@PHJMKLOK@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CI@
  004d6	6a 02		 push	 2
  004d8	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  004dd	83 c4 0c	 add	 esp, 12			; 0000000cH

; 382  :                     }
; 383  :                     else

  004e0	eb 1d		 jmp	 SHORT $LN11@SetTunerFr@2
$LN12@SetTunerFr@2:

; 384  :                     {
; 385  :                         LOG(2,_T("DShowTVTuner: Error opening %s"),szKeyName);

  004e2	8d 8d 10 ff ff
	ff		 lea	 ecx, DWORD PTR _szKeyName$140947[ebp]
  004e8	51		 push	 ecx
  004e9	68 00 00 00 00	 push	 OFFSET ??_C@_1DO@FCCKIDKM@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AA?$CF?$AAs?$AA?$AA@
  004ee	6a 02		 push	 2
  004f0	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  004f5	83 c4 0c	 add	 esp, 12			; 0000000cH

; 386  :                         // Failed
; 387  :                         return FALSE;

  004f8	33 c0		 xor	 eax, eax
  004fa	e9 6d 02 00 00	 jmp	 $LN39@SetTunerFr@2
$LN11@SetTunerFr@2:

; 388  :                     }
; 389  :                 }
; 390  :                 else

  004ff	eb 46		 jmp	 SHORT $LN10@SetTunerFr@2
$LN13@SetTunerFr@2:

; 391  :                 {
; 392  :                     if (dwDisposition == REG_CREATED_NEW_KEY)

  00501	83 bd 0c ff ff
	ff 01		 cmp	 DWORD PTR _dwDisposition$140943[ebp], 1
  00508	75 27		 jne	 SHORT $LN9@SetTunerFr@2

; 393  :                     {
; 394  :                         // Found free tunerspace
; 395  :                         m_CustomFrequencyTable = TunerSpace;

  0050a	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00510	8b 85 cc fe ff
	ff		 mov	 eax, DWORD PTR _TunerSpace$140948[ebp]
  00516	89 42 38	 mov	 DWORD PTR [edx+56], eax

; 396  :                         LOG(2,_T("DShowTVTuner: Found free tunerspace %d"),TunerSpace);

  00519	8b 8d cc fe ff
	ff		 mov	 ecx, DWORD PTR _TunerSpace$140948[ebp]
  0051f	51		 push	 ecx
  00520	68 00 00 00 00	 push	 OFFSET ??_C@_1EO@MMEFBNOJ@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAF?$AAo?$AAu?$AAn?$AAd?$AA?5?$AAf?$AAr?$AAe?$AAe?$AA?5?$AAt?$AAu?$AAn?$AAe?$AAr?$AAs?$AAp@
  00525	6a 02		 push	 2
  00527	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0052c	83 c4 0c	 add	 esp, 12			; 0000000cH

; 397  :                     }
; 398  :                     else

  0052f	eb 16		 jmp	 SHORT $LN10@SetTunerFr@2
$LN9@SetTunerFr@2:

; 399  :                     {
; 400  :                         if (m_CustomFrequencyTable == -2)

  00531	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00537	83 7a 38 fe	 cmp	 DWORD PTR [edx+56], -2	; fffffffeH
  0053b	75 0a		 jne	 SHORT $LN10@SetTunerFr@2

; 401  :                         {
; 402  :                             RegCloseKey(RegKey);

  0053d	8b 45 ec	 mov	 eax, DWORD PTR _RegKey$140941[ebp]
  00540	50		 push	 eax
  00541	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegCloseKey@4
$LN10@SetTunerFr@2:

; 403  :                         }
; 404  :                     }
; 405  :                 }
; 406  :                 TunerSpace++;

  00547	8b 8d cc fe ff
	ff		 mov	 ecx, DWORD PTR _TunerSpace$140948[ebp]
  0054d	83 c1 01	 add	 ecx, 1
  00550	89 8d cc fe ff
	ff		 mov	 DWORD PTR _TunerSpace$140948[ebp], ecx

; 407  :             } while ( (m_CustomFrequencyTable == -2) && (Errors <= 2) );

  00556	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  0055c	83 7a 38 fe	 cmp	 DWORD PTR [edx+56], -2	; fffffffeH
  00560	75 0d		 jne	 SHORT $LN14@SetTunerFr@2
  00562	83 bd d0 fe ff
	ff 02		 cmp	 DWORD PTR _Errors$140949[ebp], 2
  00569	0f 8e ee fe ff
	ff		 jle	 $LN16@SetTunerFr@2
$LN14@SetTunerFr@2:

; 408  : 
; 409  :             if (m_CustomFrequencyTable < 0)

  0056f	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00575	83 78 38 00	 cmp	 DWORD PTR [eax+56], 0
  00579	7d 3e		 jge	 SHORT $LN5@SetTunerFr@2

; 410  :             {
; 411  :                 LOG(2,_T("DShowTVTuner: Error finding tunerspace. Change to fixed freq tables"));

  0057b	68 00 00 00 00	 push	 OFFSET ??_C@_1II@JAIEDDLH@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAf?$AAi?$AAn?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAt?$AAu?$AAn?$AAe@
  00580	6a 02		 push	 2
  00582	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00587	83 c4 08	 add	 esp, 8

; 412  :                 // Use existing fixed frequency tables
; 413  :                 m_CustomFrequencyTable = -1;

  0058a	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00590	c7 41 38 ff ff
	ff ff		 mov	 DWORD PTR [ecx+56], -1

; 414  :                 return SetTunerFrequency(MulDiv(dwFrequency, 16, 1000000));

  00597	68 40 42 0f 00	 push	 1000000			; 000f4240H
  0059c	6a 10		 push	 16			; 00000010H
  0059e	8b 55 08	 mov	 edx, DWORD PTR _dwFrequency$[ebp]
  005a1	52		 push	 edx
  005a2	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__MulDiv@12
  005a8	50		 push	 eax
  005a9	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  005af	e8 00 00 00 00	 call	 ?SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z ; CDShowTVTuner::SetTunerFrequency
  005b4	e9 b3 01 00 00	 jmp	 $LN39@SetTunerFr@2
$LN5@SetTunerFr@2:

; 415  :             }
; 416  : 
; 417  :             // Set new values
; 418  :             LOG(2,_T("DShowTVTuner: Set registrykey custom frequency (%d Hz)"),dwFrequency);

  005b9	8b 45 08	 mov	 eax, DWORD PTR _dwFrequency$[ebp]
  005bc	50		 push	 eax
  005bd	68 00 00 00 00	 push	 OFFSET ??_C@_1GO@FGMMFGAD@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAr?$AAe?$AAg?$AAi?$AAs?$AAt?$AAr?$AAy?$AAk?$AAe?$AAy?$AA?5?$AAc?$AAu@
  005c2	6a 02		 push	 2
  005c4	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  005c9	83 c4 0c	 add	 esp, 12			; 0000000cH

; 419  :             TCHAR szChannel[20];
; 420  :             _itot(Index+m_MinChannel,szChannel,10);

  005cc	6a 0a		 push	 10			; 0000000aH
  005ce	8d 8d e4 fe ff
	ff		 lea	 ecx, DWORD PTR _szChannel$140971[ebp]
  005d4	51		 push	 ecx
  005d5	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  005db	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  005de	03 42 18	 add	 eax, DWORD PTR [edx+24]
  005e1	50		 push	 eax
  005e2	e8 00 00 00 00	 call	 __itow
  005e7	83 c4 0c	 add	 esp, 12			; 0000000cH

; 421  :             if (RegSetValueEx(RegKey, szChannel, 0, REG_DWORD, (BYTE*)&dwFrequency, sizeof(DWORD)) == ERROR_SUCCESS)

  005ea	6a 04		 push	 4
  005ec	8d 4d 08	 lea	 ecx, DWORD PTR _dwFrequency$[ebp]
  005ef	51		 push	 ecx
  005f0	6a 04		 push	 4
  005f2	6a 00		 push	 0
  005f4	8d 95 e4 fe ff
	ff		 lea	 edx, DWORD PTR _szChannel$140971[ebp]
  005fa	52		 push	 edx
  005fb	8b 45 ec	 mov	 eax, DWORD PTR _RegKey$140941[ebp]
  005fe	50		 push	 eax
  005ff	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegSetValueExW@24
  00605	85 c0		 test	 eax, eax
  00607	0f 85 2c 01 00
	00		 jne	 $LN4@SetTunerFr@2

; 422  :             {
; 423  :                 m_AutoTuneInfo[Index] = dwFrequency;

  0060d	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00613	8b 51 3c	 mov	 edx, DWORD PTR [ecx+60]
  00616	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  00619	8b 4d 08	 mov	 ecx, DWORD PTR _dwFrequency$[ebp]
  0061c	89 0c 82	 mov	 DWORD PTR [edx+eax*4], ecx

; 424  :                 m_AutoTuneTag[Index] = AutoTuneTagCounter++;

  0061f	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00625	8b 42 40	 mov	 eax, DWORD PTR [edx+64]
  00628	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  0062b	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
  00631	89 14 88	 mov	 DWORD PTR [eax+ecx*4], edx
  00634	a1 00 00 00 00	 mov	 eax, DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
  00639	83 c0 01	 add	 eax, 1
  0063c	a3 00 00 00 00	 mov	 DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA, eax

; 425  :                 LOG(2,_T("DShowTVTuner: Cache tag value %ld"),AutoTuneTagCounter);

  00641	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?AutoTuneTagCounter@?BG@??SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z@4JA
  00647	51		 push	 ecx
  00648	68 00 00 00 00	 push	 OFFSET ??_C@_1EE@LBCJKJBL@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAC?$AAa?$AAc?$AAh?$AAe?$AA?5?$AAt?$AAa?$AAg?$AA?5?$AAv?$AAa?$AAl?$AAu?$AAe?$AA?5?$AA?$CF?$AAl@
  0064d	6a 02		 push	 2
  0064f	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00654	83 c4 0c	 add	 esp, 12			; 0000000cH

; 426  : 
; 427  :                 if (RegSetValueEx(RegKey, _T("AutoTune"), 0, REG_BINARY, (BYTE*)m_AutoTuneInfo, (m_MaxChannel - m_MinChannel + 1)*sizeof(long)) == ERROR_SUCCESS)

  00657	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  0065d	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00663	8b 4a 1c	 mov	 ecx, DWORD PTR [edx+28]
  00666	2b 48 18	 sub	 ecx, DWORD PTR [eax+24]
  00669	8d 14 8d 04 00
	00 00		 lea	 edx, DWORD PTR [ecx*4+4]
  00670	52		 push	 edx
  00671	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00677	8b 48 3c	 mov	 ecx, DWORD PTR [eax+60]
  0067a	51		 push	 ecx
  0067b	6a 03		 push	 3
  0067d	6a 00		 push	 0
  0067f	68 00 00 00 00	 push	 OFFSET ??_C@_1BC@KLEIIHMG@?$AAA?$AAu?$AAt?$AAo?$AAT?$AAu?$AAn?$AAe?$AA?$AA@
  00684	8b 55 ec	 mov	 edx, DWORD PTR _RegKey$140941[ebp]
  00687	52		 push	 edx
  00688	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegSetValueExW@24

; 428  :                 {
; 429  :                     //Succeeded
; 430  :                 }
; 431  :                 RegCloseKey(RegKey);

  0068e	8b 45 ec	 mov	 eax, DWORD PTR _RegKey$140941[ebp]
  00691	50		 push	 eax
  00692	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegCloseKey@4

; 432  :                 HRESULT hr = m_TVTuner->put_TuningSpace(m_CustomFrequencyTable);

  00698	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  0069e	83 c1 08	 add	 ecx, 8
  006a1	e8 00 00 00 00	 call	 ??C?$CComPtr@UIAMTVTuner@@@ATL@@QBEPAV?$_NoAddRefReleaseOnCComPtr@UIAMTVTuner@@@1@XZ ; ATL::CComPtr<IAMTVTuner>::operator->
  006a6	89 85 28 fe ff
	ff		 mov	 DWORD PTR tv342[ebp], eax
  006ac	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  006b2	8b 51 38	 mov	 edx, DWORD PTR [ecx+56]
  006b5	52		 push	 edx
  006b6	8b 85 28 fe ff
	ff		 mov	 eax, DWORD PTR tv342[ebp]
  006bc	50		 push	 eax
  006bd	8b 8d 28 fe ff
	ff		 mov	 ecx, DWORD PTR tv342[ebp]
  006c3	8b 11		 mov	 edx, DWORD PTR [ecx]
  006c5	8b 42 20	 mov	 eax, DWORD PTR [edx+32]
  006c8	ff d0		 call	 eax
  006ca	89 85 c8 fe ff
	ff		 mov	 DWORD PTR _hr$140980[ebp], eax

; 433  :                 if(FAILED(hr))

  006d0	83 bd c8 fe ff
	ff 00		 cmp	 DWORD PTR _hr$140980[ebp], 0
  006d7	7d 28		 jge	 SHORT $LN2@SetTunerFr@2

; 434  :                 {
; 435  :                     throw CDShowTvTunerException("put_TuningSpace failed",hr);

  006d9	8b 8d c8 fe ff
	ff		 mov	 ecx, DWORD PTR _hr$140980[ebp]
  006df	51		 push	 ecx
  006e0	68 00 00 00 00	 push	 OFFSET ??_C@_0BH@OHLNOPNF@put_TuningSpace?5failed?$AA@
  006e5	8d 8d 60 fe ff
	ff		 lea	 ecx, DWORD PTR $T348101[ebp]
  006eb	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  006f0	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  006f5	8d 95 60 fe ff
	ff		 lea	 edx, DWORD PTR $T348101[ebp]
  006fb	52		 push	 edx
  006fc	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN2@SetTunerFr@2:

; 436  :                 }
; 437  : 
; 438  :                 LOG(2,_T("DShowTVTuner: Set channel to index %d"), Index+m_MinChannel);

  00701	8b 85 30 fe ff
	ff		 mov	 eax, DWORD PTR _this$[ebp]
  00707	8b 4d f0	 mov	 ecx, DWORD PTR _Index$140928[ebp]
  0070a	03 48 18	 add	 ecx, DWORD PTR [eax+24]
  0070d	51		 push	 ecx
  0070e	68 00 00 00 00	 push	 OFFSET ??_C@_1EM@ODFANBNB@?$AAD?$AAS?$AAh?$AAo?$AAw?$AAT?$AAV?$AAT?$AAu?$AAn?$AAe?$AAr?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AA?5?$AAc?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AA?5?$AAt?$AAo?$AA?5?$AAi?$AAn?$AAd@
  00713	6a 02		 push	 2
  00715	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0071a	83 c4 0c	 add	 esp, 12			; 0000000cH

; 439  :                 return SetChannel(Index + m_MinChannel);

  0071d	8b 95 30 fe ff
	ff		 mov	 edx, DWORD PTR _this$[ebp]
  00723	8b 45 f0	 mov	 eax, DWORD PTR _Index$140928[ebp]
  00726	03 42 18	 add	 eax, DWORD PTR [edx+24]
  00729	50		 push	 eax
  0072a	8b 8d 30 fe ff
	ff		 mov	 ecx, DWORD PTR _this$[ebp]
  00730	e8 00 00 00 00	 call	 ?SetChannel@CDShowTVTuner@@QAEHJ@Z ; CDShowTVTuner::SetChannel
  00735	eb 35		 jmp	 SHORT $LN39@SetTunerFr@2

; 440  :             }
; 441  :             else

  00737	eb 2d		 jmp	 SHORT $LN1@SetTunerFr@2
$LN4@SetTunerFr@2:

; 442  :             {
; 443  :                 RegCloseKey(RegKey);

  00739	8b 4d ec	 mov	 ecx, DWORD PTR _RegKey$140941[ebp]
  0073c	51		 push	 ecx
  0073d	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__RegCloseKey@4

; 444  :                 throw CDShowTvTunerException("Can't write to registry");

  00743	6a 00		 push	 0
  00745	68 00 00 00 00	 push	 OFFSET ??_C@_0BI@FKLNAGHF@Can?8t?5write?5to?5registry?$AA@
  0074a	8d 8d 34 fe ff
	ff		 lea	 ecx, DWORD PTR $T348102[ebp]
  00750	e8 00 00 00 00	 call	 ??0CDShowTvTunerException@@QAE@PBDJ@Z ; CDShowTvTunerException::CDShowTvTunerException
  00755	68 00 00 00 00	 push	 OFFSET __TI4?AVCDShowTvTunerException@@
  0075a	8d 95 34 fe ff
	ff		 lea	 edx, DWORD PTR $T348102[ebp]
  00760	52		 push	 edx
  00761	e8 00 00 00 00	 call	 __CxxThrowException@8
$LN1@SetTunerFr@2:

; 445  :             }
; 446  : 
; 447  :             return FALSE;

  00766	33 c0		 xor	 eax, eax
  00768	eb 02		 jmp	 SHORT $LN39@SetTunerFr@2
$LN29@SetTunerFr@2:

; 448  :         }
; 449  :     }
; 450  :     return FALSE;

  0076a	33 c0		 xor	 eax, eax
$LN39@SetTunerFr@2:

; 451  : }

  0076c	8b 4d dc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  0076f	33 cd		 xor	 ecx, ebp
  00771	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00776	8b e5		 mov	 esp, ebp
  00778	5d		 pop	 ebp
  00779	c2 04 00	 ret	 4
?SetTunerFrequency@CDShowTVTuner@@QAEHJ@Z ENDP		; CDShowTVTuner::SetTunerFrequency
END
