Function at 0x1400047c0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rbp + 0x47], rax
movabs rdx, 0x749e4b8bb19b6041
movabs rcx, 0x28f82fea1d5f6226
mov qword [rbp + 7], rdx
mov rax, qword [rbp + 7]
mov qword [rbp - 9], rax
mov qword [rbp + 7], rcx
mov rax, qword [rbp + 7]
mov qword [rbp - 1], rax
mov qword [rbp + 7], rdx
mov rax, qword [rbp + 7]
mov qword [rbp + 0x37], rax
mov qword [rbp + 7], rcx
lea rcx, [rbp - 9]
mov rax, qword [rbp + 7]
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [rbp + 0x37]
xorps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
test rax, rax
je 0x140004a5d
xor ecx, ecx
mov qword [rsp + 0xc0], 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 0x140004a55
mov r9d, 2
mov r8b, 0xe6
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 0x140004a55
xor edi, edi
mov dword [rbp + 0x1b], 0x180045
lea r8, [rbp + 0x17]
mov dword [rbp + 0x17], edi
mov edx, 1
mov dword [rbp - 0x19], 0x190046
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
test eax, eax
je 0x140004a55
mov edx, dword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
je 0x140004a55
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], 0x23
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, [rbp + 7]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea rdx, [rbp + 7]
mov dword [rbp + 0xb], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
lea rdx, [rbp + 0xf]
mov dword [rbp + 0xf], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp + 0xf]
mov rcx, rbx
or edx, 4
mov dword [rbp + 0xf], edx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [rbp + 0x13]
mov dword [rbp + 0x13], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp + 0x13]
mov rcx, rbx
and edx, 0xffffffbf
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [rbp + 0x1f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rbp + 0x2d]
mov rcx, rbx
sub ax, word [rbp + 0x29]
inc ax
mov word [rbp - 0x19], ax
movzx eax, word [rbp + 0x2f]
sub ax, word [rbp + 0x2b]
inc ax
mov word [rbp - 0x17], ax
mov edx, dword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005c000
mov rdi, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret