Function at 0x41f2c7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
call sub.USER32.dll_GetDC
mov ebx, eax
test ebx, ebx
jne 0x41f2e6
xor eax, eax
jmp 0x41f5c8
xor edi, edi
cmp dword [0x556164], 0
jne 0x41f2fa
cmp dword [0x55616c], 0
je 0x41f306
push 0xf
call sub.USER32.dll_GetSysColor
mov dword [ebp - 8], eax
jmp 0x41f310
push 5
call sub.USER32.dll_GetSysColor
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x41f339
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0xc]
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x4c]
push edx
push esi
push 0
call sub.USER32.dll_MapWindowPoints
jmp 0x41f343
lea ecx, [ebp - 0x4c]
push ecx
push esi
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0xc], 0
je 0x41f384
cmp dword [ebp + 0x10], 0
jne 0x41f384
push 0x84
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x41f588
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
add edx, 2
push edx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffe
push eax
mov edx, dword [ebp - 0x10]
add edx, 0xfffffffe
push edx
call sub.GDI32.dll_CreateRectRgn
mov edi, eax
test edi, edi
je 0x41f49b
push esi
call fcn.0044cc59
test eax, eax
je 0x41f3d7
cmp dword [eax + 0xff0], 0
je 0x41f3d7
push 1
push dword [eax + 0xff0]
push edi
push edi
call sub.GDI32.dll_CombineRgn
push edi
push ebx
call sub.GDI32.dll_SelectClipRgn
cmp dword [ebp + 0x18], 0
jg 0x41f3ea
cmp dword [ebp + 0x10], 0
jne 0x41f426
dec dword [ebp - 0x4c]
dec dword [ebp - 0x48]
add dword [ebp - 0x40], 4
add dword [ebp - 0x44], 4
push dword [ebp - 8]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
push ebx
call sub.USER32.dll_FillRect
push dword [ebp - 0x24]
call sub.GDI32.dll_DeleteObject
inc dword [ebp - 0x4c]
inc dword [ebp - 0x48]
sub dword [ebp - 0x40], 4
sub dword [ebp - 0x44], 4
cmp dword [ebp + 0x18], 2
jne 0x41f44f
test edi, edi
je 0x41f43e
push 0
push ebx
call sub.GDI32.dll_SelectClipRgn
push edi
call sub.GDI32.dll_DeleteObject
push ebx
push esi
call sub.USER32.dll_ReleaseDC
mov eax, 1
jmp 0x41f5c8
cmp dword [ebp + 0x10], 0
je 0x41f588
cmp dword [ebp + 0xc], 0
je 0x41f472
push 0
push 0x84
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
cmp dword [ebp + 0x14], 0
je 0x41f48c
push 0
push dword [ebp + 0x14]
push ebx
call sub.GDI32.dll_SelectPalette
mov dword [ebp - 4], eax
push ebx
call sub.GDI32.dll_RealizePalette
push ebx
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41f4cc
test edi, edi
je 0x41f4ad
push 0
push ebx
call sub.GDI32.dll_SelectClipRgn
push edi
call sub.GDI32.dll_DeleteObject
cmp dword [ebp + 0x14], 0
je 0x41f4be
push 0
push dword [ebp - 4]
push ebx
call sub.GDI32.dll_SelectPalette
push ebx
push esi
call sub.USER32.dll_ReleaseDC
xor eax, eax
jmp 0x41f5c8
lea edx, [ebp - 0x3c]
push edx
push 0x18
push dword [ebp + 0x10]
call sub.GDI32.dll_GetObjectA
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0xc], eax
push dword [ebp + 0x20]
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x3c]
push edx
call fcn.0041f162
test eax, eax
je 0x41f546
push 3
push ebx
call sub.GDI32.dll_SetStretchBltMode
push 0
push 0
push 0
push ebx
call sub.GDI32.dll_SetBrushOrgEx
push 0xcc0020
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
call sub.GDI32.dll_StretchBlt
jmp 0x41f564
push 0xcc0020
push 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
call sub.GDI32.dll_BitBlt
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x20]
call sub.GDI32.dll_DeleteDC
cmp dword [ebp + 0x14], 0
je 0x41f588
push 0
push dword [ebp - 4]
push ebx
call sub.GDI32.dll_SelectPalette
cmp dword [ebp + 0x1c], 0
je 0x41f5aa
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push esi
call fcn.0041efbd
test edi, edi
je 0x41f5bc
push 0
push ebx
call sub.GDI32.dll_SelectClipRgn
push edi
call sub.GDI32.dll_DeleteObject
push ebx
push esi
call sub.USER32.dll_ReleaseDC
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c