Function at 0x14000a780
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140092080]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
test rax, rax
je 0x14000a9e0
xor ecx, ecx
mov qword [rsp + 0x90], rbx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov dword [rsp + 0x30], 0x40
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r11d, eax
mov eax, ecx
cdq
sub ebx, r11d
sub eax, edx
sar eax, 1
sub ecx, eax
mov r10d, eax
mov eax, ecx
mov dword [rsp + 0x28], r10d
cdq
mov dword [rsp + 0x20], r11d
sub eax, edx
mov rcx, rdi
sar eax, 1
mov r9d, eax
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14000a9d8
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000a9d8
xor edi, edi
mov dword [rsp + 0x54], 0x12b0257
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov edx, 1
mov dword [rsp + 0x44], 0x12c0258
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
test eax, eax
je 0x14000a9d8
mov edx, dword [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
je 0x14000a9d8
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov edx, 0xf060
mov r8d, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
and ebx, 0xfff2ffff
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_35
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x58]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x5c], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x48]
mov rcx, rbx
or edx, 4
mov dword [rsp + 0x48], edx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0x4c], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x4c]
mov rcx, rbx
and edx, 0xffffffbf
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rsp + 0x6e]
mov rcx, rbx
sub ax, word [rsp + 0x6a]
inc ax
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x70]
sub ax, word [rsp + 0x6c]
inc ax
mov word [rsp + 0x46], ax
mov edx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400733a0
add rsp, 0x80
pop rdi
ret