Function at 0x441fa0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
xor eax, eax
push 0xfffffffffffffff6
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x32000a
call edi
push 0xfffffffffffffff5
mov ebx, eax
call edi
push 0xfffffffffffffff4
mov dword [esp + 0x14], eax
call edi
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [0x4935d0], ecx
je 0x442002
cmp ebx, ecx
je 0x442002
cmp dword [esp + 0x10], ecx
je 0x442002
cmp eax, ecx
je 0x442002
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
mov dword [esp + 0x14], eax
jmp 0x442008
mov dword [0x4935d0], ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x44205c
cmp dword [esp + 0x14], 0
jne 0x44205c
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x44205c
push 0x47f7b4
call fcn.0045608e
mov esi, dword [esp + 0x20]
add esp, 4
push 5
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
cmp dword [0x4935d0], 0
jne 0x442134
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x44207c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0xf
push 0x47ef30
push esi
mov ebx, eax
call fcn.0042e590
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esi + 0x40]
push eax
push esi
mov dword [esp + 0x40], 4
call fcn.00428de0
add dword [esi + 8], 0x10
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 8]
add esp, 0x10
test eax, eax
je 0x44210a
cmp eax, 1
jne 0x4420cf
cmp dword [ecx - 0x10], 0
je 0x44210a
cmp eax, 3
jne 0x4420e2
fld qword [ecx - 0x10]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x44210a
push 0
push ebx
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 0x441f70
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
add dword [esi + 8], 0xfffffff0
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xfffffffffffffff6
call edi
push 0xfffffffffffffff5
mov ebx, eax
call edi
push 0xfffffffffffffff4
mov dword [esp + 0x14], eax
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
add eax, 0x20
cmp eax, dword [esi + 8]
jae 0x44214c
cmp eax, 0x47c808
je 0x44214c
cmp dword [eax + 8], 0
jg 0x442153
mov eax, dword [0x495214]
jmp 0x442161
push 0
push 3
mov eax, esi
call fcn.0041cbd0
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0xb7
push ebx
call edi
push 3
push esi
call edi
cmp dword [0x495228], 0
jne 0x4422ab
push 0x4000
push esi
call fcn.0045c0c7
add esp, 8
cmp eax, 0xffffffff
je 0x442073
push 1
push eax
call fcn.0045a4b8
push 0x47bde0
push 1
call fcn.0045c7c1
push 0
push 4
push 0
push eax
mov dword [0x495228], eax
call fcn.0045b5a9
mov esi, dword [0x495228]
mov ecx, 8
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
call fcn.00457aa0
lea edi, [eax + 0x20]
push 0x4000
mov ecx, 8
lea esi, [esp + 0x4c]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0045c0c7
push 0
push eax
call fcn.0045a4b8
push 0x47d9d4
push 0
call fcn.0045c7c1
push 0
push 4
push 0
push eax
mov dword [0x49522c], eax
call fcn.0045b5a9
mov esi, dword [0x49522c]
mov ecx, 8
lea edi, [esp + 0x70]
add esp, 0x48
rep movsd dword es:[edi], dword [esi]
call fcn.00457aa0
mov edi, eax
mov ecx, 8
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push 0x4000
push ecx
call fcn.0045c0c7
push 2
push eax
call fcn.0045a4b8
push 0x47bde0
push 2
call fcn.0045c7c1
push 0
push 4
push 0
push eax
mov dword [0x495230], eax
call fcn.0045b5a9
mov esi, dword [0x495230]
mov ecx, 8
lea edi, [esp + 0x50]
add esp, 0x28
rep movsd dword es:[edi], dword [esi]
call fcn.00457aa0
lea edi, [eax + 0x40]
mov ecx, 8
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret