Function at 0x428cc0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x5c]
test esi, esi
mov dword [esp + 4], 0
jne 0x428cdb
xor eax, eax
pop esi
add esp, 0x50
ret
mov eax, dword [esp + 0x60]
test eax, eax
push ebp
mov ebp, dword [esp + 0x5c]
push edi
jne 0x428d00
push esi
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42900c
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
jne 0x428d14
pop edi
pop ebp
pop esi
add esp, 0x50
ret
push ebx
lea eax, [esp + 0x28]
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [esp + 0x2c]
push ecx
push ebp
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub esi, ecx
sub edx, eax
mov dword [esp + 0x20], esi
lea esi, [esi + ecx + 2]
push esi
mov dword [esp + 0x20], edx
lea edx, [edx + eax + 2]
mov dword [esp + 0x18], ecx
push edx
add ecx, 0xfffffffe
mov dword [esp + 0x20], eax
push ecx
add eax, 0xfffffffe
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x24], ebx
je 0x429003
push ebp
call fcn.00466d80
add esp, 4
test eax, eax
je 0x428da5
mov eax, dword [eax + 0x47f0]
test eax, eax
je 0x428da5
push 1
push eax
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x70]
test eax, eax
jg 0x428dbd
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x428e34
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
dec esi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
mov eax, 4
add ecx, eax
add esi, eax
mov eax, dword [esp + 0x7c]
dec edx
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x28], eax
mov eax, 4
inc esi
sub edx, eax
sub ecx, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x70], 2
je 0x428ff3
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x428ff3
mov esi, dword [esp + 0x68]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push ebp
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x428e71
push 0
push esi
push ebp
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x48]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00428b60
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
je 0x428eef
xor eax, eax
push eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
push edx
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
call fcn.004287c0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], esi
je 0x428ef3
mov dword [esp + 0x6c], esi
jmp 0x428ef3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
xor eax, eax
cmp ecx, eax
je 0x428f65
cmp esi, eax
jne 0x428f3e
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x4c], edx
call fcn.004286c0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x428f65
mov edx, eax
mov dword [esp + 0x6c], edx
mov esi, eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esp + 0x20]
push ecx
push ebp
push ebx
push edx
push eax
push edi
call fcn.0055c7d0
add esp, 0x20
test eax, eax
jne 0x428fb9
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x428fb5
mov ecx, dword [esp + 0x6c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x68]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x428fe0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
push edi
call fcn.004289f0
add esp, 0x1c
test esi, esi
je 0x428feb
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x50
ret