Function at 0x10006743
Capabilities:
Set console window title

Disassembly:
push 0x58
mov eax, 0x10075ed7
call fcn.1007567a
and dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call esi
push eax
push 0x10080f54
lea eax, [ebp - 0x34]
push str.CONOUT_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
add esp, 0x14
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
test eax, eax
je 0x10006795
push 0x10080f60
call edi
pop ecx
jmp 0x100067a6
push 0
push 4
push 0
push 1
call esi
pop ecx
push eax
call ebx
add esp, 0x10
push 0
call esi
push eax
push 0x10080f6c
lea eax, [ebp - 0x34]
push str.CONIN_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 0x14
test eax, eax
je 0x100067d2
push 0x10080f60
call edi
pop ecx
xor edi, edi
jmp 0x100067e2
xor edi, edi
push edi
push 4
push edi
push edi
call esi
pop ecx
push eax
call ebx
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push str.EMU_Console
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov esi, 0xfde9
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push edi
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_bool_]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [esp], str.en_US.UTF_8
call fcn.10007bba
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x18]
call fcn.100056a2
lea ecx, [ebp - 0x4c]
call fcn.1000322b
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100022ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100022ce
test ebx, ebx
je 0x100068fc
push str.Zoo_Tycoon
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call esi
push 1
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
and eax, 0xdef7ffff
push eax
push 0xfffffffffffffff0
push ebx
call edi
push 0xffffffffffffffec
push ebx
call esi
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
push ebx
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100068fc
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add eax, 0x1e
push 0x40
push 0xc8
push 0x190
push eax
add ecx, 0xfffffe70
push ecx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.Welcome_to_the_EMU_command_console._nAuthor:_Eric__Goosifer__Galvan._nSpecial_thanks_to:_Finn__wowjinxy__Jay_n_nPlease_enter_your_command_below._Enter_help_for_a_list_of_commands__or_exit_to_exit._n_n
lea ecx, [ebp - 0x64]
call fcn.10007bba
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 2
push eax
call fcn.10006630
pop ecx
lea ecx, [ebp - 0x64]
call fcn.1000322b
mov eax, ebx
call fcn.10075638
ret