Function at 0x42f9c1
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 0x42f9e0
xor eax, eax
jmp 0x42fca7
xor edi, edi
xor eax, eax
mov dword [ebp - 4], eax
push 0xf
call sub.USER32.dll_GetSysColor
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x42fa1a
lea edx, [ebp - 0x4c]
push edx
push dword [ebp + 0xc]
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
lea ecx, [ebp - 0x4c]
push ecx
push esi
push 0
call sub.USER32.dll_MapWindowPoints
jmp 0x42fa24
lea eax, [ebp - 0x4c]
push eax
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 0x42fa65
cmp dword [ebp + 0x10], 0
jne 0x42fa65
push 0x8c
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x42fc67
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 0x42fb7c
push esi
call fcn.0045e050
test eax, eax
je 0x42fab8
cmp dword [eax + 0xff4], 0
je 0x42fab8
push 1
push dword [eax + 0xff4]
push edi
push edi
call sub.GDI32.dll_CombineRgn
push edi
push ebx
call sub.GDI32.dll_SelectClipRgn
cmp dword [ebp + 0x18], 0
jg 0x42facb
cmp dword [ebp + 0x10], 0
jne 0x42fb07
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 0x42fb30
test edi, edi
je 0x42fb1f
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 0x42fca7
cmp dword [ebp + 0x10], 0
je 0x42fc67
cmp dword [ebp + 0xc], 0
je 0x42fb53
push 0
push 0x8c
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
cmp dword [ebp + 0x14], 0
je 0x42fb6d
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 0x42fbad
test edi, edi
je 0x42fb8e
push 0
push ebx
call sub.GDI32.dll_SelectClipRgn
push edi
call sub.GDI32.dll_DeleteObject
cmp dword [ebp - 4], 0
je 0x42fb9f
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 0x42fca7
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.0042f85c
test eax, eax
je 0x42fc25
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
call fcn.00429b8b
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 0x42fc43
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 - 4], 0
je 0x42fc67
push 0
push dword [ebp - 4]
push ebx
call sub.GDI32.dll_SelectPalette
cmp dword [ebp + 0x1c], 0
je 0x42fc89
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.0042f6b7
test edi, edi
je 0x42fc9b
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