Function at 0x418d54
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
test dl, dl
je 0x418d69
add esp, 0xfffffff0
call fcn.004039f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004036b8
push 0x10
call sub.user32.dll_GetSystemMetrics
mov esi, eax
sar esi, 1
jns 0x418d87
adc esi, 0
push 0x10
call sub.user32.dll_GetSystemMetrics
mov edi, eax
sub edi, esi
sar edi, 1
jns 0x418d99
adc edi, 0
push 0x11
call sub.user32.dll_GetSystemMetrics
sub eax, 0x17
sar eax, 1
jns 0x418daa
adc eax, 0
mov dword [ebp - 8], eax
push 0x80000000
push edi
mov eax, dword [ebp - 8]
push eax
push esi
push 0x17
push 0
push 0
mov eax, dword [0x489664]
push eax
push 0
mov ecx, 0x418fb4
mov edx, 0x418fb8
mov eax, 8
call fcn.00407430
mov dword [ebx + 4], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClientRect
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
mov dword [ebx + 0xc], edi
push 0
push 0x20
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_CreateBitmap
push eax
push edi
call sub.gdi32.dll_SelectObject
mov dword [ebx + 0x14], eax
push 0x15
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_FillRect
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_InflateRect
push 0x10
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_FillRect
push 0xffff
push 1
push 0
call sub.gdi32.dll_CreatePen
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov edi, eax
push 0
push 2
push 2
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_MoveToEx
push 2
mov eax, dword [ebp - 0x10]
sub eax, 2
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [ebp - 0xc]
sub eax, 2
push eax
mov eax, dword [ebp - 0x10]
sub eax, 2
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
mov eax, dword [ebp - 0xc]
sub eax, 2
push eax
push 2
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
push 2
push 2
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
push 0x10
call sub.user32.dll_GetSysColor
push eax
push 1
push 0
call sub.gdi32.dll_CreatePen
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_SelectObject
push eax
call sub.gdi32.dll_DeleteObject
push 0
mov eax, dword [ebp - 0xc]
dec eax
push eax
push 3
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_MoveToEx
mov eax, dword [ebp - 0xc]
dec eax
push eax
mov eax, dword [ebp - 0x10]
dec eax
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
push 2
mov eax, dword [ebp - 0x10]
dec eax
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_LineTo
push edi
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_SelectObject
push eax
call sub.gdi32.dll_DeleteObject
push 1
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_SetBkMode
push 0x418fc0
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call sub.gdi32.dll_CreateFontA
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebx + 0x10], eax
xor edx, edx
mov eax, ebx
call fcn.00418fc8
push 5
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_ShowWindow
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0xc]
push eax
push 0x17
push esi
push 0
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_BitBlt
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x418fa8
call fcn.00403a4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret