Function at 0x140001f30
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14008c080]
xor rax, rsp
mov qword [rbp + 0x47], rax
movabs rdx, 0x955c4be6e167d51f
movabs rcx, 0x6739733fd3931a20
mov qword [rbp - 0x19], rdx
mov rax, qword [rbp - 0x19]
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], rcx
mov rax, qword [rbp - 0x19]
mov qword [rbp - 1], rax
mov qword [rbp - 0x19], rdx
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 9]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp - 0x19]
movdqa xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x3f], rax
xorps xmm0, xmmword [rbp + 0x37]
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 0x1400021c5
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 0x1400021bd
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 0x1400021bd
xor edi, edi
mov dword [rbp + 0x13], 0x180045
lea r8, [rbp + 0xf]
mov dword [rbp + 0xf], edi
mov rcx, rax
mov dword [rbp - 0x19], 0x190046
lea edx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
test eax, eax
je 0x1400021bd
mov edx, dword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
je 0x1400021bd
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov edx, 0xf060
lea r8d, [rdi + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [rdi - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
and ebx, 0xfff2ffff
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov r8d, ebx
lea edx, [rdi - 0x10]
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, [rbp + 0x17]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x1b], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
lea rdx, [rbp + 7]
mov dword [rbp + 7], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp + 7]
mov rcx, rbx
or edx, 4
mov dword [rbp + 7], edx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [rbp + 0xb]
mov dword [rbp + 0xb], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp + 0xb]
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.14006e9f0
mov rdi, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret