Function at 0x42fabe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x14]
mov dword [0x55f000], eax
push esi
call sub.USER32.dll_GetDC
mov ebx, eax
test ebx, ebx
jne 0x42fae5
xor eax, eax
jmp 0x42fd6b
xor edi, edi
push 0xf
call sub.USER32.dll_GetSysColor
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x42fb1a
lea eax, [ebp - 0x48]
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 - 0x48]
push edx
push esi
push 0
call sub.USER32.dll_MapWindowPoints
jmp 0x42fb24
lea ecx, [ebp - 0x48]
push ecx
push esi
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
je 0x42fb65
cmp dword [ebp + 0x10], 0
jne 0x42fb65
push 0x8c
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x42fd2b
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
add edx, 2
push edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
add ecx, 2
push ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffe
push eax
mov edx, dword [ebp - 0xc]
add edx, 0xfffffffe
push edx
call sub.GDI32.dll_CreateRectRgn
mov edi, eax
test edi, edi
je 0x42fc62
push esi
call fcn.0045d5fc
test eax, eax
je 0x42fbb8
cmp dword [eax + 0xff0], 0
je 0x42fbb8
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 0x42fbcb
cmp dword [ebp + 0x10], 0
jne 0x42fc07
dec dword [ebp - 0x48]
dec dword [ebp - 0x44]
add dword [ebp - 0x3c], 4
add dword [ebp - 0x40], 4
push dword [ebp - 4]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
push ebx
call sub.USER32.dll_FillRect
push dword [ebp - 0x20]
call sub.GDI32.dll_DeleteObject
inc dword [ebp - 0x48]
inc dword [ebp - 0x44]
sub dword [ebp - 0x3c], 4
sub dword [ebp - 0x40], 4
cmp dword [ebp + 0x18], 2
jne 0x42fc30
test edi, edi
je 0x42fc1f
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 0x42fd6b
cmp dword [ebp + 0x10], 0
je 0x42fd2b
cmp dword [ebp + 0xc], 0
je 0x42fc53
push 0
push 0x8c
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push ebx
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42fc82
test edi, edi
je 0x42fc74
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
xor eax, eax
jmp 0x42fd6b
lea edx, [ebp - 0x38]
push edx
push 0x18
push dword [ebp + 0x10]
call sub.GDI32.dll_GetObjectA
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 8], eax
push dword [ebp + 0x20]
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x38]
push edx
call fcn.0042f959
test eax, eax
je 0x42fcfa
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
call fcn.00429dda
push 0xcc0020
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push ebx
call sub.GDI32.dll_StretchBlt
jmp 0x42fd18
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push ebx
call sub.GDI32.dll_BitBlt
push dword [ebp - 8]
push dword [ebp - 0x1c]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteDC
cmp dword [ebp + 0x1c], 0
je 0x42fd4d
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push esi
call fcn.0042f7b4
test edi, edi
je 0x42fd5f
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