Function at 0x4651b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
push 0xf
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4d4148]
lea ecx, [ebp - 0x58]
push ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], 0x465150
mov dword [ebp - 0x34], str.SEHWindow
mov dword [ebp - 0x38], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
push edi
push 0x82ca0000
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x190
mov dword [ebp - 8], 0x12c
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [0x4d4148]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
push edi
push eax
push edi
push edi
sub ecx, edx
mov edx, dword [ebp - 0xc]
push ecx
sub edx, ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
push edx
push 0x40
push 0x40
push 0x82ca0000
push str.Fatal_Error_
push str.SEHWindow
push edi
call ebx
push edi
mov esi, eax
mov eax, dword [0x4d4148]
push eax
push edi
push esi
push 0x46
push 0x180
push 8
push 8
push 0x50000804
push str.An_unexpected_error_has_occured___The_information_below_will_help_us_at_PopCap_locate_and_fix_the_problem._Please_help_us_out_by_copying_the_text_below_and_emailing_it_to_us_at_bugs_popcap.com.__Thank_you.
push str.EDIT
push edi
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 9
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 4]
mov ebx, eax
neg ebx
push ecx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Arial
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4652f2
mov eax, dword [eax + 4]
jmp 0x4652f5
add eax, 4
mov edx, dword [0x4d4148]
push 0
push edx
push 0
push esi
push 0xb6
push 0x180
push 0x4e
push 8
push 0x50a00804
push eax
push str.EDIT
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push edi
neg ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Courier_New
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4d4148]
push 0
push ecx
push 0
push esi
push 0x18
push 0x180
push 0x10c
push 8
push 0x50000001
push str.Exit
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 1
push esi
mov dword [0x508980], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call esi
test eax, eax
jle 0x465401
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x30]
push eax
call edi
lea ecx, [ebp - 0x30]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call esi
test eax, eax
jg 0x4653e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret