Function at 0x435500
Capabilities:
Set console window title

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
cmp dword [ebp + 4], 0xffffffff
jne 0x435716
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x435716
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call esi
push 0xfffffffffffffff6
mov dword [ebp + 4], eax
call esi
mov ecx, dword [ebp + 4]
mov dword [ebp], eax
mov word [esp + 0xc], 0x50
mov word [esp + 0xe], 0x1060
mov eax, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov al, byte [0x82023c]
xor ebx, ebx
cmp al, bl
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], bx
mov word [esp + 0xe], bx
jne 0x43558d
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x10]
push edx
push eax
push 0x332c0
push 0x1b
push ecx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [ebp + 4]
push 0x1b
push edx
jmp 0x4355ae
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 4]
lea eax, [esp + 0x10]
push eax
push ecx
push 0x332c0
push 0x70
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov eax, dword [ebp + 4]
push 0x70
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp dword [ebp + 4], ebx
je 0x43568d
mov cl, byte [0x82023c]
push edi
mov byte [esp + 0x10], cl
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
mov ecx, ebp
call fcn.004357e0
mov ecx, dword [0x809d38]
mov esi, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esi]
cmp eax, ecx
je 0x435645
mov edi, dword [eax - 4]
cmp edi, ebx
jne 0x435612
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
call fcn.004029d0
mov ecx, dword [0x809d38]
cmp edi, ebx
jle 0x435645
mov eax, dword [esi]
xor edi, edi
cmp eax, ecx
je 0x435639
mov edi, dword [eax - 4]
cmp edi, ebx
jne 0x435639
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
call fcn.004029d0
inc edi
push ebx
push edi
lea ecx, [esp + 0x18]
call fcn.005dcfa0
push esi
lea ecx, [esp + 0x14]
call fcn.0041f5a0
lea ecx, [esp + 0x1c]
call fcn.005dd410
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea ecx, [esp + 0x10]
call fcn.005dd410
pop edi
lea ecx, [ebp + 0x14]
push ecx
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], ebx
call fcn.00438c80
add esp, 8
push str.Renegade
push ebp
call fcn.00435b00
add esp, 8
call fcn.00434ed0
push eax
call fcn.00434ea0
push eax
call fcn.00434f60
push eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str.v_d._.3d__s__s__s_n
push ebp
call fcn.00435b00
add esp, 0x1c
push str.Console_mode_active_n
push ebp
call fcn.00435b00
add esp, 8
mov dword [ebp + 0xc], ebx
pop esi
pop ebx
pop ebp
add esp, 0x14
ret