Function at 0x44d6c0
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
xor eax, eax
push 0xfffffffffffffff6
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x32000a
call ebx
mov edi, eax
push 0xfffffffffffffff5
mov dword [esp + 0x10], edi
call ebx
mov esi, eax
push 0xfffffffffffffff4
mov dword [esp + 0x14], esi
call ebx
cmp dword [0x4a2678], 0
mov dword [esp + 0x14], eax
je 0x44d717
test edi, edi
je 0x44d717
test esi, esi
je 0x44d717
test eax, eax
jne 0x44d89e
mov edi, dword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
mov dword [0x4a2678], 0
call edi
mov esi, eax
test esi, esi
je 0x44d780
push 0x48dd78
call fcn.0046433e
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.DLL_FlushConsoleInputBuffer]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x44d75d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x44d766
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
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 0x44d793
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov edi, 0x48bcf8
mov eax, 0xffffd8ee
call fcn.0041d2b0
mov edi, esi
mov esi, dword [edi + 8]
add esi, 0xfffffff0
cmp esi, 0x48a938
je 0x44d868
mov eax, dword [esi + 8]
cmp eax, 4
je 0x44d80a
cmp eax, 3
jne 0x44d868
cmp eax, 4
je 0x44d80a
cmp eax, 7
jne 0x44d7e7
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x44d7e7
add eax, 0x18
jmp 0x44d80f
call fcn.0042f140
test eax, eax
je 0x44d80f
mov esi, edi
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x44d804
mov eax, esi
call fcn.0042ef10
mov esi, dword [esi + 8]
sub esi, 0x10
mov eax, dword [esi]
add eax, 0x10
mov esi, 0x48bc48
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x44d834
test cl, cl
je 0x44d830
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x44d834
add eax, 2
add esi, 2
test cl, cl
jne 0x44d814
xor eax, eax
jmp 0x44d839
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44d868
push eax
mov eax, dword [esp + 0x14]
push eax
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 0x44d690
call dword [sym.imp.KERNEL32.DLL_SetConsoleCtrlHandler]
mov esi, dword [esp + 0x10]
add dword [edi + 8], 0xfffffff0
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xfffffffffffffff6
call ebx
push 0xfffffffffffffff5
mov dword [esp + 0x10], eax
call ebx
push 0xfffffffffffffff4
mov dword [esp + 0x14], eax
call ebx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x44d8a1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
add eax, 0x20
cmp eax, dword [edi + 8]
jae 0x44d8b9
cmp eax, 0x48a938
je 0x44d8b9
cmp dword [eax + 8], 0
jg 0x44d8c0
mov eax, dword [0x4a4334]
jmp 0x44d8f3
mov eax, dword [ebp + 8]
push 3
xor ebx, ebx
call fcn.0041cfb0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44d8ee
mov ecx, dword [0x48aa58]
mov esi, dword [ebp + 8]
push ecx
lea edi, [eax + 3]
call fcn.0041f8a0
mov esi, dword [esp + 0x14]
add esp, 4
mov edi, dword [ebp + 8]
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_SetConsoleTitleA]
lea edx, [esp + 0x18]
push edx
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetConsoleWindowInfo]
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.DLL_SetConsoleMode]
push 0xa7
push eax
call ebx
push 3
push esi
call ebx
cmp dword [0x4a2678], 0
jne 0x44da1e
cmp dword [0x4a4348], 0
jne 0x44da1e
push 0x4000
push esi
call fcn.0046957f
add esp, 8
cmp eax, 0xffffffff
je 0x44d78a
push 1
push eax
call fcn.00467a78
push 0x489f3c
push 1
call fcn.00469e12
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x30]
mov dword [0x4a4348], eax
rep movsd dword es:[edi], dword [esi]
call fcn.004640b1
lea edi, [eax + 0x20]
mov ecx, 8
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
push 0x4000
push ecx
call fcn.0046957f
push 0
push eax
call fcn.00467a78
push 0x48dd7c
push 0
call fcn.00469e12
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x48]
mov dword [0x4a434c], eax
rep movsd dword es:[edi], dword [esi]
call fcn.004640b1
mov edx, dword [esp + 0x3c]
mov edi, eax
push 0x4000
mov ecx, 8
lea esi, [esp + 0x4c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0046957f
push 2
push eax
call fcn.00467a78
push 0x489f3c
push 2
call fcn.00469e12
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x60]
add esp, 0x40
mov dword [0x4a4350], eax
rep movsd dword es:[edi], dword [esi]
call fcn.004640b1
lea edi, [eax + 0x40]
mov ecx, 8
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetACP]
push eax
push str.chcp__d
push edi
call fcn.0041d1c0
add esp, 0xc
push eax
call fcn.0046433e
add dword [edi + 8], 0xfffffff0
add esp, 4
push 0x48dd78
call fcn.0046433e
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret