Function at 0x40161f
Capabilities:
Hide graphical window
Log keystrokes via polling
Set console window title

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
call sym.___main
mov dword [esp], str.3334333233373339333233303332333833363333333233393334343433353333333633393337333433363339333233303334343433363331333633313337333933363331333634353334343433343333
call sym._SetConsoleTitleA_4
sub esp, 4
mov dword [esp], str.Simple_Window_Visibility_Controller___Made_by_MaayanM.C__AKA_Ne_guy_
call sym._SetConsoleTitleA_4
sub esp, 4
mov dword [esp + 4], str.Enter_the_programs_title:
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x3c]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], sym.imp.libstdc_6.dll_std::cin
call sym.std::basic_istream_char__std::char_traits_char____std::getline_char__std::char_traits_char___std::allocator_char____std::basic_istream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea eax, [ebp - 0x3c]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._FindWindowA_8
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4016e4
call sym.clrscr__
mov dword [esp + 4], str.ERROR:_Window_was_not_found.
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], 0x7d0
call sym._Sleep_4
sub esp, 4
call sym.clrscr__
mov edi, 0
jmp 0x4017d8
mov dword [esp + 4], str._n_H_ide____S_how___E_X_it_
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym._getch
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x21], al
mov dword [esp], 0x48
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
test al, al
je 0x40175b
mov si, 8
movzx eax, si
or eax, 0x40000
mov esi, eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
mov dword [esp], str.Window_Hidden.
call sym.writeat_char_const___COORD__unsigned_short_
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x4016f8
mov dword [esp], 0x53
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
test al, al
je 0x4017b3
mov bx, 8
movzx eax, bx
or eax, 0x40000
mov ebx, eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], ebx
mov dword [esp], str.Window_Shown.
call sym.writeat_char_const___COORD__unsigned_short_
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x4016f8
mov dword [esp], 0x58
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
test al, al
je 0x4016f8
call sym.clrscr__
mov edi, 1
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.00401888
cmp edi, 1
nop
jmp 0x401656