Function at 0x428a90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x5c]
test esi, esi
mov dword [esp + 4], 0
jne 0x428aab
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 0x428ad0
push esi
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x428ddc
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
jne 0x428ae4
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 0x428dd3
push ebp
call fcn.00465ea0
add esp, 4
test eax, eax
je 0x428b75
mov eax, dword [eax + 0x1384]
test eax, eax
je 0x428b75
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 0x428b8d
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x428c04
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 0x428dc3
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x428dc3
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 0x428c41
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.00428930
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
je 0x428cbf
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.00428590
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], esi
je 0x428cc3
mov dword [esp + 0x6c], esi
jmp 0x428cc3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
xor eax, eax
cmp ecx, eax
je 0x428d35
cmp esi, eax
jne 0x428d0e
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.00428490
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x428d35
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.00553950
add esp, 0x20
test eax, eax
jne 0x428d89
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x428d85
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 0x428db0
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.004287c0
add esp, 0x1c
test esi, esi
je 0x428dbb
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