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

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

INCLUDELIB OLDNAMES

PUBLIC	?IsValid@?$SmartPtr@VCSimpleSetting@@@@QBEHXZ	; SmartPtr<CSimpleSetting>::IsValid
PUBLIC	??_C@_1BI@HFJNKIKF@?$AAD?$AAS?$AAc?$AAa?$AAl?$AAe?$AAr?$AA?4?$AAi?$AAn?$AAi?$AA?$AA@ ; `string'
PUBLIC	??_C@_1DC@CBMKMBAG@?$AAT?$AAh?$AAi?$AAs?$AAF?$AAi?$AAl?$AAe?$AAC?$AAa?$AAn?$AAB?$AAe?$AAR?$AAe?$AAm?$AAo?$AAv?$AAe?$AAd?$AA?4?$AAt?$AAm?$AAp?$AA?$AA@ ; `string'
PUBLIC	??_C@_1GM@BDHPEEFC@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAt@ ; `string'
PUBLIC	??_C@_1GK@GAOPNOE@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAi@ ; `string'
PUBLIC	??_C@_1FC@EKOGIPJL@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAr?$AAe?$AAa?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAi@ ; `string'
PUBLIC	??_C@_1FO@DGOMCFPN@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@ ; `string'
PUBLIC	??_C@_1FO@LIGDCCBO@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@ ; `string'
PUBLIC	??_C@_1EA@NLFJGNK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAr?$AAe?$AAn?$AAa?$AAm?$AAe?$AA?5?$AAf?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?4?$AA?$AA@ ; `string'
PUBLIC	??_C@_1HA@NNDCNDKK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAS?$AAl?$AAe?$AAe?$AAp?$AA?5?$AAn?$AAe?$AAe?$AAd?$AAe?$AAd?$AA?5?$AA?$CF?$AAd@ ; `string'
PUBLIC	??_C@_1EO@BLLCJOOE@?$AA?5?$AAW?$AAr?$AAi?$AAt?$AAe?$AAP?$AAr?$AAi?$AAv?$AAa?$AAt?$AAe?$AAP?$AAr?$AAo?$AAf?$AAi?$AAl?$AAe?$AAI?$AAn?$AAt?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CF?$AAs?$AA?5?$AAV?$AAa@ ; `string'
PUBLIC	??_C@_0BD@FAKKFOIA@Can?8t?5find?5setting?$AA@	; `string'
EXTRN	__imp__GetCurrentDirectoryW@8:PROC
EXTRN	__wrename:PROC
EXTRN	_fputws:PROC
EXTRN	__wremove:PROC
_NbMonitors DD	01H DUP (?)
_hCurrentMon DD	01H DUP (?)
;	COMDAT ?dwLastTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
_BSS	SEGMENT
?dwLastTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA DD 01H DUP (?) ; `GetCurrentAdjustmentStepCount'::`2'::dwLastTick
_BSS	ENDS
;	COMDAT ?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
_BSS	SEGMENT
?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA DD 01H DUP (?) ; `GetCurrentAdjustmentStepCount'::`2'::dwFirstTick
_BSS	ENDS
;	COMDAT ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
_BSS	SEGMENT
?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA DD 01H DUP (?) ; `GetCurrentAdjustmentStepCount'::`2'::dwTaps
_BSS	ENDS
;	COMDAT ?LastSetting@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4PAXA
_BSS	SEGMENT
?LastSetting@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4PAXA DD 01H DUP (?) ; `GetCurrentAdjustmentStepCount'::`2'::LastSetting
;	COMDAT ??_C@_0BD@FAKKFOIA@Can?8t?5find?5setting?$AA@
CONST	SEGMENT
??_C@_0BD@FAKKFOIA@Can?8t?5find?5setting?$AA@ DB 'Can''t find setting', 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EO@BLLCJOOE@?$AA?5?$AAW?$AAr?$AAi?$AAt?$AAe?$AAP?$AAr?$AAi?$AAv?$AAa?$AAt?$AAe?$AAP?$AAr?$AAo?$AAf?$AAi?$AAl?$AAe?$AAI?$AAn?$AAt?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CF?$AAs?$AA?5?$AAV?$AAa@
CONST	SEGMENT
??_C@_1EO@BLLCJOOE@?$AA?5?$AAW?$AAr?$AAi?$AAt?$AAe?$AAP?$AAr?$AAi?$AAv?$AAa?$AAt?$AAe?$AAP?$AAr?$AAo?$AAf?$AAi?$AAl?$AAe?$AAI?$AAn?$AAt?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CF?$AAs?$AA?5?$AAV?$AAa@ DB ' '
	DB	00H, 'W', 00H, 'r', 00H, 'i', 00H, 't', 00H, 'e', 00H, 'P', 00H
	DB	'r', 00H, 'i', 00H, 'v', 00H, 'a', 00H, 't', 00H, 'e', 00H, 'P'
	DB	00H, 'r', 00H, 'o', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e', 00H
	DB	'I', 00H, 'n', 00H, 't', 00H, ' ', 00H, '%', 00H, 's', 00H, ' '
	DB	00H, '%', 00H, 's', 00H, ' ', 00H, 'V', 00H, 'a', 00H, 'l', 00H
	DB	'u', 00H, 'e', 00H, ' ', 00H, '%', 00H, 's', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1HA@NNDCNDKK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAS?$AAl?$AAe?$AAe?$AAp?$AA?5?$AAn?$AAe?$AAe?$AAd?$AAe?$AAd?$AA?5?$AA?$CF?$AAd@
CONST	SEGMENT
??_C@_1HA@NNDCNDKK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAS?$AAl?$AAe?$AAe?$AAp?$AA?5?$AAn?$AAe?$AAe?$AAd?$AAe?$AAd?$AA?5?$AA?$CF?$AAd@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'S', 00H, 'l', 00H, 'e', 00H
	DB	'e', 00H, 'p', 00H, ' ', 00H, 'n', 00H, 'e', 00H, 'e', 00H, 'd'
	DB	00H, 'e', 00H, 'd', 00H, ' ', 00H, '%', 00H, 'd', 00H, ' ', 00H
	DB	't', 00H, 'i', 00H, 'm', 00H, 'e', 00H, '(', 00H, 's', 00H, ')'
	DB	00H, ' ', 00H, 'b', 00H, 'e', 00H, 'f', 00H, 'o', 00H, 'r', 00H
	DB	'e', 00H, ' ', 00H, 'r', 00H, 'e', 00H, 'n', 00H, 'a', 00H, 'm'
	DB	00H, 'e', 00H, '.', 00H, 00H, 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_1EA@NLFJGNK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAr?$AAe?$AAn?$AAa?$AAm?$AAe?$AA?5?$AAf?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?4?$AA?$AA@
CONST	SEGMENT
??_C@_1EA@NLFJGNK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAr?$AAe?$AAn?$AAa?$AAm?$AAe?$AA?5?$AAf?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?4?$AA?$AA@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'r', 00H, 'e', 00H, 'n', 00H
	DB	'a', 00H, 'm', 00H, 'e', 00H, ' ', 00H, 'f', 00H, 'a', 00H, 'i'
	DB	00H, 'l', 00H, 'e', 00H, 'd', 00H, '.', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1FO@LIGDCCBO@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@
CONST	SEGMENT
??_C@_1FO@LIGDCCBO@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'E', 00H, 'r', 00H, 'r', 00H
	DB	'o', 00H, 'r', 00H, ' ', 00H, 'w', 00H, 'r', 00H, 'i', 00H, 't'
	DB	00H, 'i', 00H, 'n', 00H, 'g', 00H, ' ', 00H, 't', 00H, 'e', 00H
	DB	'm', 00H, 'p', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e'
	DB	00H, ' ', 00H, '(', 00H, '#', 00H, '2', 00H, ')', 00H, '.', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1FO@DGOMCFPN@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@
CONST	SEGMENT
??_C@_1FO@DGOMCFPN@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'E', 00H, 'r', 00H, 'r', 00H
	DB	'o', 00H, 'r', 00H, ' ', 00H, 'w', 00H, 'r', 00H, 'i', 00H, 't'
	DB	00H, 'i', 00H, 'n', 00H, 'g', 00H, ' ', 00H, 't', 00H, 'e', 00H
	DB	'm', 00H, 'p', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e'
	DB	00H, ' ', 00H, '(', 00H, '#', 00H, '1', 00H, ')', 00H, '.', 00H
	DB	00H, 00H					; `string'
CONST	ENDS
;	COMDAT ??_C@_1FC@EKOGIPJL@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAr?$AAe?$AAa?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAi@
CONST	SEGMENT
??_C@_1FC@EKOGIPJL@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAr?$AAe?$AAa?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAi@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'E', 00H, 'r', 00H, 'r', 00H
	DB	'o', 00H, 'r', 00H, ' ', 00H, 'r', 00H, 'e', 00H, 'a', 00H, 'd'
	DB	00H, 'i', 00H, 'n', 00H, 'g', 00H, ' ', 00H, 'i', 00H, 'n', 00H
	DB	'i', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e', 00H, '.'
	DB	00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1GK@GAOPNOE@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAi@
CONST	SEGMENT
??_C@_1GK@GAOPNOE@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAi@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'E', 00H, 'r', 00H, 'r', 00H
	DB	'o', 00H, 'r', 00H, ' ', 00H, 'o', 00H, 'p', 00H, 'e', 00H, 'n'
	DB	00H, 'i', 00H, 'n', 00H, 'g', 00H, ' ', 00H, 'i', 00H, 'n', 00H
	DB	'i', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e', 00H, ' '
	DB	00H, 'f', 00H, 'o', 00H, 'r', 00H, ' ', 00H, 'r', 00H, 'e', 00H
	DB	'a', 00H, 'd', 00H, 'i', 00H, 'n', 00H, 'g', 00H, '.', 00H, 00H
	DB	00H						; `string'
CONST	ENDS
;	COMDAT ??_C@_1GM@BDHPEEFC@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAt@
CONST	SEGMENT
??_C@_1GM@BDHPEEFC@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAt@ DB 'B'
	DB	00H, 'e', 00H, 'a', 00H, 'u', 00H, 't', 00H, 'i', 00H, 'f', 00H
	DB	'y', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 'F', 00H, 'i', 00H, 'l'
	DB	00H, 'e', 00H, ':', 00H, ' ', 00H, 'E', 00H, 'r', 00H, 'r', 00H
	DB	'o', 00H, 'r', 00H, ' ', 00H, 'o', 00H, 'p', 00H, 'e', 00H, 'n'
	DB	00H, 'i', 00H, 'n', 00H, 'g', 00H, ' ', 00H, 't', 00H, 'e', 00H
	DB	'm', 00H, 'p', 00H, ' ', 00H, 'f', 00H, 'i', 00H, 'l', 00H, 'e'
	DB	00H, ' ', 00H, 'f', 00H, 'o', 00H, 'r', 00H, ' ', 00H, 'w', 00H
	DB	'r', 00H, 'i', 00H, 't', 00H, 'i', 00H, 'n', 00H, 'g', 00H, '.'
	DB	00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1DC@CBMKMBAG@?$AAT?$AAh?$AAi?$AAs?$AAF?$AAi?$AAl?$AAe?$AAC?$AAa?$AAn?$AAB?$AAe?$AAR?$AAe?$AAm?$AAo?$AAv?$AAe?$AAd?$AA?4?$AAt?$AAm?$AAp?$AA?$AA@
CONST	SEGMENT
??_C@_1DC@CBMKMBAG@?$AAT?$AAh?$AAi?$AAs?$AAF?$AAi?$AAl?$AAe?$AAC?$AAa?$AAn?$AAB?$AAe?$AAR?$AAe?$AAm?$AAo?$AAv?$AAe?$AAd?$AA?4?$AAt?$AAm?$AAp?$AA?$AA@ DB 'T'
	DB	00H, 'h', 00H, 'i', 00H, 's', 00H, 'F', 00H, 'i', 00H, 'l', 00H
	DB	'e', 00H, 'C', 00H, 'a', 00H, 'n', 00H, 'B', 00H, 'e', 00H, 'R'
	DB	00H, 'e', 00H, 'm', 00H, 'o', 00H, 'v', 00H, 'e', 00H, 'd', 00H
	DB	'.', 00H, 't', 00H, 'm', 00H, 'p', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1BI@HFJNKIKF@?$AAD?$AAS?$AAc?$AAa?$AAl?$AAe?$AAr?$AA?4?$AAi?$AAn?$AAi?$AA?$AA@
CONST	SEGMENT
??_C@_1BI@HFJNKIKF@?$AAD?$AAS?$AAc?$AAa?$AAl?$AAe?$AAr?$AA?4?$AAi?$AAn?$AAi?$AA?$AA@ DB 'D'
	DB	00H, 'S', 00H, 'c', 00H, 'a', 00H, 'l', 00H, 'e', 00H, 'r', 00H
	DB	'.', 00H, 'i', 00H, 'n', 00H, 'i', 00H, 00H, 00H ; `string'
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\smartptr.h
;	COMDAT ?IsValid@?$SmartPtr@VCSimpleSetting@@@@QBEHXZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
?IsValid@?$SmartPtr@VCSimpleSetting@@@@QBEHXZ PROC	; SmartPtr<CSimpleSetting>::IsValid, COMDAT
; _this$ = ecx

; 221  :     {

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

; 222  :         if (counter && rawPtr) return TRUE;

  00007	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000a	83 78 04 00	 cmp	 DWORD PTR [eax+4], 0
  0000e	74 0f		 je	 SHORT $LN1@IsValid@5
  00010	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00013	83 39 00	 cmp	 DWORD PTR [ecx], 0
  00016	74 07		 je	 SHORT $LN1@IsValid@5
  00018	b8 01 00 00 00	 mov	 eax, 1
  0001d	eb 02		 jmp	 SHORT $LN2@IsValid@5
$LN1@IsValid@5:

; 223  :         return FALSE;

  0001f	33 c0		 xor	 eax, eax
$LN2@IsValid@5:

; 224  :     }

  00021	8b e5		 mov	 esp, ebp
  00023	5d		 pop	 ebp
  00024	c3		 ret	 0
?IsValid@?$SmartPtr@VCSimpleSetting@@@@QBEHXZ ENDP	; SmartPtr<CSimpleSetting>::IsValid
_TEXT	ENDS
PUBLIC	?GetCurrentAdjustmentStepCount@@YAHPAX@Z	; GetCurrentAdjustmentStepCount
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\settings.cpp
;	COMDAT ?GetCurrentAdjustmentStepCount@@YAHPAX@Z
_TEXT	SEGMENT
_dwElapsedSinceLastCall$ = -16				; size = 4
_dwElapsedSinceFirstTick$ = -12				; size = 4
_nStepCount$ = -8					; size = 4
_dwTick$ = -4						; size = 4
_pSetting$ = 8						; size = 4
?GetCurrentAdjustmentStepCount@@YAHPAX@Z PROC		; GetCurrentAdjustmentStepCount, COMDAT

; 322  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 10	 sub	 esp, 16			; 00000010H

; 323  :     static DWORD        dwLastTick = 0;
; 324  :     static DWORD        dwFirstTick = 0;
; 325  :     static DWORD        dwTaps = 0;
; 326  :     DWORD               dwTick;
; 327  :     DWORD               dwElapsedSinceLastCall;
; 328  :     DWORD               dwElapsedSinceFirstTick;
; 329  :     int                 nStepCount;
; 330  :     static void*     LastSetting = NULL;
; 331  : 
; 332  :     if(LastSetting != pSetting)

  00006	a1 00 00 00 00	 mov	 eax, DWORD PTR ?LastSetting@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4PAXA
  0000b	3b 45 08	 cmp	 eax, DWORD PTR _pSetting$[ebp]
  0000e	74 27		 je	 SHORT $LN8@GetCurrent

; 333  :     {
; 334  :         dwLastTick = 0;

  00010	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?dwLastTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, 0

; 335  :         dwFirstTick = 0;

  0001a	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, 0

; 336  :         dwTaps = 0;

  00024	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, 0

; 337  :         LastSetting = pSetting;

  0002e	8b 4d 08	 mov	 ecx, DWORD PTR _pSetting$[ebp]
  00031	89 0d 00 00 00
	00		 mov	 DWORD PTR ?LastSetting@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4PAXA, ecx
$LN8@GetCurrent:

; 338  :     }
; 339  : 
; 340  :     dwTick = GetTickCount();

  00037	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__GetTickCount@0
  0003d	89 45 fc	 mov	 DWORD PTR _dwTick$[ebp], eax

; 341  :     dwElapsedSinceLastCall = dwTick - dwLastTick;

  00040	8b 55 fc	 mov	 edx, DWORD PTR _dwTick$[ebp]
  00043	2b 15 00 00 00
	00		 sub	 edx, DWORD PTR ?dwLastTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
  00049	89 55 f0	 mov	 DWORD PTR _dwElapsedSinceLastCall$[ebp], edx

; 342  :     dwElapsedSinceFirstTick = dwTick - dwFirstTick;

  0004c	8b 45 fc	 mov	 eax, DWORD PTR _dwTick$[ebp]
  0004f	2b 05 00 00 00
	00		 sub	 eax, DWORD PTR ?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
  00055	89 45 f4	 mov	 DWORD PTR _dwElapsedSinceFirstTick$[ebp], eax

; 343  : 
; 344  :     if ((dwTaps < ADJ_MINIMUM_REPEAT_BEFORE_ACCEL) &&
; 345  :         (dwElapsedSinceLastCall < ADJ_BUTTON_REPRESS_REPEAT_DELAY))

  00058	83 3d 00 00 00
	00 06		 cmp	 DWORD PTR ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, 6
  0005f	73 19		 jae	 SHORT $LN7@GetCurrent
  00061	81 7d f0 90 01
	00 00		 cmp	 DWORD PTR _dwElapsedSinceLastCall$[ebp], 400 ; 00000190H
  00068	73 10		 jae	 SHORT $LN7@GetCurrent

; 346  :     {
; 347  :         // Ensure that the button or keypress is repeated or tapped
; 348  :         // a minimum number of times before acceleration begins
; 349  :         dwFirstTick = dwTick;

  0006a	8b 4d fc	 mov	 ecx, DWORD PTR _dwTick$[ebp]
  0006d	89 0d 00 00 00
	00		 mov	 DWORD PTR ?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, ecx

; 350  :         nStepCount = 1;

  00073	c7 45 f8 01 00
	00 00		 mov	 DWORD PTR _nStepCount$[ebp], 1
$LN7@GetCurrent:

; 351  :     }
; 352  :     if (dwElapsedSinceLastCall < ADJ_KEYB_TYPEMATIC_REPEAT_DELAY)

  0007a	81 7d f0 c8 00
	00 00		 cmp	 DWORD PTR _dwElapsedSinceLastCall$[ebp], 200 ; 000000c8H
  00081	73 21		 jae	 SHORT $LN6@GetCurrent

; 353  :     {
; 354  :         // This occurs if the end-user is holding down a keyboard key.
; 355  :         // The longer the time has elapsed since the keyboard key has
; 356  :         // been held down, the bigger the adjustment steps become, up to a maximum.
; 357  :         nStepCount = 1 + (dwElapsedSinceFirstTick / ADJ_KEYB_TYPEMATIC_ACCEL_STEP);

  00083	8b 45 f4	 mov	 eax, DWORD PTR _dwElapsedSinceFirstTick$[ebp]
  00086	33 d2		 xor	 edx, edx
  00088	b9 d0 07 00 00	 mov	 ecx, 2000		; 000007d0H
  0008d	f7 f1		 div	 ecx
  0008f	83 c0 01	 add	 eax, 1
  00092	89 45 f8	 mov	 DWORD PTR _nStepCount$[ebp], eax

; 358  :         if (nStepCount > ADJ_KEYB_TYPEMATIC_MAX_STEP)

  00095	83 7d f8 0a	 cmp	 DWORD PTR _nStepCount$[ebp], 10 ; 0000000aH
  00099	7e 07		 jle	 SHORT $LN5@GetCurrent

; 359  :         {
; 360  :             nStepCount = ADJ_KEYB_TYPEMATIC_MAX_STEP;

  0009b	c7 45 f8 0a 00
	00 00		 mov	 DWORD PTR _nStepCount$[ebp], 10 ; 0000000aH
$LN5@GetCurrent:

; 361  :         }
; 362  :     }

  000a2	eb 44		 jmp	 SHORT $LN4@GetCurrent
$LN6@GetCurrent:

; 363  :     else if (dwElapsedSinceLastCall < ADJ_BUTTON_REPRESS_REPEAT_DELAY)

  000a4	81 7d f0 90 01
	00 00		 cmp	 DWORD PTR _dwElapsedSinceLastCall$[ebp], 400 ; 00000190H
  000ab	73 21		 jae	 SHORT $LN3@GetCurrent

; 364  :     {
; 365  :         // This occurs if the end-user is tapping a button repeatedly
; 366  :         // such as on a handheld remote control, when a universal remote
; 367  :         // is programmed with a keypress.  Most remotes cannot repeat
; 368  :         // a keypress automatically, so the end user must tap the key.
; 369  :         // The longer the time has elapsed since the first button press,
; 370  :         // the bigger the adjustment steps become, up to a maximum.
; 371  :         nStepCount = 1 + (dwElapsedSinceFirstTick / ADJ_BUTTON_REPRESS_ACCEL_STEP);

  000ad	8b 45 f4	 mov	 eax, DWORD PTR _dwElapsedSinceFirstTick$[ebp]
  000b0	33 d2		 xor	 edx, edx
  000b2	b9 90 01 00 00	 mov	 ecx, 400		; 00000190H
  000b7	f7 f1		 div	 ecx
  000b9	83 c0 01	 add	 eax, 1
  000bc	89 45 f8	 mov	 DWORD PTR _nStepCount$[ebp], eax

; 372  :         if (nStepCount > ADJ_BUTTON_REPRESS_MAX_STEP)

  000bf	83 7d f8 1e	 cmp	 DWORD PTR _nStepCount$[ebp], 30 ; 0000001eH
  000c3	7e 07		 jle	 SHORT $LN2@GetCurrent

; 373  :         {
; 374  :             nStepCount = ADJ_BUTTON_REPRESS_MAX_STEP;

  000c5	c7 45 f8 1e 00
	00 00		 mov	 DWORD PTR _nStepCount$[ebp], 30 ; 0000001eH
$LN2@GetCurrent:

; 375  :         }
; 376  :     }
; 377  :     else

  000cc	eb 1a		 jmp	 SHORT $LN4@GetCurrent
$LN3@GetCurrent:

; 378  :     {
; 379  :         // The keypress or button press is no longer consecutive,
; 380  :         // so reset adjustment step.
; 381  :         dwFirstTick = dwTick;

  000ce	8b 55 fc	 mov	 edx, DWORD PTR _dwTick$[ebp]
  000d1	89 15 00 00 00
	00		 mov	 DWORD PTR ?dwFirstTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, edx

; 382  :         nStepCount = 1;

  000d7	c7 45 f8 01 00
	00 00		 mov	 DWORD PTR _nStepCount$[ebp], 1

; 383  :         dwTaps = 0;

  000de	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, 0
$LN4@GetCurrent:

; 384  :     }
; 385  :     dwTaps++;

  000e8	a1 00 00 00 00	 mov	 eax, DWORD PTR ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA
  000ed	83 c0 01	 add	 eax, 1
  000f0	a3 00 00 00 00	 mov	 DWORD PTR ?dwTaps@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, eax

; 386  :     dwLastTick = dwTick;

  000f5	8b 4d fc	 mov	 ecx, DWORD PTR _dwTick$[ebp]
  000f8	89 0d 00 00 00
	00		 mov	 DWORD PTR ?dwLastTick@?1??GetCurrentAdjustmentStepCount@@YAHPAX@Z@4KA, ecx

; 387  :     return nStepCount;

  000fe	8b 45 f8	 mov	 eax, DWORD PTR _nStepCount$[ebp]

; 388  : }

  00101	8b e5		 mov	 esp, ebp
  00103	5d		 pop	 ebp
  00104	c3		 ret	 0
?GetCurrentAdjustmentStepCount@@YAHPAX@Z ENDP		; GetCurrentAdjustmentStepCount
PUBLIC	?CleanUpLine@@YAPA_WPA_W@Z			; CleanUpLine
; Function compile flags: /Odtp
;	COMDAT ?CleanUpLine@@YAPA_WPA_W@Z
_TEXT	SEGMENT
_i$ = -8						; size = 4
_tstring$ = -4						; size = 4
_lpString$ = 8						; size = 4
?CleanUpLine@@YAPA_WPA_W@Z PROC				; CleanUpLine, COMDAT

; 81   : {

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

; 82   :     int i = 0;

  00006	c7 45 f8 00 00
	00 00		 mov	 DWORD PTR _i$[ebp], 0

; 83   :     TCHAR* tstring = lpString;

  0000d	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  00010	89 45 fc	 mov	 DWORD PTR _tstring$[ebp], eax

; 84   : 
; 85   :     if(tstring == NULL || tstring[0] == '\0')

  00013	83 7d fc 00	 cmp	 DWORD PTR _tstring$[ebp], 0
  00017	74 0a		 je	 SHORT $LN9@CleanUpLin
  00019	8b 4d fc	 mov	 ecx, DWORD PTR _tstring$[ebp]
  0001c	0f b7 11	 movzx	 edx, WORD PTR [ecx]
  0001f	85 d2		 test	 edx, edx
  00021	75 08		 jne	 SHORT $LN8@CleanUpLin
$LN9@CleanUpLin:

; 86   :     {
; 87   :         return lpString;

  00023	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  00026	e9 be 00 00 00	 jmp	 $LN11@CleanUpLin
$LN8@CleanUpLin:

; 88   :     }
; 89   : 
; 90   :     // remove leading spaces and tabs
; 91   :     while(tstring[0] == ' ' || tstring[0] == '\t')

  0002b	8b 45 fc	 mov	 eax, DWORD PTR _tstring$[ebp]
  0002e	0f b7 08	 movzx	 ecx, WORD PTR [eax]
  00031	83 f9 20	 cmp	 ecx, 32			; 00000020H
  00034	74 0b		 je	 SHORT $LN6@CleanUpLin
  00036	8b 55 fc	 mov	 edx, DWORD PTR _tstring$[ebp]
  00039	0f b7 02	 movzx	 eax, WORD PTR [edx]
  0003c	83 f8 09	 cmp	 eax, 9
  0003f	75 0b		 jne	 SHORT $LN7@CleanUpLin
$LN6@CleanUpLin:

; 92   :     {
; 93   :         tstring++;

  00041	8b 4d fc	 mov	 ecx, DWORD PTR _tstring$[ebp]
  00044	83 c1 02	 add	 ecx, 2
  00047	89 4d fc	 mov	 DWORD PTR _tstring$[ebp], ecx

; 94   :     }

  0004a	eb df		 jmp	 SHORT $LN8@CleanUpLin
$LN7@CleanUpLin:

; 95   : 
; 96   :     _tcscpy(lpString, tstring);

  0004c	8b 55 fc	 mov	 edx, DWORD PTR _tstring$[ebp]
  0004f	52		 push	 edx
  00050	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  00053	50		 push	 eax
  00054	e8 00 00 00 00	 call	 _wcscpy
  00059	83 c4 08	 add	 esp, 8

; 97   : 
; 98   :     // remove any comments
; 99   :     tstring = _tcschr(lpString, ';');

  0005c	6a 3b		 push	 59			; 0000003bH
  0005e	8b 4d 08	 mov	 ecx, DWORD PTR _lpString$[ebp]
  00061	51		 push	 ecx
  00062	e8 00 00 00 00	 call	 ?wcschr@@YAPA_WPA_W_W@Z	; wcschr
  00067	83 c4 08	 add	 esp, 8
  0006a	89 45 fc	 mov	 DWORD PTR _tstring$[ebp], eax

; 100  :     if(tstring != NULL)

  0006d	83 7d fc 00	 cmp	 DWORD PTR _tstring$[ebp], 0
  00071	74 08		 je	 SHORT $LN5@CleanUpLin

; 101  :     {
; 102  :         *tstring = '\0';

  00073	33 d2		 xor	 edx, edx
  00075	8b 45 fc	 mov	 eax, DWORD PTR _tstring$[ebp]
  00078	66 89 10	 mov	 WORD PTR [eax], dx
$LN5@CleanUpLin:

; 103  :     }
; 104  : 
; 105  :     // remove trailing spaces, tabs, newline and carriage return
; 106  :     i = _tcslen(lpString) - 1;

  0007b	8b 4d 08	 mov	 ecx, DWORD PTR _lpString$[ebp]
  0007e	51		 push	 ecx
  0007f	e8 00 00 00 00	 call	 _wcslen
  00084	83 c4 04	 add	 esp, 4
  00087	83 e8 01	 sub	 eax, 1
  0008a	89 45 f8	 mov	 DWORD PTR _i$[ebp], eax
$LN4@CleanUpLin:

; 107  :     while(i >= 0 && (lpString[i] == ' ' || lpString[i] == '\t' || lpString[i] == '\r') ||
; 108  :           lpString[i] == '\n')

  0008d	83 7d f8 00	 cmp	 DWORD PTR _i$[ebp], 0
  00091	7c 2d		 jl	 SHORT $LN1@CleanUpLin
  00093	8b 55 f8	 mov	 edx, DWORD PTR _i$[ebp]
  00096	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  00099	0f b7 0c 50	 movzx	 ecx, WORD PTR [eax+edx*2]
  0009d	83 f9 20	 cmp	 ecx, 32			; 00000020H
  000a0	74 2d		 je	 SHORT $LN2@CleanUpLin
  000a2	8b 55 f8	 mov	 edx, DWORD PTR _i$[ebp]
  000a5	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  000a8	0f b7 0c 50	 movzx	 ecx, WORD PTR [eax+edx*2]
  000ac	83 f9 09	 cmp	 ecx, 9
  000af	74 1e		 je	 SHORT $LN2@CleanUpLin
  000b1	8b 55 f8	 mov	 edx, DWORD PTR _i$[ebp]
  000b4	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  000b7	0f b7 0c 50	 movzx	 ecx, WORD PTR [eax+edx*2]
  000bb	83 f9 0d	 cmp	 ecx, 13			; 0000000dH
  000be	74 0f		 je	 SHORT $LN2@CleanUpLin
$LN1@CleanUpLin:
  000c0	8b 55 f8	 mov	 edx, DWORD PTR _i$[ebp]
  000c3	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  000c6	0f b7 0c 50	 movzx	 ecx, WORD PTR [eax+edx*2]
  000ca	83 f9 0a	 cmp	 ecx, 10			; 0000000aH
  000cd	75 17		 jne	 SHORT $LN3@CleanUpLin
$LN2@CleanUpLin:

; 109  :     {
; 110  :         lpString[i--] = '\0';

  000cf	33 d2		 xor	 edx, edx
  000d1	8b 45 f8	 mov	 eax, DWORD PTR _i$[ebp]
  000d4	8b 4d 08	 mov	 ecx, DWORD PTR _lpString$[ebp]
  000d7	66 89 14 41	 mov	 WORD PTR [ecx+eax*2], dx
  000db	8b 55 f8	 mov	 edx, DWORD PTR _i$[ebp]
  000de	83 ea 01	 sub	 edx, 1
  000e1	89 55 f8	 mov	 DWORD PTR _i$[ebp], edx

; 111  :     }

  000e4	eb a7		 jmp	 SHORT $LN4@CleanUpLin
$LN3@CleanUpLin:

; 112  :     return lpString;

  000e6	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
$LN11@CleanUpLin:

; 113  : }

  000e9	8b e5		 mov	 esp, ebp
  000eb	5d		 pop	 ebp
  000ec	c3		 ret	 0
?CleanUpLine@@YAPA_WPA_W@Z ENDP				; CleanUpLine
PUBLIC	__$ArrayPad$
PUBLIC	?IsSectionName@@YAHPB_W@Z			; IsSectionName
; Function compile flags: /Odtp
;	COMDAT ?IsSectionName@@YAHPB_W@Z
_TEXT	SEGMENT
tv81 = -5132						; size = 4
_localcopy$ = -5128					; size = 5120
__$ArrayPad$ = -4					; size = 4
_lpString$ = 8						; size = 4
?IsSectionName@@YAHPB_W@Z PROC				; IsSectionName, COMDAT

; 117  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	b8 0c 14 00 00	 mov	 eax, 5132		; 0000140cH
  00008	e8 00 00 00 00	 call	 __chkstk
  0000d	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00012	33 c5		 xor	 eax, ebp
  00014	89 45 fc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax

; 118  :     TCHAR localcopy[2560];
; 119  : 
; 120  :     if(lpString == NULL)

  00017	83 7d 08 00	 cmp	 DWORD PTR _lpString$[ebp], 0
  0001b	75 07		 jne	 SHORT $LN2@IsSectionN

; 121  :     {
; 122  :         return FALSE;

  0001d	33 c0		 xor	 eax, eax
  0001f	e9 83 00 00 00	 jmp	 $LN3@IsSectionN
$LN2@IsSectionN:

; 123  :     }
; 124  : 
; 125  :     _tcsncpy(localcopy, lpString, sizeof(localcopy)/sizeof(TCHAR));

  00024	68 00 0a 00 00	 push	 2560			; 00000a00H
  00029	8b 45 08	 mov	 eax, DWORD PTR _lpString$[ebp]
  0002c	50		 push	 eax
  0002d	8d 8d f8 eb ff
	ff		 lea	 ecx, DWORD PTR _localcopy$[ebp]
  00033	51		 push	 ecx
  00034	e8 00 00 00 00	 call	 _wcsncpy
  00039	83 c4 0c	 add	 esp, 12			; 0000000cH

; 126  : 
; 127  :     CleanUpLine(localcopy);

  0003c	8d 95 f8 eb ff
	ff		 lea	 edx, DWORD PTR _localcopy$[ebp]
  00042	52		 push	 edx
  00043	e8 00 00 00 00	 call	 ?CleanUpLine@@YAPA_WPA_W@Z ; CleanUpLine
  00048	83 c4 04	 add	 esp, 4

; 128  : 
; 129  :     if(_tcslen(localcopy) < 3)

  0004b	8d 85 f8 eb ff
	ff		 lea	 eax, DWORD PTR _localcopy$[ebp]
  00051	50		 push	 eax
  00052	e8 00 00 00 00	 call	 _wcslen
  00057	83 c4 04	 add	 esp, 4
  0005a	83 f8 03	 cmp	 eax, 3
  0005d	73 04		 jae	 SHORT $LN1@IsSectionN

; 130  :     {
; 131  :         return FALSE;

  0005f	33 c0		 xor	 eax, eax
  00061	eb 44		 jmp	 SHORT $LN3@IsSectionN
$LN1@IsSectionN:

; 132  :     }
; 133  :     return (localcopy[0] == '[' && localcopy[_tcslen(localcopy) - 1] == ']');

  00063	0f b7 8d f8 eb
	ff ff		 movzx	 ecx, WORD PTR _localcopy$[ebp]
  0006a	83 f9 5b	 cmp	 ecx, 91			; 0000005bH
  0006d	75 28		 jne	 SHORT $LN5@IsSectionN
  0006f	8d 95 f8 eb ff
	ff		 lea	 edx, DWORD PTR _localcopy$[ebp]
  00075	52		 push	 edx
  00076	e8 00 00 00 00	 call	 _wcslen
  0007b	83 c4 04	 add	 esp, 4
  0007e	0f b7 84 45 f6
	eb ff ff	 movzx	 eax, WORD PTR _localcopy$[ebp+eax*2-2]
  00086	83 f8 5d	 cmp	 eax, 93			; 0000005dH
  00089	75 0c		 jne	 SHORT $LN5@IsSectionN
  0008b	c7 85 f4 eb ff
	ff 01 00 00 00	 mov	 DWORD PTR tv81[ebp], 1
  00095	eb 0a		 jmp	 SHORT $LN6@IsSectionN
$LN5@IsSectionN:
  00097	c7 85 f4 eb ff
	ff 00 00 00 00	 mov	 DWORD PTR tv81[ebp], 0
$LN6@IsSectionN:
  000a1	8b 85 f4 eb ff
	ff		 mov	 eax, DWORD PTR tv81[ebp]
$LN3@IsSectionN:

; 134  : }

  000a7	8b 4d fc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  000aa	33 cd		 xor	 ecx, ebp
  000ac	e8 00 00 00 00	 call	 @__security_check_cookie@4
  000b1	8b e5		 mov	 esp, ebp
  000b3	5d		 pop	 ebp
  000b4	c3		 ret	 0
?IsSectionName@@YAHPB_W@Z ENDP				; IsSectionName
_TEXT	ENDS
PUBLIC	?GetIniFileForSettings@@YAPB_WXZ		; GetIniFileForSettings
; Function compile flags: /Odtp
;	COMDAT ?GetIniFileForSettings@@YAPB_WXZ
_TEXT	SEGMENT
?GetIniFileForSettings@@YAPB_WXZ PROC			; GetIniFileForSettings, COMDAT

; 74   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp

; 75   :     return szIniFile.c_str();

  00003	b9 00 00 00 00	 mov	 ecx, OFFSET ?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
  00008	e8 00 00 00 00	 call	 ?c_str@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEPB_WXZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::c_str

; 76   : }

  0000d	5d		 pop	 ebp
  0000e	c3		 ret	 0
?GetIniFileForSettings@@YAPB_WXZ ENDP			; GetIniFileForSettings
PUBLIC	?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$2
	DD	00H
	DD	FLAT:__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$0
	DD	01H
	DD	FLAT:__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$1
	DD	02H
	DD	FLAT:__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$3
	DD	01H
	DD	FLAT:__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$4
__ehfuncinfo$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z DD 019930522H
	DD	05H
	DD	FLAT:__unwindtable$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z
_TEXT	SEGMENT
$T332047 = -168						; size = 4
$T332043 = -164						; size = 28
$T332042 = -136						; size = 40
$T332041 = -96						; size = 28
$T332040 = -68						; size = 40
_Setting$153246 = -28					; size = 8
_Holder$ = -20						; size = 8
__$EHRec$ = -12						; size = 12
___$ReturnUdt$ = 8					; size = 4
_GetValueMsg$ = 12					; size = 4
_SettingIndex$ = 16					; size = 4
?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z PROC ; GetSetting, COMDAT

; 247  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	81 ec 9c 00 00
	00		 sub	 esp, 156		; 0000009cH
  00017	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0001c	33 c5		 xor	 eax, ebp
  0001e	50		 push	 eax
  0001f	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  00022	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00028	c7 85 58 ff ff
	ff 00 00 00 00	 mov	 DWORD PTR $T332047[ebp], 0

; 248  :     SmartPtr<CSettingsHolder> Holder(SettingsMaster->FindMsgHolder(GetValueMsg));

  00032	8b 45 0c	 mov	 eax, DWORD PTR _GetValueMsg$[ebp]
  00035	50		 push	 eax
  00036	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  00039	51		 push	 ecx
  0003a	b9 00 00 00 00	 mov	 ecx, OFFSET ?SettingsMaster@@3V?$SmartPtr@VCSettingsMaster@@@@A ; SettingsMaster
  0003f	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSettingsMaster@@@@QBEPAVCSettingsMaster@@XZ ; SmartPtr<CSettingsMaster>::operator->
  00044	8b c8		 mov	 ecx, eax
  00046	e8 00 00 00 00	 call	 ?FindMsgHolder@CSettingsMaster@@QAE?AV?$SmartPtr@VCSettingsHolder@@@@J@Z ; CSettingsMaster::FindMsgHolder
  0004b	c7 45 fc 01 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 1

; 249  :     if(Holder.IsValid())

  00052	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  00055	e8 00 00 00 00	 call	 ?IsValid@?$SmartPtr@VCSettingsHolder@@@@QBEHXZ ; SmartPtr<CSettingsHolder>::IsValid
  0005a	85 c0		 test	 eax, eax
  0005c	0f 84 a9 00 00
	00		 je	 $LN4@GetSetting@4

; 250  :     {
; 251  :         SmartPtr<CSimpleSetting> Setting(Holder->GetSetting(SettingIndex));

  00062	8b 55 10	 mov	 edx, DWORD PTR _SettingIndex$[ebp]
  00065	52		 push	 edx
  00066	8d 45 e4	 lea	 eax, DWORD PTR _Setting$153246[ebp]
  00069	50		 push	 eax
  0006a	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  0006d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSettingsHolder@@@@QBEPAVCSettingsHolder@@XZ ; SmartPtr<CSettingsHolder>::operator->
  00072	8b c8		 mov	 ecx, eax
  00074	e8 00 00 00 00	 call	 ?GetSetting@CSettingsHolder@@QAE?AV?$SmartPtr@VCSimpleSetting@@@@J@Z ; CSettingsHolder::GetSetting
  00079	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2

; 252  :         if(Setting.IsValid())

  0007d	8d 4d e4	 lea	 ecx, DWORD PTR _Setting$153246[ebp]
  00080	e8 00 00 00 00	 call	 ?IsValid@?$SmartPtr@VCSimpleSetting@@@@QBEHXZ ; SmartPtr<CSimpleSetting>::IsValid
  00085	85 c0		 test	 eax, eax
  00087	74 3d		 je	 SHORT $LN3@GetSetting@4

; 253  :         {
; 254  :             return Setting;

  00089	8d 4d e4	 lea	 ecx, DWORD PTR _Setting$153246[ebp]
  0008c	51		 push	 ecx
  0008d	8b 4d 08	 mov	 ecx, DWORD PTR ___$ReturnUdt$[ebp]
  00090	e8 00 00 00 00	 call	 ??0?$SmartPtr@VCSimpleSetting@@@@QAE@ABV0@@Z ; SmartPtr<CSimpleSetting>::SmartPtr<CSimpleSetting>
  00095	8b 95 58 ff ff
	ff		 mov	 edx, DWORD PTR $T332047[ebp]
  0009b	83 ca 01	 or	 edx, 1
  0009e	89 95 58 ff ff
	ff		 mov	 DWORD PTR $T332047[ebp], edx
  000a4	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  000a8	8d 4d e4	 lea	 ecx, DWORD PTR _Setting$153246[ebp]
  000ab	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
  000b0	c6 45 fc 00	 mov	 BYTE PTR __$EHRec$[ebp+8], 0
  000b4	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  000b7	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSettingsHolder@@@@QAE@XZ ; SmartPtr<CSettingsHolder>::~SmartPtr<CSettingsHolder>
  000bc	8b 45 08	 mov	 eax, DWORD PTR ___$ReturnUdt$[ebp]
  000bf	e9 99 00 00 00	 jmp	 $LN6@GetSetting@4

; 255  :         }
; 256  :         else

  000c4	eb 37		 jmp	 SHORT $LN2@GetSetting@4
$LN3@GetSetting@4:

; 257  :         {
; 258  :             throw std::logic_error("Can't find setting");

  000c6	68 00 00 00 00	 push	 OFFSET ??_C@_0BD@FAKKFOIA@Can?8t?5find?5setting?$AA@
  000cb	8d 4d a0	 lea	 ecx, DWORD PTR $T332041[ebp]
  000ce	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> >
  000d3	c6 45 fc 03	 mov	 BYTE PTR __$EHRec$[ebp+8], 3
  000d7	8d 45 a0	 lea	 eax, DWORD PTR $T332041[ebp]
  000da	50		 push	 eax
  000db	8d 4d bc	 lea	 ecx, DWORD PTR $T332040[ebp]
  000de	e8 00 00 00 00	 call	 ??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z ; std::logic_error::logic_error
  000e3	68 00 00 00 00	 push	 OFFSET __TI2?AVlogic_error@std@@
  000e8	8d 4d bc	 lea	 ecx, DWORD PTR $T332040[ebp]
  000eb	51		 push	 ecx
  000ec	e8 00 00 00 00	 call	 __CxxThrowException@8
  000f1	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  000f5	8d 4d a0	 lea	 ecx, DWORD PTR $T332041[ebp]
  000f8	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> >
$LN2@GetSetting@4:

; 259  :         }
; 260  :     }

  000fd	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00101	8d 4d e4	 lea	 ecx, DWORD PTR _Setting$153246[ebp]
  00104	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 261  :     else

  00109	eb 46		 jmp	 SHORT $LN1@GetSetting@4
$LN4@GetSetting@4:

; 262  :     {
; 263  :         throw std::logic_error("Can't find setting");

  0010b	68 00 00 00 00	 push	 OFFSET ??_C@_0BD@FAKKFOIA@Can?8t?5find?5setting?$AA@
  00110	8d 8d 5c ff ff
	ff		 lea	 ecx, DWORD PTR $T332043[ebp]
  00116	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> >
  0011b	c6 45 fc 04	 mov	 BYTE PTR __$EHRec$[ebp+8], 4
  0011f	8d 95 5c ff ff
	ff		 lea	 edx, DWORD PTR $T332043[ebp]
  00125	52		 push	 edx
  00126	8d 8d 78 ff ff
	ff		 lea	 ecx, DWORD PTR $T332042[ebp]
  0012c	e8 00 00 00 00	 call	 ??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z ; std::logic_error::logic_error
  00131	68 00 00 00 00	 push	 OFFSET __TI2?AVlogic_error@std@@
  00136	8d 85 78 ff ff
	ff		 lea	 eax, DWORD PTR $T332042[ebp]
  0013c	50		 push	 eax
  0013d	e8 00 00 00 00	 call	 __CxxThrowException@8
  00142	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00146	8d 8d 5c ff ff
	ff		 lea	 ecx, DWORD PTR $T332043[ebp]
  0014c	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> >
$LN1@GetSetting@4:

; 264  :     }
; 265  : }

  00151	c6 45 fc 00	 mov	 BYTE PTR __$EHRec$[ebp+8], 0
  00155	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  00158	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSettingsHolder@@@@QAE@XZ ; SmartPtr<CSettingsHolder>::~SmartPtr<CSettingsHolder>
$LN6@GetSetting@4:
  0015d	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00160	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00167	59		 pop	 ecx
  00168	8b e5		 mov	 esp, ebp
  0016a	5d		 pop	 ebp
  0016b	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR _Holder$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSettingsHolder@@@@QAE@XZ ; SmartPtr<CSettingsHolder>::~SmartPtr<CSettingsHolder>
__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$1:
  00008	8d 4d e4	 lea	 ecx, DWORD PTR _Setting$153246[ebp]
  0000b	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$2:
  00010	8b 85 58 ff ff
	ff		 mov	 eax, DWORD PTR $T332047[ebp]
  00016	83 e0 01	 and	 eax, 1
  00019	0f 84 0f 00 00
	00		 je	 $LN10@GetSetting@4
  0001f	83 a5 58 ff ff
	ff fe		 and	 DWORD PTR $T332047[ebp], -2 ; fffffffeH
  00026	8b 4d 08	 mov	 ecx, DWORD PTR ___$ReturnUdt$[ebp]
  00029	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
$LN10@GetSetting@4:
  0002e	c3		 ret	 0
__unwindfunclet$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$3:
  0002f	8d 4d a0	 lea	 ecx, DWORD PTR $T332041[ebp]
  00032	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$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z$4:
  00037	8d 8d 5c ff ff
	ff		 lea	 ecx, DWORD PTR $T332043[ebp]
  0003d	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> >
__ehhandler$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z:
  00042	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00046	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00049	8b 8a 60 ff ff
	ff		 mov	 ecx, DWORD PTR [edx-160]
  0004f	33 c8		 xor	 ecx, eax
  00051	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00056	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z
  0005b	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ENDP ; GetSetting
PUBLIC	?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z	; Setting_SetFromControl
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z$0
__ehfuncinfo$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z
_TEXT	SEGMENT
tv73 = -32						; size = 4
tv78 = -28						; size = 4
tv79 = -24						; size = 4
$T337110 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_hControl$ = 16						; size = 4
?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z PROC	; Setting_SetFromControl, COMDAT

; 298  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 14	 sub	 esp, 20			; 00000014H
  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

; 299  :     GetSetting(GetValueMsg, SettingIndex)->SetFromControl(hControl);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T337110[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv79[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv79[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv78[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e4	 mov	 ecx, DWORD PTR tv78[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 e0	 mov	 DWORD PTR tv73[ebp], eax
  00054	8b 4d 10	 mov	 ecx, DWORD PTR _hControl$[ebp]
  00057	51		 push	 ecx
  00058	8b 55 e0	 mov	 edx, DWORD PTR tv73[ebp]
  0005b	8b 02		 mov	 eax, DWORD PTR [edx]
  0005d	8b 4d e0	 mov	 ecx, DWORD PTR tv73[ebp]
  00060	8b 50 10	 mov	 edx, DWORD PTR [eax+16]
  00063	ff d2		 call	 edx
  00065	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006c	8d 4d ec	 lea	 ecx, DWORD PTR $T337110[ebp]
  0006f	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 300  : }

  00074	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00077	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0007e	59		 pop	 ecx
  0007f	8b e5		 mov	 esp, ebp
  00081	5d		 pop	 ebp
  00082	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T337110[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_SetFromControl@@YAXJJPAUHWND__@@@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 e8	 mov	 ecx, DWORD PTR [edx-24]
  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$?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_SetFromControl@@YAXJJPAUHWND__@@@Z ENDP	; Setting_SetFromControl
PUBLIC	?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z	; Setting_SetControlValue
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z$0
__ehfuncinfo$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z
_TEXT	SEGMENT
tv73 = -32						; size = 4
tv78 = -28						; size = 4
tv79 = -24						; size = 4
$T337120 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_hControl$ = 16						; size = 4
?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z PROC	; Setting_SetControlValue, COMDAT

; 293  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 14	 sub	 esp, 20			; 00000014H
  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

; 294  :     GetSetting(GetValueMsg, SettingIndex)->SetControlValue(hControl);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T337120[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv79[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv79[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv78[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e4	 mov	 ecx, DWORD PTR tv78[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 e0	 mov	 DWORD PTR tv73[ebp], eax
  00054	8b 4d 10	 mov	 ecx, DWORD PTR _hControl$[ebp]
  00057	51		 push	 ecx
  00058	8b 55 e0	 mov	 edx, DWORD PTR tv73[ebp]
  0005b	8b 02		 mov	 eax, DWORD PTR [edx]
  0005d	8b 4d e0	 mov	 ecx, DWORD PTR tv73[ebp]
  00060	8b 50 0c	 mov	 edx, DWORD PTR [eax+12]
  00063	ff d2		 call	 edx
  00065	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006c	8d 4d ec	 lea	 ecx, DWORD PTR $T337120[ebp]
  0006f	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 295  : }

  00074	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00077	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0007e	59		 pop	 ecx
  0007f	8b e5		 mov	 esp, ebp
  00081	5d		 pop	 ebp
  00082	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T337120[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_SetControlValue@@YAXJJPAUHWND__@@@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 e8	 mov	 ecx, DWORD PTR [edx-24]
  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$?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_SetControlValue@@YAXJJPAUHWND__@@@Z ENDP	; Setting_SetControlValue
PUBLIC	?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z	; Setting_SetupSlider
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z$0
__ehfuncinfo$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z
_TEXT	SEGMENT
tv73 = -32						; size = 4
tv78 = -28						; size = 4
tv79 = -24						; size = 4
$T337130 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_hSlider$ = 16						; size = 4
?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z PROC		; Setting_SetupSlider, COMDAT

; 288  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 14	 sub	 esp, 20			; 00000014H
  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

; 289  :     GetSetting(GetValueMsg, SettingIndex)->SetupControl(hSlider);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T337130[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv79[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv79[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv78[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e4	 mov	 ecx, DWORD PTR tv78[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 e0	 mov	 DWORD PTR tv73[ebp], eax
  00054	8b 4d 10	 mov	 ecx, DWORD PTR _hSlider$[ebp]
  00057	51		 push	 ecx
  00058	8b 55 e0	 mov	 edx, DWORD PTR tv73[ebp]
  0005b	8b 02		 mov	 eax, DWORD PTR [edx]
  0005d	8b 4d e0	 mov	 ecx, DWORD PTR tv73[ebp]
  00060	8b 50 08	 mov	 edx, DWORD PTR [eax+8]
  00063	ff d2		 call	 edx
  00065	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006c	8d 4d ec	 lea	 ecx, DWORD PTR $T337130[ebp]
  0006f	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 290  : }

  00074	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00077	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0007e	59		 pop	 ecx
  0007f	8b e5		 mov	 esp, ebp
  00081	5d		 pop	 ebp
  00082	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T337130[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_SetupSlider@@YAXJJPAUHWND__@@@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 e8	 mov	 ecx, DWORD PTR [edx-24]
  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$?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_SetupSlider@@YAXJJPAUHWND__@@@Z ENDP		; Setting_SetupSlider
PUBLIC	?Setting_ChangeDefault@@YAXJJJ@Z		; Setting_ChangeDefault
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_ChangeDefault@@YAXJJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_ChangeDefault@@YAXJJJ@Z$0
__ehfuncinfo$?Setting_ChangeDefault@@YAXJJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_ChangeDefault@@YAXJJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_ChangeDefault@@YAXJJJ@Z
_TEXT	SEGMENT
tv73 = -32						; size = 4
tv79 = -28						; size = 4
tv80 = -24						; size = 4
$T337140 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_Default$ = 16						; size = 4
?Setting_ChangeDefault@@YAXJJJ@Z PROC			; Setting_ChangeDefault, COMDAT

; 283  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_ChangeDefault@@YAXJJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 14	 sub	 esp, 20			; 00000014H
  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

; 284  :     GetSetting(GetValueMsg, SettingIndex)->ChangeDefault(Default);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T337140[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv80[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv80[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv79[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e4	 mov	 ecx, DWORD PTR tv79[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 e0	 mov	 DWORD PTR tv73[ebp], eax
  00054	6a 00		 push	 0
  00056	8b 4d 10	 mov	 ecx, DWORD PTR _Default$[ebp]
  00059	51		 push	 ecx
  0005a	8b 55 e0	 mov	 edx, DWORD PTR tv73[ebp]
  0005d	8b 02		 mov	 eax, DWORD PTR [edx]
  0005f	8b 4d e0	 mov	 ecx, DWORD PTR tv73[ebp]
  00062	8b 50 20	 mov	 edx, DWORD PTR [eax+32]
  00065	ff d2		 call	 edx
  00067	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006e	8d 4d ec	 lea	 ecx, DWORD PTR $T337140[ebp]
  00071	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 285  : }

  00076	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00079	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00080	59		 pop	 ecx
  00081	8b e5		 mov	 esp, ebp
  00083	5d		 pop	 ebp
  00084	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_ChangeDefault@@YAXJJJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T337140[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_ChangeDefault@@YAXJJJ@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 e8	 mov	 ecx, DWORD PTR [edx-24]
  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$?Setting_ChangeDefault@@YAXJJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_ChangeDefault@@YAXJJJ@Z ENDP			; Setting_ChangeDefault
PUBLIC	?Setting_SetValue@@YAXJJJ@Z			; Setting_SetValue
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_SetValue@@YAXJJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_SetValue@@YAXJJJ@Z$0
__ehfuncinfo$?Setting_SetValue@@YAXJJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_SetValue@@YAXJJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_SetValue@@YAXJJJ@Z
_TEXT	SEGMENT
tv73 = -32						; size = 4
tv78 = -28						; size = 4
tv79 = -24						; size = 4
$T337150 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_Value$ = 16						; size = 4
?Setting_SetValue@@YAXJJJ@Z PROC			; Setting_SetValue, COMDAT

; 273  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_SetValue@@YAXJJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 14	 sub	 esp, 20			; 00000014H
  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

; 274  :     GetSetting(GetValueMsg, SettingIndex)->SetValueFromMessage(Value);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T337150[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv79[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv79[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv78[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e4	 mov	 ecx, DWORD PTR tv78[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 e0	 mov	 DWORD PTR tv73[ebp], eax
  00054	8b 4d 10	 mov	 ecx, DWORD PTR _Value$[ebp]
  00057	51		 push	 ecx
  00058	8b 55 e0	 mov	 edx, DWORD PTR tv73[ebp]
  0005b	8b 02		 mov	 eax, DWORD PTR [edx]
  0005d	8b 4d e0	 mov	 ecx, DWORD PTR tv73[ebp]
  00060	8b 50 18	 mov	 edx, DWORD PTR [eax+24]
  00063	ff d2		 call	 edx
  00065	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006c	8d 4d ec	 lea	 ecx, DWORD PTR $T337150[ebp]
  0006f	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 275  : }

  00074	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00077	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0007e	59		 pop	 ecx
  0007f	8b e5		 mov	 esp, ebp
  00081	5d		 pop	 ebp
  00082	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_SetValue@@YAXJJJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T337150[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_SetValue@@YAXJJJ@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 e8	 mov	 ecx, DWORD PTR [edx-24]
  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$?Setting_SetValue@@YAXJJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_SetValue@@YAXJJJ@Z ENDP			; Setting_SetValue
PUBLIC	?Setting_GetValue@@YAJJJ@Z			; Setting_GetValue
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_GetValue@@YAJJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_GetValue@@YAJJJ@Z$0
__ehfuncinfo$?Setting_GetValue@@YAJJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_GetValue@@YAJJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_GetValue@@YAJJJ@Z
_TEXT	SEGMENT
tv73 = -36						; size = 4
tv78 = -32						; size = 4
tv79 = -28						; size = 4
$T337161 = -24						; size = 8
$T337160 = -16						; size = 4
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
?Setting_GetValue@@YAJJJ@Z PROC				; Setting_GetValue, COMDAT

; 268  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_GetValue@@YAJJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 18	 sub	 esp, 24			; 00000018H
  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

; 269  :     return GetSetting(GetValueMsg, SettingIndex)->GetValueAsMessage();

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 e8	 lea	 edx, DWORD PTR $T337161[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e4	 mov	 DWORD PTR tv79[ebp], eax
  0003c	8b 45 e4	 mov	 eax, DWORD PTR tv79[ebp]
  0003f	89 45 e0	 mov	 DWORD PTR tv78[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	8b 4d e0	 mov	 ecx, DWORD PTR tv78[ebp]
  0004c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00051	89 45 dc	 mov	 DWORD PTR tv73[ebp], eax
  00054	8b 4d dc	 mov	 ecx, DWORD PTR tv73[ebp]
  00057	8b 11		 mov	 edx, DWORD PTR [ecx]
  00059	8b 4d dc	 mov	 ecx, DWORD PTR tv73[ebp]
  0005c	8b 42 14	 mov	 eax, DWORD PTR [edx+20]
  0005f	ff d0		 call	 eax
  00061	89 45 f0	 mov	 DWORD PTR $T337160[ebp], eax
  00064	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0006b	8d 4d e8	 lea	 ecx, DWORD PTR $T337161[ebp]
  0006e	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
  00073	8b 45 f0	 mov	 eax, DWORD PTR $T337160[ebp]

; 270  : }

  00076	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00079	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00080	59		 pop	 ecx
  00081	8b e5		 mov	 esp, ebp
  00083	5d		 pop	 ebp
  00084	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_GetValue@@YAJJJ@Z$0:
  00000	8d 4d e8	 lea	 ecx, DWORD PTR $T337161[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_GetValue@@YAJJJ@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 e4	 mov	 ecx, DWORD PTR [edx-28]
  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$?Setting_GetValue@@YAJJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_GetValue@@YAJJJ@Z ENDP				; Setting_GetValue
PUBLIC	__$ArrayPad$
PUBLIC	?WritePrivateProfileInt@@YAXPB_W0H0@Z		; WritePrivateProfileInt
; Function compile flags: /Odtp
;	COMDAT ?WritePrivateProfileInt@@YAXPB_W0H0@Z
_TEXT	SEGMENT
_szValue$ = -264					; size = 256
__$ArrayPad$ = -4					; size = 4
_lpAppName$ = 8						; size = 4
_lpKeyName$ = 12					; size = 4
_nValue$ = 16						; size = 4
_lpFileName$ = 20					; size = 4
?WritePrivateProfileInt@@YAXPB_W0H0@Z PROC		; WritePrivateProfileInt, COMDAT

; 238  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	81 ec 08 01 00
	00		 sub	 esp, 264		; 00000108H
  00009	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000e	33 c5		 xor	 eax, ebp
  00010	89 45 fc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax

; 239  :     TCHAR szValue[128];
; 240  :     _stprintf(szValue, _T("%d"), nValue);

  00013	8b 45 10	 mov	 eax, DWORD PTR _nValue$[ebp]
  00016	50		 push	 eax
  00017	68 00 00 00 00	 push	 OFFSET ??_C@_15KNBIKKIN@?$AA?$CF?$AAd?$AA?$AA@
  0001c	8d 8d f8 fe ff
	ff		 lea	 ecx, DWORD PTR _szValue$[ebp]
  00022	51		 push	 ecx
  00023	e8 00 00 00 00	 call	 __swprintf
  00028	83 c4 0c	 add	 esp, 12			; 0000000cH

; 241  :     WritePrivateProfileString(lpAppName,  lpKeyName,  szValue, lpFileName);

  0002b	8b 55 14	 mov	 edx, DWORD PTR _lpFileName$[ebp]
  0002e	52		 push	 edx
  0002f	8d 85 f8 fe ff
	ff		 lea	 eax, DWORD PTR _szValue$[ebp]
  00035	50		 push	 eax
  00036	8b 4d 0c	 mov	 ecx, DWORD PTR _lpKeyName$[ebp]
  00039	51		 push	 ecx
  0003a	8b 55 08	 mov	 edx, DWORD PTR _lpAppName$[ebp]
  0003d	52		 push	 edx
  0003e	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__WritePrivateProfileStringW@16

; 242  :     LOG(2, _T(" WritePrivateProfileInt %s %s Value %s"), lpAppName, lpKeyName, szValue);

  00044	8d 85 f8 fe ff
	ff		 lea	 eax, DWORD PTR _szValue$[ebp]
  0004a	50		 push	 eax
  0004b	8b 4d 0c	 mov	 ecx, DWORD PTR _lpKeyName$[ebp]
  0004e	51		 push	 ecx
  0004f	8b 55 08	 mov	 edx, DWORD PTR _lpAppName$[ebp]
  00052	52		 push	 edx
  00053	68 00 00 00 00	 push	 OFFSET ??_C@_1EO@BLLCJOOE@?$AA?5?$AAW?$AAr?$AAi?$AAt?$AAe?$AAP?$AAr?$AAi?$AAv?$AAa?$AAt?$AAe?$AAP?$AAr?$AAo?$AAf?$AAi?$AAl?$AAe?$AAI?$AAn?$AAt?$AA?5?$AA?$CF?$AAs?$AA?5?$AA?$CF?$AAs?$AA?5?$AAV?$AAa@
  00058	6a 02		 push	 2
  0005a	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0005f	83 c4 14	 add	 esp, 20			; 00000014H

; 243  : }

  00062	8b 4d fc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  00065	33 cd		 xor	 ecx, ebp
  00067	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0006c	8b e5		 mov	 esp, ebp
  0006e	5d		 pop	 ebp
  0006f	c3		 ret	 0
?WritePrivateProfileInt@@YAXPB_W0H0@Z ENDP		; WritePrivateProfileInt
_TEXT	ENDS
PUBLIC	__$ArrayPad$
PUBLIC	?BeautifyIniFile@@YAXPB_W@Z			; BeautifyIniFile
; Function compile flags: /Odtp
;	COMDAT ?BeautifyIniFile@@YAXPB_W@Z
_TEXT	SEGMENT
_TempFile$ = -10784					; size = 4
_IniFile$ = -10780					; size = 4
_lastline$ = -10776					; size = 5120
_buf$ = -5656						; size = 5120
_i$ = -536						; size = 4
_IOError$ = -532					; size = 4
_szTempFile$ = -528					; size = 520
__$ArrayPad$ = -4					; size = 4
_lpIniFileName$ = 8					; size = 4
?BeautifyIniFile@@YAXPB_W@Z PROC			; BeautifyIniFile, COMDAT

; 141  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	b8 20 2a 00 00	 mov	 eax, 10784		; 00002a20H
  00008	e8 00 00 00 00	 call	 __chkstk
  0000d	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00012	33 c5		 xor	 eax, ebp
  00014	89 45 fc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax

; 142  :     FILE* IniFile = NULL;

  00017	c7 85 e4 d5 ff
	ff 00 00 00 00	 mov	 DWORD PTR _IniFile$[ebp], 0

; 143  :     FILE* TempFile = NULL;

  00021	c7 85 e0 d5 ff
	ff 00 00 00 00	 mov	 DWORD PTR _TempFile$[ebp], 0

; 144  :     TCHAR szTempFile[MAX_PATH] = _T("");

  0002b	66 a1 00 00 00
	00		 mov	 ax, WORD PTR ??_C@_11LOCGONAA@?$AA?$AA@
  00031	66 89 85 f0 fd
	ff ff		 mov	 WORD PTR _szTempFile$[ebp], ax
  00038	68 06 02 00 00	 push	 518			; 00000206H
  0003d	6a 00		 push	 0
  0003f	8d 8d f2 fd ff
	ff		 lea	 ecx, DWORD PTR _szTempFile$[ebp+2]
  00045	51		 push	 ecx
  00046	e8 00 00 00 00	 call	 _memset
  0004b	83 c4 0c	 add	 esp, 12			; 0000000cH

; 145  :     TCHAR buf[2560] = _T("");

  0004e	66 8b 15 00 00
	00 00		 mov	 dx, WORD PTR ??_C@_11LOCGONAA@?$AA?$AA@
  00055	66 89 95 e8 e9
	ff ff		 mov	 WORD PTR _buf$[ebp], dx
  0005c	68 fe 13 00 00	 push	 5118			; 000013feH
  00061	6a 00		 push	 0
  00063	8d 85 ea e9 ff
	ff		 lea	 eax, DWORD PTR _buf$[ebp+2]
  00069	50		 push	 eax
  0006a	e8 00 00 00 00	 call	 _memset
  0006f	83 c4 0c	 add	 esp, 12			; 0000000cH

; 146  :     TCHAR lastline[2560] = _T("");

  00072	66 8b 0d 00 00
	00 00		 mov	 cx, WORD PTR ??_C@_11LOCGONAA@?$AA?$AA@
  00079	66 89 8d e8 d5
	ff ff		 mov	 WORD PTR _lastline$[ebp], cx
  00080	68 fe 13 00 00	 push	 5118			; 000013feH
  00085	6a 00		 push	 0
  00087	8d 95 ea d5 ff
	ff		 lea	 edx, DWORD PTR _lastline$[ebp+2]
  0008d	52		 push	 edx
  0008e	e8 00 00 00 00	 call	 _memset
  00093	83 c4 0c	 add	 esp, 12			; 0000000cH

; 147  :     BOOL IOError = FALSE;

  00096	c7 85 ec fd ff
	ff 00 00 00 00	 mov	 DWORD PTR _IOError$[ebp], 0

; 148  : 
; 149  :     buf[2550] = '\0';

  000a0	33 c0		 xor	 eax, eax
  000a2	66 89 85 d4 fd
	ff ff		 mov	 WORD PTR _buf$[ebp+5100], ax

; 150  : 
; 151  :     GetCurrentDirectory(MAX_PATH, szTempFile);

  000a9	8d 8d f0 fd ff
	ff		 lea	 ecx, DWORD PTR _szTempFile$[ebp]
  000af	51		 push	 ecx
  000b0	68 04 01 00 00	 push	 260			; 00000104H
  000b5	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__GetCurrentDirectoryW@8

; 152  :     _tcscat(szTempFile, _T("\\"));

  000bb	68 00 00 00 00	 push	 OFFSET ??_C@_13FPGAJAPJ@?$AA?2?$AA?$AA@
  000c0	8d 95 f0 fd ff
	ff		 lea	 edx, DWORD PTR _szTempFile$[ebp]
  000c6	52		 push	 edx
  000c7	e8 00 00 00 00	 call	 _wcscat
  000cc	83 c4 08	 add	 esp, 8

; 153  :     _tcscat(szTempFile, TEMPFILENAME);

  000cf	68 00 00 00 00	 push	 OFFSET ??_C@_1DC@CBMKMBAG@?$AAT?$AAh?$AAi?$AAs?$AAF?$AAi?$AAl?$AAe?$AAC?$AAa?$AAn?$AAB?$AAe?$AAR?$AAe?$AAm?$AAo?$AAv?$AAe?$AAd?$AA?4?$AAt?$AAm?$AAp?$AA?$AA@
  000d4	8d 85 f0 fd ff
	ff		 lea	 eax, DWORD PTR _szTempFile$[ebp]
  000da	50		 push	 eax
  000db	e8 00 00 00 00	 call	 _wcscat
  000e0	83 c4 08	 add	 esp, 8

; 154  : 
; 155  :     TempFile = _tfopen(szTempFile, _T("w"));

  000e3	68 00 00 00 00	 push	 OFFSET ??_C@_13CIFDLIMG@?$AAw?$AA?$AA@
  000e8	8d 8d f0 fd ff
	ff		 lea	 ecx, DWORD PTR _szTempFile$[ebp]
  000ee	51		 push	 ecx
  000ef	e8 00 00 00 00	 call	 __wfopen
  000f4	83 c4 08	 add	 esp, 8
  000f7	89 85 e0 d5 ff
	ff		 mov	 DWORD PTR _TempFile$[ebp], eax

; 156  :     if(TempFile == NULL)

  000fd	83 bd e0 d5 ff
	ff 00		 cmp	 DWORD PTR _TempFile$[ebp], 0
  00104	75 19		 jne	 SHORT $LN17@BeautifyIn

; 157  :     {
; 158  :         LOG(1, _T("BeautifyIniFile: Error opening temp file for writing."));

  00106	68 00 00 00 00	 push	 OFFSET ??_C@_1GM@BDHPEEFC@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAt@
  0010b	6a 01		 push	 1
  0010d	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00112	83 c4 08	 add	 esp, 8

; 159  :         return;

  00115	e9 50 02 00 00	 jmp	 $LN18@BeautifyIn

; 160  :     }
; 161  :     else

  0011a	e9 ca 01 00 00	 jmp	 $LN16@BeautifyIn
$LN17@BeautifyIn:

; 162  :     {
; 163  :         IniFile = _tfopen(lpIniFileName, _T("r"));

  0011f	68 00 00 00 00	 push	 OFFSET ??_C@_13BPINEIPE@?$AAr?$AA?$AA@
  00124	8b 55 08	 mov	 edx, DWORD PTR _lpIniFileName$[ebp]
  00127	52		 push	 edx
  00128	e8 00 00 00 00	 call	 __wfopen
  0012d	83 c4 08	 add	 esp, 8
  00130	89 85 e4 d5 ff
	ff		 mov	 DWORD PTR _IniFile$[ebp], eax

; 164  :         if(IniFile == NULL)

  00136	83 bd e4 d5 ff
	ff 00		 cmp	 DWORD PTR _IniFile$[ebp], 0
  0013d	75 37		 jne	 SHORT $LN13@BeautifyIn

; 165  :         {
; 166  :             fclose(TempFile);

  0013f	8b 85 e0 d5 ff
	ff		 mov	 eax, DWORD PTR _TempFile$[ebp]
  00145	50		 push	 eax
  00146	e8 00 00 00 00	 call	 _fclose
  0014b	83 c4 04	 add	 esp, 4

; 167  :             _tremove(szTempFile);

  0014e	8d 8d f0 fd ff
	ff		 lea	 ecx, DWORD PTR _szTempFile$[ebp]
  00154	51		 push	 ecx
  00155	e8 00 00 00 00	 call	 __wremove
  0015a	83 c4 04	 add	 esp, 4

; 168  :             LOG(1, _T("BeautifyIniFile: Error opening ini file for reading."));

  0015d	68 00 00 00 00	 push	 OFFSET ??_C@_1GK@GAOPNOE@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAo?$AAp?$AAe?$AAn?$AAi?$AAn?$AAg?$AA?5?$AAi@
  00162	6a 01		 push	 1
  00164	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00169	83 c4 08	 add	 esp, 8

; 169  :             return;

  0016c	e9 f9 01 00 00	 jmp	 $LN18@BeautifyIn

; 170  :         }
; 171  :         else

  00171	e9 55 01 00 00	 jmp	 $LN14@BeautifyIn
$LN13@BeautifyIn:

; 172  :         {
; 173  :             while(!feof(IniFile))

  00176	8b 95 e4 d5 ff
	ff		 mov	 edx, DWORD PTR _IniFile$[ebp]
  0017c	52		 push	 edx
  0017d	e8 00 00 00 00	 call	 _feof
  00182	83 c4 04	 add	 esp, 4
  00185	85 c0		 test	 eax, eax
  00187	0f 85 3e 01 00
	00		 jne	 $LN14@BeautifyIn

; 174  :             {
; 175  :                 if(_fgetts(buf, 2550, IniFile) == NULL)

  0018d	8b 85 e4 d5 ff
	ff		 mov	 eax, DWORD PTR _IniFile$[ebp]
  00193	50		 push	 eax
  00194	68 f6 09 00 00	 push	 2550			; 000009f6H
  00199	8d 8d e8 e9 ff
	ff		 lea	 ecx, DWORD PTR _buf$[ebp]
  0019f	51		 push	 ecx
  001a0	e8 00 00 00 00	 call	 _fgetws
  001a5	83 c4 0c	 add	 esp, 12			; 0000000cH
  001a8	85 c0		 test	 eax, eax
  001aa	75 33		 jne	 SHORT $LN11@BeautifyIn

; 176  :                 {
; 177  :                     if(feof(IniFile))

  001ac	8b 95 e4 d5 ff
	ff		 mov	 edx, DWORD PTR _IniFile$[ebp]
  001b2	52		 push	 edx
  001b3	e8 00 00 00 00	 call	 _feof
  001b8	83 c4 04	 add	 esp, 4
  001bb	85 c0		 test	 eax, eax
  001bd	74 07		 je	 SHORT $LN10@BeautifyIn

; 178  :                     {
; 179  :                         break;

  001bf	e9 07 01 00 00	 jmp	 $LN14@BeautifyIn

; 180  :                     }
; 181  :                     else

  001c4	eb 19		 jmp	 SHORT $LN11@BeautifyIn
$LN10@BeautifyIn:

; 182  :                     {
; 183  :                         IOError = TRUE;

  001c6	c7 85 ec fd ff
	ff 01 00 00 00	 mov	 DWORD PTR _IOError$[ebp], 1

; 184  :                         LOG(1, _T("BeautifyIniFile: Error reading ini file."));

  001d0	68 00 00 00 00	 push	 OFFSET ??_C@_1FC@EKOGIPJL@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAr?$AAe?$AAa?$AAd?$AAi?$AAn?$AAg?$AA?5?$AAi@
  001d5	6a 01		 push	 1
  001d7	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  001dc	83 c4 08	 add	 esp, 8
$LN11@BeautifyIn:

; 185  :                     }
; 186  :                 }
; 187  :                 if(IsSectionName(buf) && lastline[0] != '\0')

  001df	8d 85 e8 e9 ff
	ff		 lea	 eax, DWORD PTR _buf$[ebp]
  001e5	50		 push	 eax
  001e6	e8 00 00 00 00	 call	 ?IsSectionName@@YAHPB_W@Z ; IsSectionName
  001eb	83 c4 04	 add	 esp, 4
  001ee	85 c0		 test	 eax, eax
  001f0	74 3c		 je	 SHORT $LN8@BeautifyIn
  001f2	0f b7 8d e8 d5
	ff ff		 movzx	 ecx, WORD PTR _lastline$[ebp]
  001f9	85 c9		 test	 ecx, ecx
  001fb	74 31		 je	 SHORT $LN8@BeautifyIn

; 188  :                 {
; 189  :                     if(_fputts(_T("\n"), TempFile) < 0)

  001fd	8b 95 e0 d5 ff
	ff		 mov	 edx, DWORD PTR _TempFile$[ebp]
  00203	52		 push	 edx
  00204	68 00 00 00 00	 push	 OFFSET ??_C@_13LBAGMAIH@?$AA?6?$AA?$AA@
  00209	e8 00 00 00 00	 call	 _fputws
  0020e	83 c4 08	 add	 esp, 8
  00211	85 c0		 test	 eax, eax
  00213	7d 19		 jge	 SHORT $LN8@BeautifyIn

; 190  :                     {
; 191  :                         IOError = TRUE;

  00215	c7 85 ec fd ff
	ff 01 00 00 00	 mov	 DWORD PTR _IOError$[ebp], 1

; 192  :                         LOG(1, _T("BeautifyIniFile: Error writing temp file (#1)."));

  0021f	68 00 00 00 00	 push	 OFFSET ??_C@_1FO@DGOMCFPN@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@
  00224	6a 01		 push	 1
  00226	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0022b	83 c4 08	 add	 esp, 8
$LN8@BeautifyIn:

; 193  :                     }
; 194  :                 }
; 195  :                 if(_fputts(buf, TempFile) < 0)

  0022e	8b 85 e0 d5 ff
	ff		 mov	 eax, DWORD PTR _TempFile$[ebp]
  00234	50		 push	 eax
  00235	8d 8d e8 e9 ff
	ff		 lea	 ecx, DWORD PTR _buf$[ebp]
  0023b	51		 push	 ecx
  0023c	e8 00 00 00 00	 call	 _fputws
  00241	83 c4 08	 add	 esp, 8
  00244	85 c0		 test	 eax, eax
  00246	7d 19		 jge	 SHORT $LN6@BeautifyIn

; 196  :                 {
; 197  :                     IOError = TRUE;

  00248	c7 85 ec fd ff
	ff 01 00 00 00	 mov	 DWORD PTR _IOError$[ebp], 1

; 198  :                     LOG(1, _T("BeautifyIniFile: Error writing temp file (#2)."));

  00252	68 00 00 00 00	 push	 OFFSET ??_C@_1FO@LIGDCCBO@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAE?$AAr?$AAr?$AAo?$AAr?$AA?5?$AAw?$AAr?$AAi?$AAt?$AAi?$AAn?$AAg?$AA?5?$AAt@
  00257	6a 01		 push	 1
  00259	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0025e	83 c4 08	 add	 esp, 8
$LN6@BeautifyIn:

; 199  :                 }
; 200  :                 if(IOError)

  00261	83 bd ec fd ff
	ff 00		 cmp	 DWORD PTR _IOError$[ebp], 0
  00268	74 32		 je	 SHORT $LN5@BeautifyIn

; 201  :                 {
; 202  :                     fclose(IniFile);

  0026a	8b 95 e4 d5 ff
	ff		 mov	 edx, DWORD PTR _IniFile$[ebp]
  00270	52		 push	 edx
  00271	e8 00 00 00 00	 call	 _fclose
  00276	83 c4 04	 add	 esp, 4

; 203  :                     fclose(TempFile);

  00279	8b 85 e0 d5 ff
	ff		 mov	 eax, DWORD PTR _TempFile$[ebp]
  0027f	50		 push	 eax
  00280	e8 00 00 00 00	 call	 _fclose
  00285	83 c4 04	 add	 esp, 4

; 204  :                     _tremove(szTempFile);

  00288	8d 8d f0 fd ff
	ff		 lea	 ecx, DWORD PTR _szTempFile$[ebp]
  0028e	51		 push	 ecx
  0028f	e8 00 00 00 00	 call	 __wremove
  00294	83 c4 04	 add	 esp, 4

; 205  :                     return;

  00297	e9 ce 00 00 00	 jmp	 $LN18@BeautifyIn
$LN5@BeautifyIn:

; 206  :                 }
; 207  :                 _tcsncpy(lastline, buf, sizeof(lastline)/sizeof(TCHAR));

  0029c	68 00 0a 00 00	 push	 2560			; 00000a00H
  002a1	8d 95 e8 e9 ff
	ff		 lea	 edx, DWORD PTR _buf$[ebp]
  002a7	52		 push	 edx
  002a8	8d 85 e8 d5 ff
	ff		 lea	 eax, DWORD PTR _lastline$[ebp]
  002ae	50		 push	 eax
  002af	e8 00 00 00 00	 call	 _wcsncpy
  002b4	83 c4 0c	 add	 esp, 12			; 0000000cH

; 208  :                 CleanUpLine(lastline);

  002b7	8d 8d e8 d5 ff
	ff		 lea	 ecx, DWORD PTR _lastline$[ebp]
  002bd	51		 push	 ecx
  002be	e8 00 00 00 00	 call	 ?CleanUpLine@@YAPA_WPA_W@Z ; CleanUpLine
  002c3	83 c4 04	 add	 esp, 4

; 209  :             }

  002c6	e9 ab fe ff ff	 jmp	 $LN13@BeautifyIn
$LN14@BeautifyIn:

; 210  :         }
; 211  :         fclose(IniFile);

  002cb	8b 95 e4 d5 ff
	ff		 mov	 edx, DWORD PTR _IniFile$[ebp]
  002d1	52		 push	 edx
  002d2	e8 00 00 00 00	 call	 _fclose
  002d7	83 c4 04	 add	 esp, 4

; 212  :         fclose(TempFile);

  002da	8b 85 e0 d5 ff
	ff		 mov	 eax, DWORD PTR _TempFile$[ebp]
  002e0	50		 push	 eax
  002e1	e8 00 00 00 00	 call	 _fclose
  002e6	83 c4 04	 add	 esp, 4
$LN16@BeautifyIn:

; 213  :     }
; 214  :     _tremove(lpIniFileName);

  002e9	8b 4d 08	 mov	 ecx, DWORD PTR _lpIniFileName$[ebp]
  002ec	51		 push	 ecx
  002ed	e8 00 00 00 00	 call	 __wremove
  002f2	83 c4 04	 add	 esp, 4

; 215  : 
; 216  :     // RM Sept 28 2006: The following while loop and Sleep statement should not be needed.
; 217  :     // It was added because Antivir Personal Edition Classic was causing problems when
; 218  :     // the win32 file heuristic of the Antivir Guard was set to the medium level.
; 219  :     // Antivir causes a delay in removing the ini file which causes the rename to fail.
; 220  :     //
; 221  :     int i = 0;

  002f5	c7 85 e8 fd ff
	ff 00 00 00 00	 mov	 DWORD PTR _i$[ebp], 0
$LN4@BeautifyIn:

; 222  :     while(_trename(szTempFile, lpIniFileName) != 0)

  002ff	8b 55 08	 mov	 edx, DWORD PTR _lpIniFileName$[ebp]
  00302	52		 push	 edx
  00303	8d 85 f0 fd ff
	ff		 lea	 eax, DWORD PTR _szTempFile$[ebp]
  00309	50		 push	 eax
  0030a	e8 00 00 00 00	 call	 __wrename
  0030f	83 c4 08	 add	 esp, 8
  00312	85 c0		 test	 eax, eax
  00314	74 35		 je	 SHORT $LN3@BeautifyIn

; 223  :     {
; 224  :         Sleep(1);

  00316	6a 01		 push	 1
  00318	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__Sleep@4

; 225  :         if(i++ > 100)

  0031e	8b 8d e8 fd ff
	ff		 mov	 ecx, DWORD PTR _i$[ebp]
  00324	8b 95 e8 fd ff
	ff		 mov	 edx, DWORD PTR _i$[ebp]
  0032a	83 c2 01	 add	 edx, 1
  0032d	89 95 e8 fd ff
	ff		 mov	 DWORD PTR _i$[ebp], edx
  00333	83 f9 64	 cmp	 ecx, 100		; 00000064H
  00336	7e 11		 jle	 SHORT $LN2@BeautifyIn

; 226  :         {
; 227  :             LOG(1, _T("BeautifyIniFile: rename failed."));

  00338	68 00 00 00 00	 push	 OFFSET ??_C@_1EA@NLFJGNK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAr?$AAe?$AAn?$AAa?$AAm?$AAe?$AA?5?$AAf?$AAa?$AAi?$AAl?$AAe?$AAd?$AA?4?$AA?$AA@
  0033d	6a 01		 push	 1
  0033f	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00344	83 c4 08	 add	 esp, 8

; 228  :             break;

  00347	eb 02		 jmp	 SHORT $LN3@BeautifyIn
$LN2@BeautifyIn:

; 229  :         }
; 230  :     }

  00349	eb b4		 jmp	 SHORT $LN4@BeautifyIn
$LN3@BeautifyIn:

; 231  :     if(i != 0)

  0034b	83 bd e8 fd ff
	ff 00		 cmp	 DWORD PTR _i$[ebp], 0
  00352	74 16		 je	 SHORT $LN18@BeautifyIn

; 232  :     {
; 233  :         LOG(1, _T("BeautifyIniFile: Sleep needed %d time(s) before rename."), i);

  00354	8b 85 e8 fd ff
	ff		 mov	 eax, DWORD PTR _i$[ebp]
  0035a	50		 push	 eax
  0035b	68 00 00 00 00	 push	 OFFSET ??_C@_1HA@NNDCNDKK@?$AAB?$AAe?$AAa?$AAu?$AAt?$AAi?$AAf?$AAy?$AAI?$AAn?$AAi?$AAF?$AAi?$AAl?$AAe?$AA?3?$AA?5?$AAS?$AAl?$AAe?$AAe?$AAp?$AA?5?$AAn?$AAe?$AAe?$AAd?$AAe?$AAd?$AA?5?$AA?$CF?$AAd@
  00360	6a 01		 push	 1
  00362	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00367	83 c4 0c	 add	 esp, 12			; 0000000cH
$LN18@BeautifyIn:

; 234  :     }
; 235  : }

  0036a	8b 4d fc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  0036d	33 cd		 xor	 ecx, ebp
  0036f	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00374	8b e5		 mov	 esp, ebp
  00376	5d		 pop	 ebp
  00377	c3		 ret	 0
?BeautifyIniFile@@YAXPB_W@Z ENDP			; BeautifyIniFile
_TEXT	ENDS
PUBLIC	?SetIniFileForSettings@@YAXPA_W@Z		; SetIniFileForSettings
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?SetIniFileForSettings@@YAXPA_W@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$0
	DD	00H
	DD	FLAT:__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$1
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$2
	DD	02H
	DD	FLAT:__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$3
__ehfuncinfo$?SetIniFileForSettings@@YAXPA_W@Z DD 019930522H
	DD	04H
	DD	FLAT:__unwindtable$?SetIniFileForSettings@@YAXPA_W@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?SetIniFileForSettings@@YAXPA_W@Z
_TEXT	SEGMENT
tv130 = -156						; size = 4
tv134 = -152						; size = 4
tv128 = -148						; size = 4
tv133 = -144						; size = 4
tv94 = -140						; size = 4
tv132 = -136						; size = 4
tv92 = -132						; size = 4
tv131 = -128						; size = 4
$T345683 = -124						; size = 28
$T345682 = -96						; size = 28
$T345681 = -68						; size = 28
$T345680 = -40						; size = 28
__$EHRec$ = -12						; size = 12
_Name$ = 8						; size = 4
?SetIniFileForSettings@@YAXPA_W@Z PROC			; SetIniFileForSettings, COMDAT

; 62   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?SetIniFileForSettings@@YAXPA_W@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	81 ec 90 00 00
	00		 sub	 esp, 144		; 00000090H
  00017	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0001c	33 c5		 xor	 eax, ebp
  0001e	50		 push	 eax
  0001f	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  00022	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax

; 63   :     if (Name == 0 || *Name == 0)         // add parm TRB 12/00

  00028	83 7d 08 00	 cmp	 DWORD PTR _Name$[ebp], 0
  0002c	74 0a		 je	 SHORT $LN2@SetIniFile
  0002e	8b 45 08	 mov	 eax, DWORD PTR _Name$[ebp]
  00031	0f b7 08	 movzx	 ecx, WORD PTR [eax]
  00034	85 c9		 test	 ecx, ecx
  00036	75 7b		 jne	 SHORT $LN3@SetIniFile
$LN2@SetIniFile:

; 64   :     {
; 65   :         szIniFile = GetUserFilePath() + _T("DScaler.ini");

  00038	8d 55 d8	 lea	 edx, DWORD PTR $T345680[ebp]
  0003b	52		 push	 edx
  0003c	e8 00 00 00 00	 call	 ?GetUserFilePath@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ ; GetUserFilePath
  00041	83 c4 04	 add	 esp, 4
  00044	89 45 80	 mov	 DWORD PTR tv131[ebp], eax
  00047	8b 45 80	 mov	 eax, DWORD PTR tv131[ebp]
  0004a	89 85 7c ff ff
	ff		 mov	 DWORD PTR tv92[ebp], eax
  00050	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00057	68 00 00 00 00	 push	 OFFSET ??_C@_1BI@HFJNKIKF@?$AAD?$AAS?$AAc?$AAa?$AAl?$AAe?$AAr?$AA?4?$AAi?$AAn?$AAi?$AA?$AA@
  0005c	8b 8d 7c ff ff
	ff		 mov	 ecx, DWORD PTR tv92[ebp]
  00062	51		 push	 ecx
  00063	8d 55 bc	 lea	 edx, DWORD PTR $T345681[ebp]
  00066	52		 push	 edx
  00067	e8 00 00 00 00	 call	 ??$?H_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@ABV10@PB_W@Z ; std::operator+<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  0006c	83 c4 0c	 add	 esp, 12			; 0000000cH
  0006f	89 85 78 ff ff
	ff		 mov	 DWORD PTR tv132[ebp], eax
  00075	8b 85 78 ff ff
	ff		 mov	 eax, DWORD PTR tv132[ebp]
  0007b	89 85 74 ff ff
	ff		 mov	 DWORD PTR tv94[ebp], eax
  00081	c6 45 fc 01	 mov	 BYTE PTR __$EHRec$[ebp+8], 1
  00085	8b 8d 74 ff ff
	ff		 mov	 ecx, DWORD PTR tv94[ebp]
  0008b	51		 push	 ecx
  0008c	b9 00 00 00 00	 mov	 ecx, OFFSET ?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
  00091	e8 00 00 00 00	 call	 ??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@ABV01@@Z ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::operator=
  00096	c6 45 fc 00	 mov	 BYTE PTR __$EHRec$[ebp+8], 0
  0009a	8d 4d bc	 lea	 ecx, DWORD PTR $T345681[ebp]
  0009d	e8 00 00 00 00	 call	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  000a2	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  000a9	8d 4d d8	 lea	 ecx, DWORD PTR $T345680[ebp]
  000ac	e8 00 00 00 00	 call	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >

; 66   :     }
; 67   :     else

  000b1	eb 7e		 jmp	 SHORT $LN4@SetIniFile
$LN3@SetIniFile:

; 68   :     {
; 69   :         szIniFile = GetUserFilePath() + Name;

  000b3	8d 55 a0	 lea	 edx, DWORD PTR $T345682[ebp]
  000b6	52		 push	 edx
  000b7	e8 00 00 00 00	 call	 ?GetUserFilePath@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ ; GetUserFilePath
  000bc	83 c4 04	 add	 esp, 4
  000bf	89 85 70 ff ff
	ff		 mov	 DWORD PTR tv133[ebp], eax
  000c5	8b 85 70 ff ff
	ff		 mov	 eax, DWORD PTR tv133[ebp]
  000cb	89 85 6c ff ff
	ff		 mov	 DWORD PTR tv128[ebp], eax
  000d1	c7 45 fc 02 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 2
  000d8	8b 4d 08	 mov	 ecx, DWORD PTR _Name$[ebp]
  000db	51		 push	 ecx
  000dc	8b 95 6c ff ff
	ff		 mov	 edx, DWORD PTR tv128[ebp]
  000e2	52		 push	 edx
  000e3	8d 45 84	 lea	 eax, DWORD PTR $T345683[ebp]
  000e6	50		 push	 eax
  000e7	e8 00 00 00 00	 call	 ??$?H_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@ABV10@PB_W@Z ; std::operator+<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  000ec	83 c4 0c	 add	 esp, 12			; 0000000cH
  000ef	89 85 68 ff ff
	ff		 mov	 DWORD PTR tv134[ebp], eax
  000f5	8b 8d 68 ff ff
	ff		 mov	 ecx, DWORD PTR tv134[ebp]
  000fb	89 8d 64 ff ff
	ff		 mov	 DWORD PTR tv130[ebp], ecx
  00101	c6 45 fc 03	 mov	 BYTE PTR __$EHRec$[ebp+8], 3
  00105	8b 95 64 ff ff
	ff		 mov	 edx, DWORD PTR tv130[ebp]
  0010b	52		 push	 edx
  0010c	b9 00 00 00 00	 mov	 ecx, OFFSET ?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
  00111	e8 00 00 00 00	 call	 ??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@ABV01@@Z ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::operator=
  00116	c6 45 fc 02	 mov	 BYTE PTR __$EHRec$[ebp+8], 2
  0011a	8d 4d 84	 lea	 ecx, DWORD PTR $T345683[ebp]
  0011d	e8 00 00 00 00	 call	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  00122	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00129	8d 4d a0	 lea	 ecx, DWORD PTR $T345682[ebp]
  0012c	e8 00 00 00 00	 call	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
$LN4@SetIniFile:

; 70   :     }
; 71   : }

  00131	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00134	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0013b	59		 pop	 ecx
  0013c	8b e5		 mov	 esp, ebp
  0013e	5d		 pop	 ebp
  0013f	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$0:
  00000	8d 4d d8	 lea	 ecx, DWORD PTR $T345680[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$1:
  00008	8d 4d bc	 lea	 ecx, DWORD PTR $T345681[ebp]
  0000b	e9 00 00 00 00	 jmp	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$2:
  00010	8d 4d a0	 lea	 ecx, DWORD PTR $T345682[ebp]
  00013	e9 00 00 00 00	 jmp	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
__unwindfunclet$?SetIniFileForSettings@@YAXPA_W@Z$3:
  00018	8d 4d 84	 lea	 ecx, DWORD PTR $T345683[ebp]
  0001b	e9 00 00 00 00	 jmp	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
__ehhandler$?SetIniFileForSettings@@YAXPA_W@Z:
  00020	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00024	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00027	8b 8a 6c ff ff
	ff		 mov	 ecx, DWORD PTR [edx-148]
  0002d	33 c8		 xor	 ecx, eax
  0002f	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00034	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?SetIniFileForSettings@@YAXPA_W@Z
  00039	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?SetIniFileForSettings@@YAXPA_W@Z ENDP			; SetIniFileForSettings
PUBLIC	?Setting_Down@@YAXJJ@Z				; Setting_Down
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_Down@@YAXJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_Down@@YAXJJ@Z$0
__ehfuncinfo$?Setting_Down@@YAXJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_Down@@YAXJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_Down@@YAXJJ@Z
_TEXT	SEGMENT
tv75 = -28						; size = 4
tv76 = -24						; size = 4
$T358713 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
?Setting_Down@@YAXJJ@Z PROC				; Setting_Down, COMDAT

; 313  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_Down@@YAXJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 10	 sub	 esp, 16			; 00000010H
  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

; 314  :     GetSetting(GetValueMsg, SettingIndex)->ChangeValue(ADJUSTDOWN);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T358713[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv76[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv76[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv75[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	6a 02		 push	 2
  0004b	8b 4d e4	 mov	 ecx, DWORD PTR tv75[ebp]
  0004e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00053	8b c8		 mov	 ecx, eax
  00055	e8 00 00 00 00	 call	 ?ChangeValue@CSimpleSetting@@QAEXW4eCHANGEVALUE@@@Z ; CSimpleSetting::ChangeValue
  0005a	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00061	8d 4d ec	 lea	 ecx, DWORD PTR $T358713[ebp]
  00064	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 315  : }

  00069	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0006c	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00073	59		 pop	 ecx
  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_Down@@YAXJJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T358713[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_Down@@YAXJJ@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 ec	 mov	 ecx, DWORD PTR [edx-20]
  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$?Setting_Down@@YAXJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_Down@@YAXJJ@Z ENDP				; Setting_Down
PUBLIC	?Setting_Up@@YAXJJ@Z				; Setting_Up
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_Up@@YAXJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_Up@@YAXJJ@Z$0
__ehfuncinfo$?Setting_Up@@YAXJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_Up@@YAXJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_Up@@YAXJJ@Z
_TEXT	SEGMENT
tv75 = -28						; size = 4
tv76 = -24						; size = 4
$T358723 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
?Setting_Up@@YAXJJ@Z PROC				; Setting_Up, COMDAT

; 308  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_Up@@YAXJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 10	 sub	 esp, 16			; 00000010H
  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

; 309  :     GetSetting(GetValueMsg, SettingIndex)->ChangeValue(ADJUSTUP);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T358723[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv76[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv76[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv75[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	6a 01		 push	 1
  0004b	8b 4d e4	 mov	 ecx, DWORD PTR tv75[ebp]
  0004e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00053	8b c8		 mov	 ecx, eax
  00055	e8 00 00 00 00	 call	 ?ChangeValue@CSimpleSetting@@QAEXW4eCHANGEVALUE@@@Z ; CSimpleSetting::ChangeValue
  0005a	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00061	8d 4d ec	 lea	 ecx, DWORD PTR $T358723[ebp]
  00064	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 310  : }

  00069	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0006c	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00073	59		 pop	 ecx
  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_Up@@YAXJJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T358723[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_Up@@YAXJJ@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 ec	 mov	 ecx, DWORD PTR [edx-20]
  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$?Setting_Up@@YAXJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_Up@@YAXJJ@Z ENDP				; Setting_Up
PUBLIC	?Setting_OSDShow@@YAXJJPAUHWND__@@@Z		; Setting_OSDShow
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z$0
__ehfuncinfo$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_OSDShow@@YAXJJPAUHWND__@@@Z
_TEXT	SEGMENT
tv75 = -28						; size = 4
tv76 = -24						; size = 4
$T358733 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
_hWnd$ = 16						; size = 4
?Setting_OSDShow@@YAXJJPAUHWND__@@@Z PROC		; Setting_OSDShow, COMDAT

; 303  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 10	 sub	 esp, 16			; 00000010H
  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

; 304  :     GetSetting(GetValueMsg, SettingIndex)->ChangeValue(DISPLAY);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T358733[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv76[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv76[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv75[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	6a 00		 push	 0
  0004b	8b 4d e4	 mov	 ecx, DWORD PTR tv75[ebp]
  0004e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00053	8b c8		 mov	 ecx, eax
  00055	e8 00 00 00 00	 call	 ?ChangeValue@CSimpleSetting@@QAEXW4eCHANGEVALUE@@@Z ; CSimpleSetting::ChangeValue
  0005a	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00061	8d 4d ec	 lea	 ecx, DWORD PTR $T358733[ebp]
  00064	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 305  : }

  00069	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0006c	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00073	59		 pop	 ecx
  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T358733[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_OSDShow@@YAXJJPAUHWND__@@@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 ec	 mov	 ecx, DWORD PTR [edx-20]
  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$?Setting_OSDShow@@YAXJJPAUHWND__@@@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_OSDShow@@YAXJJPAUHWND__@@@Z ENDP		; Setting_OSDShow
PUBLIC	?Setting_SetDefault@@YAXJJ@Z			; Setting_SetDefault
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?Setting_SetDefault@@YAXJJ@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?Setting_SetDefault@@YAXJJ@Z$0
__ehfuncinfo$?Setting_SetDefault@@YAXJJ@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?Setting_SetDefault@@YAXJJ@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?Setting_SetDefault@@YAXJJ@Z
_TEXT	SEGMENT
tv75 = -28						; size = 4
tv76 = -24						; size = 4
$T358743 = -20						; size = 8
__$EHRec$ = -12						; size = 12
_GetValueMsg$ = 8					; size = 4
_SettingIndex$ = 12					; size = 4
?Setting_SetDefault@@YAXJJ@Z PROC			; Setting_SetDefault, COMDAT

; 278  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?Setting_SetDefault@@YAXJJ@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 10	 sub	 esp, 16			; 00000010H
  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

; 279  :     GetSetting(GetValueMsg, SettingIndex)->ChangeValue(RESET);

  00025	8b 45 0c	 mov	 eax, DWORD PTR _SettingIndex$[ebp]
  00028	50		 push	 eax
  00029	8b 4d 08	 mov	 ecx, DWORD PTR _GetValueMsg$[ebp]
  0002c	51		 push	 ecx
  0002d	8d 55 ec	 lea	 edx, DWORD PTR $T358743[ebp]
  00030	52		 push	 edx
  00031	e8 00 00 00 00	 call	 ?GetSetting@@YA?AV?$SmartPtr@VCSimpleSetting@@@@JJ@Z ; GetSetting
  00036	83 c4 0c	 add	 esp, 12			; 0000000cH
  00039	89 45 e8	 mov	 DWORD PTR tv76[ebp], eax
  0003c	8b 45 e8	 mov	 eax, DWORD PTR tv76[ebp]
  0003f	89 45 e4	 mov	 DWORD PTR tv75[ebp], eax
  00042	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00049	6a 05		 push	 5
  0004b	8b 4d e4	 mov	 ecx, DWORD PTR tv75[ebp]
  0004e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSimpleSetting@@@@QBEPAVCSimpleSetting@@XZ ; SmartPtr<CSimpleSetting>::operator->
  00053	8b c8		 mov	 ecx, eax
  00055	e8 00 00 00 00	 call	 ?ChangeValue@CSimpleSetting@@QAEXW4eCHANGEVALUE@@@Z ; CSimpleSetting::ChangeValue
  0005a	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00061	8d 4d ec	 lea	 ecx, DWORD PTR $T358743[ebp]
  00064	e8 00 00 00 00	 call	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>

; 280  : }

  00069	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0006c	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00073	59		 pop	 ecx
  00074	8b e5		 mov	 esp, ebp
  00076	5d		 pop	 ebp
  00077	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?Setting_SetDefault@@YAXJJ@Z$0:
  00000	8d 4d ec	 lea	 ecx, DWORD PTR $T358743[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1?$SmartPtr@VCSimpleSetting@@@@QAE@XZ ; SmartPtr<CSimpleSetting>::~SmartPtr<CSimpleSetting>
__ehhandler$?Setting_SetDefault@@YAXJJ@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 ec	 mov	 ecx, DWORD PTR [edx-20]
  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$?Setting_SetDefault@@YAXJJ@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?Setting_SetDefault@@YAXJJ@Z ENDP			; Setting_SetDefault
; Function compile flags: /Odtp
;	COMDAT ??__EszIniFile@@YAXXZ
text$yc	SEGMENT
??__EszIniFile@@YAXXZ PROC				; `dynamic initializer for 'szIniFile'', COMDAT

; 59   : tstring szIniFile = _T("DScaler.ini");

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	68 00 00 00 00	 push	 OFFSET ??_C@_1BI@HFJNKIKF@?$AAD?$AAS?$AAc?$AAa?$AAl?$AAe?$AAr?$AA?4?$AAi?$AAn?$AAi?$AA?$AA@
  00008	b9 00 00 00 00	 mov	 ecx, OFFSET ?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
  0000d	e8 00 00 00 00	 call	 ??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@PB_W@Z ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  00012	68 00 00 00 00	 push	 OFFSET ??__FszIniFile@@YAXXZ ; `dynamic atexit destructor for 'szIniFile''
  00017	e8 00 00 00 00	 call	 _atexit
  0001c	83 c4 04	 add	 esp, 4
  0001f	5d		 pop	 ebp
  00020	c3		 ret	 0
??__EszIniFile@@YAXXZ ENDP				; `dynamic initializer for 'szIniFile''
; Function compile flags: /Odtp
;	COMDAT ??__FszIniFile@@YAXXZ
text$yd	SEGMENT
??__FszIniFile@@YAXXZ PROC				; `dynamic atexit destructor for 'szIniFile'', COMDAT
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	b9 00 00 00 00	 mov	 ecx, OFFSET ?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
  00008	e8 00 00 00 00	 call	 ??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ ; std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >::~basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
  0000d	5d		 pop	 ebp
  0000e	c3		 ret	 0
??__FszIniFile@@YAXXZ ENDP				; `dynamic atexit destructor for 'szIniFile''
PUBLIC	?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A ; szIniFile
?szIniFile@@3V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@A DB 01cH DUP (?) ; szIniFile
_szIniFile$initializer$ DD FLAT:??__EszIniFile@@YAXXZ
END
