Function at 0x140001b30
Capabilities:
Set console window title

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140066c40]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rcx, str.___github.com_rft0_km_dll_mapper
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x140001ba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov ecx, 2
call fcn.140020a58
mov qword [rsp + 0x80], rax
mov r8d, dword [rsp + 0x54]
lea rdx, str.Error_getting_console_handle._Error_code:__lu_n
mov rcx, qword [rsp + 0x80]
call fcn.140002370
nop
jmp 0x140001d63
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x140001be0
mov eax, dword [rsp + 0x40]
or eax, 4
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
nop
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001c2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov ecx, 2
call fcn.140020a58
mov qword [rsp + 0x88], rax
mov r8d, dword [rsp + 0x58]
lea rdx, str.Error_getting_console_window_handle._Error_code:__lu_n
mov rcx, qword [rsp + 0x88]
call fcn.140002370
nop
jmp 0x140001d63
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x9c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x30], 0x31
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 0xfffffff0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
btr eax, 0x12
btr eax, 0x10
btr eax, 0x11
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xe5
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140019a10
add rsp, 0xb8
ret