Function at 0x420720
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
jne 0x420748
pop edi
pop esi
pop ebx
add esp, 0x48
ret 0x10
test ebx, ebx
mov eax, dword [0x5940f4]
mov dword [esp + 0x24], eax
je 0x42077b
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0x30]
push edx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x420787
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x30]
sub edi, ebp
sub ebx, eax
test ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
je 0x4207db
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x4207db
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4208f9
mov eax, dword [esp + 0x10]
lea edx, [ebx + eax + 2]
push edx
lea ecx, [edi + ebp + 2]
push ecx
add eax, 0xfffffffe
push eax
add ebp, 0xfffffffe
push ebp
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x4208f9
mov ecx, dword [esp + 0x14]
call fcn.00456f80
test eax, eax
je 0x420823
mov eax, dword [eax + 0xff0]
test eax, eax
je 0x420823
push 1
push eax
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ebp, dword [esp + 0x60]
test ebp, ebp
jg 0x42083b
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4208b2
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
dec eax
mov dword [esp + 0x30], eax
mov eax, 4
add edx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
add ecx, eax
dec edi
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc eax
mov dword [esp + 0x30], eax
mov eax, 4
inc edi
sub edx, eax
sub ecx, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
cmp ebp, 2
je 0x4208e9
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4208e9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4208dc
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x420911
push 0
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x48
ret 0x10
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0x40]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x54]
call fcn.004205d0
test eax, eax
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
je 0x42099e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
push ebx
mov edx, ebp
mov ecx, esi
call fcn.00419bd0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push edx
mov edx, dword [esp + 0x20]
push eax
push 0
push 0
push edi
push ebx
push ebp
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4209bb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ebp
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x28]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4209f2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
push ebx
push ebp
push eax
push ecx
push edx
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.00420460
push 0
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret 0x10