Function at 0x476460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa779
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov dword [esi], vtable.Sexy::SexyApp.0
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
push edi
mov dword [ebp - 0x60], esi
mov byte [esi + 0xc], bl
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], ebx
mov byte [esi + 0x94], bl
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 3
call fcn.00481550
mov al, byte [ebp - 0x11]
lea edi, [esi + 0x2e0]
mov ecx, edi
mov byte [ebp - 4], 4
mov byte [edi], al
call fcn.0042aaf0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x304]
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00405d40
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov eax, 0xf
mov dword [esi + 0x340], eax
mov dword [esi + 0x33c], ebx
mov byte [esi + 0x32c], bl
mov dword [esi + 0x35c], eax
mov dword [esi + 0x358], ebx
mov byte [esi + 0x348], bl
mov dword [esi + 0x37c], eax
mov dword [esi + 0x378], ebx
mov byte [esi + 0x368], bl
mov dword [esi + 0x39c], eax
mov dword [esi + 0x398], ebx
mov byte [esi + 0x388], bl
mov dword [esi + 0x3b8], eax
mov dword [esi + 0x3b4], ebx
mov byte [esi + 0x3a4], bl
mov dword [esi + 0x3f0], eax
mov dword [esi + 0x3ec], ebx
mov byte [esi + 0x3dc], bl
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], ebx
mov byte [esi + 0x408], bl
mov dword [esi + 0x438], eax
mov dword [esi + 0x434], ebx
mov byte [esi + 0x424], bl
mov dword [esi + 0x454], eax
mov dword [esi + 0x450], ebx
mov byte [esi + 0x440], bl
mov cl, byte [ebp - 0x11]
lea edi, [esi + 0x478]
mov byte [edi], cl
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00451080
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x4cc]
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00405de0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x538], 0xf
mov dword [esi + 0x534], ebx
mov byte [esi + 0x524], bl
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 0x12
call fcn.0048d260
lea edi, [esi + 0x580]
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00405d20
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dl, byte [ebp - 0x11]
lea edi, [esi + 0x59c]
mov ecx, edi
mov byte [ebp - 4], 0x14
mov byte [edi], dl
call fcn.004060d0
mov dword [edi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov al, byte [ebp - 0x11]
lea edi, [esi + 0x5a8]
mov ecx, edi
mov byte [ebp - 4], 0x15
mov byte [edi], al
call fcn.00466470
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov cl, byte [ebp - 0x11]
lea edi, [esi + 0x5b4]
mov byte [edi], cl
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00466470
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dl, byte [ebp - 0x11]
lea edi, [esi + 0x5c0]
mov ecx, edi
mov byte [ebp - 4], 0x17
mov byte [edi], dl
call fcn.004664b0
mov dword [edi + 4], eax
mov byte [eax + 0x39], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov al, byte [ebp - 0x11]
lea edi, [esi + 0x5cc]
mov ecx, edi
mov byte [ebp - 4], 0x18
mov byte [edi], al
call fcn.004664f0
mov dword [edi + 4], eax
mov byte [eax + 0x39], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.version.dll
mov byte [ebp - 4], 0x19
mov dword [0x57ef00], esi
call edi
push str.ddraw.dll
mov dword [0x57ef0c], eax
call edi
push str.dsound.dll
mov dword [0x57ef04], eax
call edi
push str.GetLastInputInfo
push str.user32.dll
mov dword [0x57ef08], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x57ef10], eax
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], 1
mov dword [esi + 0xb4], ebx
mov edx, dword [0x52f148]
push 8
xor ecx, ecx
push edx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x57], ecx
push eax
mov byte [ebp - 0x58], bl
mov dword [ebp - 0x53], ecx
call fcn.004e4080
lea ecx, [ebp - 0x58]
push ecx
call fcn.004e1f33
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x8c], eax
je 0x4767fe
mov edx, dword [0x52f148]
add edx, 8
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4767e8
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x90]
call fcn.00408ff0
push 0x100
lea edx, [ebp - 0x160]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x160]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476827
sub eax, edx
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.0046ae40
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x3a0]
mov byte [ebp - 4], 0x1b
call fcn.00408e40
mov eax, dword [ebp - 0x34]
mov edi, 0x10
cmp eax, edi
jb 0x47687e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0x19
jb 0x4768a0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [esi + 0x2ec], eax
mov byte [esi + 0x310], bl
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x2f8], eax
mov eax, str.Product
mov byte [esi + 0x2f0], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4768d0
sub eax, edx
push eax
push str.Product
lea ecx, [esi + 8]
call fcn.00408ff0
mov eax, str.SexyApp
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4768f0
sub eax, edi
push eax
push str.SexyApp
lea ecx, [esi + 0x24]
call fcn.00408ff0
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov byte [esi + 0x2f1], bl
mov dword [esi + 0x5c], 0x280
mov dword [esi + 0x60], 0x1e0
mov byte [esi + 0x2f2], 1
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x324], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x488], 0xa
mov dword [esi + 0x484], ebx
mov dword [esi + 0x494], ebx
mov dword [esi + 0x49c], ebx
mov dword [esi + 0x4a0], ebx
mov dword [esi + 0x4a4], 0x3ff00000
mov byte [esi + 0x4a8], bl
mov dword [esi + 0x4ac], ebx
mov byte [esi + 0x4b0], bl
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0x4bc], ebx
mov byte [esi + 0x4d8], bl
mov byte [esi + 0x4d9], bl
mov byte [esi + 0x4da], bl
mov byte [esi + 0x4db], bl
mov byte [esi + 0x4dc], 1
mov byte [esi + 0x4dd], bl
mov byte [esi + 0x502], bl
mov byte [esi + 0x503], bl
mov byte [esi + 0x458], bl
mov byte [esi + 0x459], bl
mov byte [esi + 0x500], bl
mov byte [esi + 0x501], bl
mov byte [esi + 0x504], bl
mov dword [esi + 0x514], ebx
mov dword [esi + 0x518], ebx
mov dword [esi + 0x508], ebx
mov dword [esi + 0x50c], ebx
mov byte [esi + 0x510], bl
call edi
mov dword [esi + 0x4b4], eax
call edi
push 0xfc
mov dword [esi + 0x4b8], eax
mov byte [esi + 0x505], 1
mov byte [esi + 0x2f3], bl
mov byte [esi + 0x2f4], bl
mov byte [esi + 0x4de], 1
mov byte [esi + 0x318], bl
call fcn.004d1915
add esp, 4
mov dword [ebp - 0x5c], eax
cmp eax, ebx
mov byte [ebp - 4], 0x1c
je 0x476a4e
mov ecx, eax
call fcn.00482a80
jmp 0x476a50
xor eax, eax
mov dword [esi + 0x314], eax
mov eax, str.ingame
mov byte [ebp - 4], 0x19
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov byte [esi + 0xd8], bl
mov byte [esi + 0x2d9], bl
mov byte [esi + 0x506], bl
mov byte [esi + 0x3d4], bl
mov byte [esi + 0x2f5], bl
mov dword [esi + 0x400], ebx
mov byte [esi + 0x511], 1
mov byte [esi + 0x2da], bl
mov dword [esi + 0x360], ebx
mov byte [esi + 0x380], bl
lea edi, [eax + 1]
jmp 0x476ab0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476ab0
sub eax, edi
push eax
push str.ingame
lea ecx, [esi + 0x364]
call fcn.00408ff0
mov ecx, 0x33333333
mov eax, 0x3feb3333
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x470], ebx
mov dword [esi + 0x474], ebx
mov dword [esi + 0x4f0], ebx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x4e4], eax
mov ecx, 6
lea edi, [esi + 0x3bc]
xor eax, eax
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4f4], ebx
mov dword [esi + 0x4ec], ebx
mov byte [esi + 0x4f8], bl
mov dword [esi + 0x4e0], ebx
mov dword [esi + 0x4fc], ebx
mov byte [esi + 0x320], bl
mov byte [esi + 0x58c], bl
mov dword [esi + 0x5dc], ebx
mov byte [esi + 0x88], bl
mov byte [esi + 0x89], bl
mov byte [esi + 0x58d], bl
mov byte [esi + 0x58e], bl
mov byte [esi + 0x58f], bl
mov byte [esi + 0x590], bl
mov dword [esi + 0x594], ecx
mov dword [esi + 0x598], 0xe
rep stosd dword es:[edi], eax
lea esp, [esp]
mov byte [esi + eax + 0xd9], al
inc eax
cmp eax, 0x100
jl 0x476b90
or eax, 0xffffffff
lea edi, [esi + 0x1d9]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov eax, 0x501e14
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476bc4
sub eax, edi
push eax
push 0x501e14
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov edi, 0xf
mov eax, str.DIALOG_BUTTON_OK
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476bf5
sub eax, edx
push eax
push str.DIALOG_BUTTON_OK
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476c31
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476c50
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
mov eax, 0x5054b0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476c61
sub eax, edx
push eax
push 0x5054b0
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.DIALOG_BUTTON_CANCEL
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476c90
sub eax, edx
push eax
push str.DIALOG_BUTTON_CANCEL
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x20
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476ccc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476ceb
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
mov eax, str.Update_Check
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476d00
sub eax, edx
push eax
push str.Update_Check
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.UPDATE_CHECK_TITLE
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476d30
sub eax, edx
push eax
push str.UPDATE_CHECK_TITLE
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x22
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476d6c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476d8b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
mov eax, str.Contacting_PopCap.com_to_determine_if_there_are_any_updates_available_for_this_product_...
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476da0
sub eax, edx
push eax
push str.Contacting_PopCap.com_to_determine_if_there_are_any_updates_available_for_this_product_...
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.UPDATE_CHECK_BODY
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476dd0
sub eax, edx
push eax
push str.UPDATE_CHECK_BODY
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476e0c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476e2b
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
mov eax, str.Up_to_Date
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476e40
sub eax, edx
push eax
push str.Up_to_Date
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.UP_TO_DATE_TITLE
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476e70
sub eax, edx
push eax
push str.UP_TO_DATE_TITLE
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476eac
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476ecb
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
mov eax, str.There_are_no_updates_available_for_this_product_at_this_time.
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476ee0
sub eax, edx
push eax
push str.There_are_no_updates_available_for_this_product_at_this_time.
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.UP_TO_DATE_BODY
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476f10
sub eax, edx
push eax
push str.UP_TO_DATE_BODY
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476f4c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x476f6b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
mov eax, str.New_Version
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476f80
sub eax, edx
push eax
push str.New_Version
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.NEW_VERSION_TITLE
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476fb0
sub eax, edx
push eax
push str.NEW_VERSION_TITLE
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2a
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x476fec
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x47700b
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
mov eax, str.There_is_an_update_available_for_this_product.__Would_you_like_to_visit_the_web_site_to_download_it_
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477020
sub eax, edx
push eax
push str.There_is_an_update_available_for_this_product.__Would_you_like_to_visit_the_web_site_to_download_it_
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov eax, str.NEW_VERSION_BODY
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477050
sub eax, edx
push eax
push str.NEW_VERSION_BODY
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x2c
call fcn.00471b20
cmp dword [ebp - 0x18], 0x10
jb 0x47708c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x19
jb 0x4770ab
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
mov eax, str.popcap.dmo
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4770b3
sub eax, edx
push eax
push str.popcap.dmo
lea ecx, [esi + 0x520]
call fcn.00408ff0
mov byte [esi + 0x51d], bl
mov byte [esi + 0x51c], bl
mov dword [esi + 0x560], ebx
mov dword [esi + 0x564], ebx
mov dword [esi + 0x568], ebx
mov byte [esi + 0x56c], 1
mov byte [esi + 0x57c], bl
mov dword [esi + 0x55c], ebx
mov dword [esi + 0x570], ebx
mov dword [esi + 0x574], 0xffffffff
push 0xb4
mov dword [esi + 0x578], ebx
call fcn.004d1915
add esp, 4
mov dword [ebp - 0x5c], eax
cmp eax, ebx
mov byte [ebp - 4], 0x2d
je 0x477136
push esi
mov ecx, eax
call fcn.00491720
jmp 0x477138
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x5d8], eax
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
mov dword [0x57f3e8], esi
mov eax, esi
pop esi
pop ebx
call fcn.004e19df
mov esp, ebp
pop ebp
ret