Function at 0x417a46
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 0x417a65
xor eax, eax
jmp 0x417d2c
xor edi, edi
cmp dword [0x532a54], 0
jne 0x417a79
cmp dword [0x532a5c], 0
je 0x417a85
push 0xf
call sub.USER32.dll_GetSysColor
mov dword [ebp - 8], eax
jmp 0x417a8f
push 5
call sub.USER32.dll_GetSysColor
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x417ab8
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 0x417ac2
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 0x417b03
cmp dword [ebp + 0x10], 0
jne 0x417b03
push 0x84
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x417cf4
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 0x417c12
push esi
call fcn.00442321
test eax, eax
je 0x417b56
cmp dword [eax + 0xff0], 0
je 0x417b56
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 0x417b69
cmp dword [ebp + 0x10], 0
jne 0x417ba5
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 0x417bc6
test edi, edi
je 0x417bb5
push edi
call sub.GDI32.dll_DeleteObject
push ebx
push esi
call sub.USER32.dll_ReleaseDC
mov eax, 1
jmp 0x417d2c
cmp dword [ebp + 0x10], 0
je 0x417cf4
cmp dword [ebp + 0xc], 0
je 0x417be9
push 0
push 0x84
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
cmp dword [ebp + 0x14], 0
je 0x417c03
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 0x417c3b
test edi, edi
je 0x417c1c
push edi
call sub.GDI32.dll_DeleteObject
cmp dword [ebp + 0x14], 0
je 0x417c2d
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 0x417d2c
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
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.004178ea
test eax, eax
je 0x417cb2
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 0x417cd0
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 0x417cf4
push 0
push dword [ebp - 4]
push ebx
call sub.GDI32.dll_SelectPalette
cmp dword [ebp + 0x1c], 0
je 0x417d16
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.00417745
test edi, edi
je 0x417d20
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 0x18