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

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

INCLUDELIB OLDNAMES

PUBLIC	?SplashWnd@@3PAUHWND__@@A			; SplashWnd
EXTRN	__imp__UpdateWindow@4:PROC
?SplashWnd@@3PAUHWND__@@A DD 01H DUP (?)		; SplashWnd
PUBLIC	?HideSplashScreen@@YAXXZ			; HideSplashScreen
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\splash.cpp
;	COMDAT ?HideSplashScreen@@YAXXZ
_TEXT	SEGMENT
?HideSplashScreen@@YAXXZ PROC				; HideSplashScreen, COMDAT

; 103  : {

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

; 104  :     if (SplashWnd != NULL)

  00003	83 3d 00 00 00
	00 00		 cmp	 DWORD PTR ?SplashWnd@@3PAUHWND__@@A, 0 ; SplashWnd
  0000a	74 18		 je	 SHORT $LN2@HideSplash

; 105  :     {
; 106  :         EndDialog(SplashWnd, 0);

  0000c	6a 00		 push	 0
  0000e	a1 00 00 00 00	 mov	 eax, DWORD PTR ?SplashWnd@@3PAUHWND__@@A ; SplashWnd
  00013	50		 push	 eax
  00014	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__EndDialog@8

; 107  :         SplashWnd  = NULL;

  0001a	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?SplashWnd@@3PAUHWND__@@A, 0 ; SplashWnd
$LN2@HideSplash:

; 108  :     }
; 109  : }

  00024	5d		 pop	 ebp
  00025	c3		 ret	 0
?HideSplashScreen@@YAXXZ ENDP				; HideSplashScreen
PUBLIC	?AddSplashTextLine@@YAXPB_W@Z			; AddSplashTextLine
; Function compile flags: /Odtp
;	COMDAT ?AddSplashTextLine@@YAXPB_W@Z
_TEXT	SEGMENT
_listWnd$141120 = -8					; size = 4
_nItem$141119 = -4					; size = 4
_szText$ = 8						; size = 4
?AddSplashTextLine@@YAXPB_W@Z PROC			; AddSplashTextLine, COMDAT

; 113  : {

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

; 114  :     if(SplashWnd)

  00006	83 3d 00 00 00
	00 00		 cmp	 DWORD PTR ?SplashWnd@@3PAUHWND__@@A, 0 ; SplashWnd
  0000d	74 63		 je	 SHORT $LN1@AddSplashT

; 115  :     {
; 116  :         int nItem;
; 117  :         HWND listWnd(GetDlgItem(SplashWnd, IDC_LIST1));

  0000f	68 69 06 00 00	 push	 1641			; 00000669H
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ?SplashWnd@@3PAUHWND__@@A ; SplashWnd
  00019	50		 push	 eax
  0001a	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__GetDlgItem@8
  00020	89 45 f8	 mov	 DWORD PTR _listWnd$141120[ebp], eax

; 118  :         nItem = ListBox_AddString(listWnd, szText);

  00023	8b 4d 08	 mov	 ecx, DWORD PTR _szText$[ebp]
  00026	51		 push	 ecx
  00027	6a 00		 push	 0
  00029	68 80 01 00 00	 push	 384			; 00000180H
  0002e	8b 55 f8	 mov	 edx, DWORD PTR _listWnd$141120[ebp]
  00031	52		 push	 edx
  00032	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SendMessageW@16
  00038	89 45 fc	 mov	 DWORD PTR _nItem$141119[ebp], eax

; 119  :         ListBox_SetCurSel(listWnd, nItem);

  0003b	6a 00		 push	 0
  0003d	8b 45 fc	 mov	 eax, DWORD PTR _nItem$141119[ebp]
  00040	50		 push	 eax
  00041	68 86 01 00 00	 push	 390			; 00000186H
  00046	8b 4d f8	 mov	 ecx, DWORD PTR _listWnd$141120[ebp]
  00049	51		 push	 ecx
  0004a	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SendMessageW@16

; 120  :         // update the list box
; 121  :         UpdateWindow(listWnd);

  00050	8b 55 f8	 mov	 edx, DWORD PTR _listWnd$141120[ebp]
  00053	52		 push	 edx
  00054	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__UpdateWindow@4

; 122  :         // make sure we're on top
; 123  :         // otherwise we don't get painted
; 124  :         SetWindowPos(SplashWnd,HWND_TOPMOST,
; 125  :                     0,0,0,0,
; 126  :                     SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW | SWP_NOACTIVATE);

  0005a	6a 53		 push	 83			; 00000053H
  0005c	6a 00		 push	 0
  0005e	6a 00		 push	 0
  00060	6a 00		 push	 0
  00062	6a 00		 push	 0
  00064	6a ff		 push	 -1
  00066	a1 00 00 00 00	 mov	 eax, DWORD PTR ?SplashWnd@@3PAUHWND__@@A ; SplashWnd
  0006b	50		 push	 eax
  0006c	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SetWindowPos@28
$LN1@AddSplashT:

; 127  : 
; 128  :    }
; 129  :     LOG(1, szText);

  00072	8b 4d 08	 mov	 ecx, DWORD PTR _szText$[ebp]
  00075	51		 push	 ecx
  00076	6a 01		 push	 1
  00078	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0007d	83 c4 08	 add	 esp, 8

; 130  : }

  00080	8b e5		 mov	 esp, ebp
  00082	5d		 pop	 ebp
  00083	c3		 ret	 0
?AddSplashTextLine@@YAXPB_W@Z ENDP			; AddSplashTextLine
PUBLIC	__$ArrayPad$
PUBLIC	?SplashProc@@YGHPAUHWND__@@IIJ@Z		; SplashProc
;	COMDAT ?hOldBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
_BSS	SEGMENT
?hOldBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A DD 01H DUP (?) ; `SplashProc'::`2'::hOldBm
_BSS	ENDS
;	COMDAT ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A
_BSS	SEGMENT
?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A DB 018H DUP (?) ; `SplashProc'::`2'::bm
_BSS	ENDS
;	COMDAT ?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
_BSS	SEGMENT
?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A DD 01H DUP (?) ; `SplashProc'::`2'::hSplashBm
; Function compile flags: /Odtp
_BSS	ENDS
;	COMDAT ?SplashProc@@YGHPAUHWND__@@IIJ@Z
_TEXT	SEGMENT
tv67 = -108						; size = 4
tv64 = -104						; size = 4
_ScreenRect$141092 = -100				; size = 16
_Height$141094 = -84					; size = 4
_Width$141093 = -80					; size = 4
_hdc$ = -76						; size = 4
_wps$ = -72						; size = 64
__$ArrayPad$ = -8					; size = 4
_hMemDC$ = -4						; size = 4
_hDlg$ = 8						; size = 4
_message$ = 12						; size = 4
_wParam$ = 16						; size = 4
_lParam$ = 20						; size = 4
?SplashProc@@YGHPAUHWND__@@IIJ@Z PROC			; SplashProc, COMDAT

; 39   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 6c	 sub	 esp, 108		; 0000006cH
  00006	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000b	33 c5		 xor	 eax, ebp
  0000d	89 45 f8	 mov	 DWORD PTR __$ArrayPad$[ebp], eax

; 40   :     static HBITMAP hSplashBm;
; 41   :     static HBITMAP hOldBm;
; 42   :     static BITMAP bm;
; 43   :     PAINTSTRUCT wps;
; 44   :     HDC hdc;
; 45   :     HDC hMemDC;
; 46   : 
; 47   :     switch (message)

  00010	8b 45 0c	 mov	 eax, DWORD PTR _message$[ebp]
  00013	89 45 98	 mov	 DWORD PTR tv64[ebp], eax
  00016	83 7d 98 14	 cmp	 DWORD PTR tv64[ebp], 20	; 00000014H
  0001a	0f 84 eb 00 00
	00		 je	 $LN3@SplashProc
  00020	81 7d 98 10 01
	00 00		 cmp	 DWORD PTR tv64[ebp], 272 ; 00000110H
  00027	74 12		 je	 SHORT $LN4@SplashProc
  00029	81 7d 98 13 01
	00 00		 cmp	 DWORD PTR tv64[ebp], 275 ; 00000113H
  00030	0f 84 7b 01 00
	00		 je	 $LN2@SplashProc
  00036	e9 a2 01 00 00	 jmp	 $LN5@SplashProc
$LN4@SplashProc:

; 48   :     {
; 49   :     case WM_INITDIALOG:
; 50   :         {
; 51   :             RECT ScreenRect;
; 52   :             GetActiveOutput()->GetMonitorRect(GetMainWnd(), &ScreenRect);

  0003b	e8 00 00 00 00	 call	 ?GetActiveOutput@@YAPAVIOutput@@XZ ; GetActiveOutput
  00040	89 45 94	 mov	 DWORD PTR tv67[ebp], eax
  00043	8d 4d 9c	 lea	 ecx, DWORD PTR _ScreenRect$141092[ebp]
  00046	51		 push	 ecx
  00047	e8 00 00 00 00	 call	 ?GetMainWnd@@YAPAUHWND__@@XZ ; GetMainWnd
  0004c	50		 push	 eax
  0004d	8b 55 94	 mov	 edx, DWORD PTR tv67[ebp]
  00050	8b 02		 mov	 eax, DWORD PTR [edx]
  00052	8b 4d 94	 mov	 ecx, DWORD PTR tv67[ebp]
  00055	8b 50 0c	 mov	 edx, DWORD PTR [eax+12]
  00058	ff d2		 call	 edx

; 53   :             int Width = ScreenRect.right  - ScreenRect.left;

  0005a	8b 45 a4	 mov	 eax, DWORD PTR _ScreenRect$141092[ebp+8]
  0005d	2b 45 9c	 sub	 eax, DWORD PTR _ScreenRect$141092[ebp]
  00060	89 45 b0	 mov	 DWORD PTR _Width$141093[ebp], eax

; 54   :             int Height = ScreenRect.bottom - ScreenRect.top;

  00063	8b 4d a8	 mov	 ecx, DWORD PTR _ScreenRect$141092[ebp+12]
  00066	2b 4d a0	 sub	 ecx, DWORD PTR _ScreenRect$141092[ebp+4]
  00069	89 4d ac	 mov	 DWORD PTR _Height$141094[ebp], ecx

; 55   :             hSplashBm = (HBITMAP)LoadImage(hDScalerInst, MAKEINTRESOURCE(IDB_STARTUP), IMAGE_BITMAP, 0, 0, LR_VGACOLOR);

  0006c	68 80 00 00 00	 push	 128			; 00000080H
  00071	6a 00		 push	 0
  00073	6a 00		 push	 0
  00075	6a 00		 push	 0
  00077	6a 6b		 push	 107			; 0000006bH
  00079	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?hDScalerInst@@3PAUHINSTANCE__@@A ; hDScalerInst
  0007f	52		 push	 edx
  00080	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__LoadImageW@24
  00086	a3 00 00 00 00	 mov	 DWORD PTR ?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A, eax

; 56   :             GetObject(hSplashBm, sizeof(BITMAP), (LPTSTR) &bm);

  0008b	68 00 00 00 00	 push	 OFFSET ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A
  00090	6a 18		 push	 24			; 00000018H
  00092	a1 00 00 00 00	 mov	 eax, DWORD PTR ?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
  00097	50		 push	 eax
  00098	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__GetObjectW@12

; 57   : 
; 58   :             SetWindowPos(hDlg, HWND_TOPMOST,
; 59   :                 ScreenRect.left + (Width - bm.bmWidth) / 2,
; 60   :                 ScreenRect.top + (Height - bm.bmHeight) / 2,
; 61   :                 bm.bmWidth,
; 62   :                 bm.bmHeight,
; 63   :                 SWP_SHOWWINDOW);

  0009e	6a 40		 push	 64			; 00000040H
  000a0	8b 0d 08 00 00
	00		 mov	 ecx, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+8
  000a6	51		 push	 ecx
  000a7	8b 15 04 00 00
	00		 mov	 edx, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+4
  000ad	52		 push	 edx
  000ae	8b 45 ac	 mov	 eax, DWORD PTR _Height$141094[ebp]
  000b1	2b 05 08 00 00
	00		 sub	 eax, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+8
  000b7	99		 cdq
  000b8	2b c2		 sub	 eax, edx
  000ba	d1 f8		 sar	 eax, 1
  000bc	03 45 a0	 add	 eax, DWORD PTR _ScreenRect$141092[ebp+4]
  000bf	50		 push	 eax
  000c0	8b 45 b0	 mov	 eax, DWORD PTR _Width$141093[ebp]
  000c3	2b 05 04 00 00
	00		 sub	 eax, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+4
  000c9	99		 cdq
  000ca	2b c2		 sub	 eax, edx
  000cc	d1 f8		 sar	 eax, 1
  000ce	03 45 9c	 add	 eax, DWORD PTR _ScreenRect$141092[ebp]
  000d1	50		 push	 eax
  000d2	6a ff		 push	 -1
  000d4	8b 45 08	 mov	 eax, DWORD PTR _hDlg$[ebp]
  000d7	50		 push	 eax
  000d8	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SetWindowPos@28

; 64   :             SetTimer(hDlg, 2, 5000, NULL);

  000de	6a 00		 push	 0
  000e0	68 88 13 00 00	 push	 5000			; 00001388H
  000e5	6a 02		 push	 2
  000e7	8b 4d 08	 mov	 ecx, DWORD PTR _hDlg$[ebp]
  000ea	51		 push	 ecx
  000eb	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SetTimer@16

; 65   :             InvalidateRect(hDlg, NULL, TRUE);

  000f1	6a 01		 push	 1
  000f3	6a 00		 push	 0
  000f5	8b 55 08	 mov	 edx, DWORD PTR _hDlg$[ebp]
  000f8	52		 push	 edx
  000f9	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__InvalidateRect@12

; 66   :             return FALSE;

  000ff	33 c0		 xor	 eax, eax
  00101	e9 d9 00 00 00	 jmp	 $LN7@SplashProc

; 67   :         }
; 68   :         break;

  00106	e9 d2 00 00 00	 jmp	 $LN5@SplashProc
$LN3@SplashProc:

; 69   : 
; 70   :     case WM_ERASEBKGND:
; 71   :         hdc = BeginPaint(hDlg, &wps);

  0010b	8d 45 b8	 lea	 eax, DWORD PTR _wps$[ebp]
  0010e	50		 push	 eax
  0010f	8b 4d 08	 mov	 ecx, DWORD PTR _hDlg$[ebp]
  00112	51		 push	 ecx
  00113	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__BeginPaint@8
  00119	89 45 b4	 mov	 DWORD PTR _hdc$[ebp], eax

; 72   :         hMemDC = CreateCompatibleDC(hdc);

  0011c	8b 55 b4	 mov	 edx, DWORD PTR _hdc$[ebp]
  0011f	52		 push	 edx
  00120	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__CreateCompatibleDC@4
  00126	89 45 fc	 mov	 DWORD PTR _hMemDC$[ebp], eax

; 73   :         hOldBm = (HBITMAP)SelectObject(hMemDC, hSplashBm);

  00129	a1 00 00 00 00	 mov	 eax, DWORD PTR ?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
  0012e	50		 push	 eax
  0012f	8b 4d fc	 mov	 ecx, DWORD PTR _hMemDC$[ebp]
  00132	51		 push	 ecx
  00133	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SelectObject@8
  00139	a3 00 00 00 00	 mov	 DWORD PTR ?hOldBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A, eax

; 74   :         BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hMemDC, 0, 0, SRCCOPY);

  0013e	68 20 00 cc 00	 push	 13369376		; 00cc0020H
  00143	6a 00		 push	 0
  00145	6a 00		 push	 0
  00147	8b 55 fc	 mov	 edx, DWORD PTR _hMemDC$[ebp]
  0014a	52		 push	 edx
  0014b	a1 08 00 00 00	 mov	 eax, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+8
  00150	50		 push	 eax
  00151	8b 0d 04 00 00
	00		 mov	 ecx, DWORD PTR ?bm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4UtagBITMAP@@A+4
  00157	51		 push	 ecx
  00158	6a 00		 push	 0
  0015a	6a 00		 push	 0
  0015c	8b 55 b4	 mov	 edx, DWORD PTR _hdc$[ebp]
  0015f	52		 push	 edx
  00160	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__BitBlt@36

; 75   :         SelectObject(hMemDC, hOldBm);

  00166	a1 00 00 00 00	 mov	 eax, DWORD PTR ?hOldBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
  0016b	50		 push	 eax
  0016c	8b 4d fc	 mov	 ecx, DWORD PTR _hMemDC$[ebp]
  0016f	51		 push	 ecx
  00170	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__SelectObject@8

; 76   :         DeleteDC(hMemDC);

  00176	8b 55 fc	 mov	 edx, DWORD PTR _hMemDC$[ebp]
  00179	52		 push	 edx
  0017a	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__DeleteDC@4

; 77   :         InvalidateRect(GetDlgItem(hDlg, IDC_LIST1), NULL, FALSE);

  00180	6a 00		 push	 0
  00182	6a 00		 push	 0
  00184	68 69 06 00 00	 push	 1641			; 00000669H
  00189	8b 45 08	 mov	 eax, DWORD PTR _hDlg$[ebp]
  0018c	50		 push	 eax
  0018d	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__GetDlgItem@8
  00193	50		 push	 eax
  00194	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__InvalidateRect@12

; 78   :         EndPaint(hDlg, &wps);

  0019a	8d 4d b8	 lea	 ecx, DWORD PTR _wps$[ebp]
  0019d	51		 push	 ecx
  0019e	8b 55 08	 mov	 edx, DWORD PTR _hDlg$[ebp]
  001a1	52		 push	 edx
  001a2	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__EndPaint@8

; 79   :         return TRUE;

  001a8	b8 01 00 00 00	 mov	 eax, 1
  001ad	eb 30		 jmp	 SHORT $LN7@SplashProc

; 80   :         break;

  001af	eb 2c		 jmp	 SHORT $LN5@SplashProc
$LN2@SplashProc:

; 81   : 
; 82   :     case WM_TIMER:
; 83   :         if (wParam == 2)

  001b1	83 7d 10 02	 cmp	 DWORD PTR _wParam$[ebp], 2
  001b5	75 22		 jne	 SHORT $LN1@SplashProc

; 84   :         {
; 85   :             SplashWnd  = NULL;

  001b7	c7 05 00 00 00
	00 00 00 00 00	 mov	 DWORD PTR ?SplashWnd@@3PAUHWND__@@A, 0 ; SplashWnd

; 86   :             DeleteObject(hSplashBm);

  001c1	a1 00 00 00 00	 mov	 eax, DWORD PTR ?hSplashBm@?1??SplashProc@@YGHPAUHWND__@@IIJ@Z@4PAUHBITMAP__@@A
  001c6	50		 push	 eax
  001c7	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__DeleteObject@4

; 87   :             EndDialog(hDlg, 0);

  001cd	6a 00		 push	 0
  001cf	8b 4d 08	 mov	 ecx, DWORD PTR _hDlg$[ebp]
  001d2	51		 push	 ecx
  001d3	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__EndDialog@8
$LN1@SplashProc:

; 88   :         }
; 89   :         return FALSE;

  001d9	33 c0		 xor	 eax, eax
  001db	eb 02		 jmp	 SHORT $LN7@SplashProc
$LN5@SplashProc:

; 90   :     }
; 91   :     return FALSE;

  001dd	33 c0		 xor	 eax, eax
$LN7@SplashProc:

; 92   :     UNREFERENCED_PARAMETER(lParam);
; 93   : }

  001df	8b 4d f8	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  001e2	33 cd		 xor	 ecx, ebp
  001e4	e8 00 00 00 00	 call	 @__security_check_cookie@4
  001e9	8b e5		 mov	 esp, ebp
  001eb	5d		 pop	 ebp
  001ec	c2 10 00	 ret	 16			; 00000010H
?SplashProc@@YGHPAUHWND__@@IIJ@Z ENDP			; SplashProc
PUBLIC	?ShowSpashScreen@@YAXXZ				; ShowSpashScreen
; Function compile flags: /Odtp
;	COMDAT ?ShowSpashScreen@@YAXXZ
_TEXT	SEGMENT
?ShowSpashScreen@@YAXXZ PROC				; ShowSpashScreen, COMDAT

; 96   : {

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

; 97   :     SplashWnd = CreateDialog(hResourceInst, MAKEINTRESOURCE(IDD_SPLASHBOX), NULL, SplashProc);

  00003	6a 00		 push	 0
  00005	68 00 00 00 00	 push	 OFFSET ?SplashProc@@YGHPAUHWND__@@IIJ@Z ; SplashProc
  0000a	6a 00		 push	 0
  0000c	68 ac 00 00 00	 push	 172			; 000000acH
  00011	a1 00 00 00 00	 mov	 eax, DWORD PTR ?hResourceInst@@3PAUHINSTANCE__@@A ; hResourceInst
  00016	50		 push	 eax
  00017	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__CreateDialogParamW@20
  0001d	a3 00 00 00 00	 mov	 DWORD PTR ?SplashWnd@@3PAUHWND__@@A, eax ; SplashWnd

; 98   :     ShowWindow(SplashWnd, SW_SHOW);

  00022	6a 05		 push	 5
  00024	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?SplashWnd@@3PAUHWND__@@A ; SplashWnd
  0002a	51		 push	 ecx
  0002b	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__ShowWindow@8

; 99   :     UpdateWindow(SplashWnd);

  00031	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?SplashWnd@@3PAUHWND__@@A ; SplashWnd
  00037	52		 push	 edx
  00038	ff 15 00 00 00
	00		 call	 DWORD PTR __imp__UpdateWindow@4

; 100  : }

  0003e	5d		 pop	 ebp
  0003f	c3		 ret	 0
?ShowSpashScreen@@YAXXZ ENDP				; ShowSpashScreen
END
