Function at 0x4432f0
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 [0x4945d0], ecx
je 0x443352
cmp ebx, ecx
je 0x443352
cmp dword [esp + 0x10], ecx
je 0x443352
cmp eax, ecx
je 0x443352
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
mov dword [esp + 0x14], eax
jmp 0x443358
mov dword [0x4945d0], ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4433ac
cmp dword [esp + 0x14], 0
jne 0x4433ac
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4433ac
push 0x480888
call fcn.004574ae
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 [0x4945d0], 0
jne 0x443484
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x4433cc
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 0x47ffa0
push esi
mov ebx, eax
call fcn.0042f120
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.00429970
add dword [esi + 8], 0x10
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 8]
add esp, 0x10
test eax, eax
je 0x44345a
cmp eax, 1
jne 0x44341f
cmp dword [ecx - 0x10], 0
je 0x44345a
cmp eax, 3
jne 0x443432
fld qword [ecx - 0x10]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x44345a
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 0x4432c0
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 0x44349c
cmp eax, 0x47d838
je 0x44349c
cmp dword [eax + 8], 0
jg 0x4434a3
mov eax, dword [0x496214]
jmp 0x4434b1
push 0
push 3
mov eax, esi
call fcn.0041d410
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 [0x4945d0], 0
jne 0x443608
cmp dword [0x496228], 0
jne 0x443608
push 0x4000
push esi
call fcn.0045d450
add esp, 8
cmp eax, 0xffffffff
je 0x4433c3
push 1
push eax
call fcn.0045b8d8
push 0x47ce14
push 1
call fcn.0045db4a
push 0
push 4
push 0
push eax
mov dword [0x496228], eax
call fcn.0045c932
mov esi, dword [0x496228]
mov ecx, 8
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
call fcn.00458ec0
lea edi, [eax + 0x20]
push 0x4000
mov ecx, 8
lea esi, [esp + 0x4c]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0045d450
push 0
push eax
call fcn.0045b8d8
push 0x47e9fc
push 0
call fcn.0045db4a
push 0
push 4
push 0
push eax
mov dword [0x49622c], eax
call fcn.0045c932
mov esi, dword [0x49622c]
mov ecx, 8
lea edi, [esp + 0x70]
add esp, 0x48
rep movsd dword es:[edi], dword [esi]
call fcn.00458ec0
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.0045d450
push 2
push eax
call fcn.0045b8d8
push 0x47ce14
push 2
call fcn.0045db4a
push 0
push 4
push 0
push eax
mov dword [0x496230], eax
call fcn.0045c932
mov esi, dword [0x496230]
mov ecx, 8
lea edi, [esp + 0x50]
add esp, 0x28
rep movsd dword es:[edi], dword [esi]
call fcn.00458ec0
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