Function at 0x4026b0
Capabilities:
Set console window title

Disassembly:
push 0xffffffffffffffff
push 0x418086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0xb0], 0
rep stosd dword es:[edi], eax
mov ebx, 1
mov dword [esp + 0xbc], eax
push ebx
call fcn.00404f30
mov eax, dword [esp + 0xb4]
add esp, 4
test eax, eax
jne 0x402ace
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x402ac3
mov eax, 0x421ce8
test eax, eax
je 0x402728
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [esp + 0x30]
push ecx
push 0xfffffffffffffff5
mov dword [esp + 0xb8], ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edx, dword [esp + 0x30]
push edx
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 8
mov esi, 0x41eff8
lea edi, [esp + 0x50]
push 0x41c4ac
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, 0x41f018
lea edi, [esp + 0x74]
push 0xfffffffffffffff6
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, 0x41f038
lea edi, [esp + 0x98]
push 0x41eff8
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
call fcn.00402bb0
test eax, eax
je 0x402847
push 0x41c4a8
push 0xfffffffffffffff5
push 0x41f018
lea ecx, [esp + 0x5c]
call fcn.00402bb0
test eax, eax
je 0x402847
push 0x41c4a8
push 0xfffffffffffffff4
push 0x41f038
lea ecx, [esp + 0x5c]
call fcn.00402bb0
test eax, eax
je 0x402847
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call esi
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebp
mov dword [esp + 0x30], ebx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
je 0x40281f
push 0
call ebp
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
inc edi
cmp edi, 0xa
jl 0x402801
mov eax, dword [0x421d80]
mov ebx, 2
cmp eax, 3
jne 0x402855
push 0x41c45c
call fcn.00402c20
add esp, 4
xor ebp, ebp
mov esi, 1
jmp 0x4028d3
lea ecx, [esp + 0x50]
call fcn.00402b40
jmp 0x402ac3
mov esi, 1
cmp eax, esi
je 0x402873
cmp eax, ebx
je 0x402873
push 0x41c440
call fcn.00402c20
add esp, 4
xor ebp, ebp
jmp 0x4028d3
call fcn.00408820
lea ecx, [esp + 0x4c]
call fcn.004064f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 1
call fcn.00406530
lea ecx, [esp + 0x4c]
call fcn.004065d0
test eax, eax
je 0x4028af
lea ecx, [esp + 0x4c]
call fcn.004065f0
push 0x41c3e0
jmp 0x4028b4
push 0x41c3a0
call fcn.00402c20
xor ebp, ebp
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], ebp
mov byte [esp + 0xc0], 0
call fcn.00406520
call fcn.0040db41
cmp eax, 0xa
je 0x4028e7
call fcn.0040db41
cmp eax, 0xa
jne 0x4028dd
mov al, byte [esp + 0x13]
mov dword [esp + 0x38], ebp
mov byte [esp + 0x34], al
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
push 0x421ce8
mov byte [esp + 0xc4], 3
call fcn.00402c20
lea eax, [esp + 0x28]
lea edx, [esp + 0x38]
push eax
push 0x402c50
mov dword [0x421ce4], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], edx
call fcn.00407e10
lea ecx, [esp + 0x30]
push ecx
push 0x402c50
call fcn.004042f0
lea eax, [esp + 0x38]
lea edx, [esp + 0x28]
push eax
push 0x402c50
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
call fcn.004040c0
mov eax, dword [esp + 0x54]
add esp, 0x1c
cmp eax, ebp
mov dword [0x421ce4], ebp
jne 0x402989
xor ecx, ecx
jmp 0x402992
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x18]
cmp edx, ebp
jne 0x40299e
xor eax, eax
jmp 0x4029a7
mov eax, dword [esp + 0x1c]
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
je 0x4029d0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00402ce0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00402ee0
add esp, 0x10
jmp 0x4029ec
push 0x41c37c
call fcn.00402c20
push 0x41eff8
call fcn.0040d9cf
add esp, 8
call fcn.0040db41
call fcn.004049a0
test eax, eax
je 0x402a46
push 0x41c33c
call fcn.0040d98e
add esp, 4
lea edx, [esp + 0x13]
push edx
push 0x41c338
call fcn.0040d95a
add esp, 8
cmp eax, 0xffffffff
je 0x402a46
movsx eax, byte [esp + 0x13]
add eax, 0x20
cmp eax, 0x79
jne 0x402a46
push ebp
call fcn.00404d30
add esp, 4
test eax, eax
mov eax, 0x41c32c
jne 0x402a3d
mov eax, 0x41c320
push eax
call fcn.0040d98e
add esp, 4
cmp dword [esp + 0x30], ebp
jne 0x402a55
push esi
call fcn.00404f30
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0xc0], bl
mov edi, eax
je 0x402a7c
mov ecx, esi
call fcn.00403cc0
add esi, 4
cmp esi, edi
jne 0x402a6a
mov esi, dword [esp + 0x18]
push esi
call fcn.0040a5aa
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
cmp esi, eax
mov byte [esp + 0xc0], 0
mov edi, eax
pop ebp
je 0x402aba
mov ecx, esi
call fcn.00403cc0
add esi, 4
cmp esi, edi
jne 0x402aa8
mov esi, dword [esp + 0x34]
push esi
call fcn.0040a5aa
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x402b25
mov eax, dword [esp + 0x60]
test eax, eax
je 0x402ae6
mov ecx, 8
lea esi, [esp + 0x50]
mov edi, 0x41eff8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x402b01
mov ecx, 8
lea esi, [esp + 0x70]
mov edi, 0x41f018
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x402b1f
mov ecx, 8
lea esi, [esp + 0x90]
mov edi, 0x41f038
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret