Function at 0x444e60
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
push edi
mov esi, eax
xor eax, eax
push 0xfffffffffffffff6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x32000a
call ebx
push 0xfffffffffffffff5
mov dword [esp + 0x14], eax
call ebx
push 0xfffffffffffffff4
mov edi, eax
call ebx
cmp dword [0x496660], 0
mov dword [esp + 0x14], eax
je 0x444eb4
cmp dword [esp + 0x10], 0
je 0x444eb4
test edi, edi
je 0x444eb4
test eax, eax
jne 0x444fac
mov dword [0x496660], 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edi, eax
test edi, edi
je 0x444f1b
push 0x4829ec
call fcn.0045937e
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x444ef8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x444f01
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x444f2e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [esp + 0x10], eax
mov edi, str._STUDIO_INVOKED
mov eax, 0xffffd8ee
call fcn.0041ae70
push 0xffffffffffffffff
push esi
call fcn.0041ab70
mov edi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x444f82
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 0
push 0
push 1
push 0xf060
push eax
call dword [sym.imp.USER32.dll_ModifyMenuA]
push 1
push 0x444e30
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
add dword [esi + 8], 0xfffffff0
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xfffffffffffffff6
call ebx
push 0xfffffffffffffff5
mov dword [esp + 0x14], eax
call ebx
push 0xfffffffffffffff4
mov edi, eax
call ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
add eax, 0x20
cmp eax, dword [esi + 8]
jae 0x444fc4
cmp eax, 0x47f920
je 0x444fc4
cmp dword [eax + 8], 0
jg 0x444fcb
mov eax, dword [0x498234]
jmp 0x444fd9
push 0
push 3
mov eax, esi
call fcn.0041d990
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea edx, [esp + 0x18]
push edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0xa7
push eax
call esi
push 3
push edi
call esi
cmp dword [0x496660], 0
jne 0x445134
cmp dword [0x498248], 0
jne 0x445134
push 0x4000
push edi
call fcn.0045f4e3
add esp, 8
cmp eax, 0xffffffff
je 0x444f25
push 1
push eax
call fcn.0045db78
push 0x47ee6c
push 1
call fcn.0045fbdd
push 0
push 4
push 0
push eax
mov dword [0x498248], eax
call fcn.0045e9c5
mov esi, dword [0x498248]
mov ecx, 8
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
call fcn.00459055
lea edi, [eax + 0x20]
mov ecx, 8
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push 0x4000
push ecx
call fcn.0045f4e3
push 0
push eax
call fcn.0045db78
push 0x480af4
push 0
call fcn.0045fbdd
push 0
push 4
push 0
push eax
mov dword [0x49824c], eax
call fcn.0045e9c5
mov esi, dword [0x49824c]
mov ecx, 8
lea edi, [esp + 0x68]
add esp, 0x48
rep movsd dword es:[edi], dword [esi]
call fcn.00459055
mov edx, dword [esp + 0x14]
mov edi, eax
push 0x4000
mov ecx, 8
lea esi, [esp + 0x24]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0045f4e3
push 2
push eax
call fcn.0045db78
push 0x47ee6c
push 2
call fcn.0045fbdd
push 0
push 4
push 0
push eax
mov dword [0x498250], eax
call fcn.0045e9c5
mov esi, dword [0x498250]
mov ecx, 8
lea edi, [esp + 0x48]
add esp, 0x28
rep movsd dword es:[edi], dword [esi]
call fcn.00459055
lea edi, [eax + 0x40]
mov ecx, 8
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret