Function at 0x140001030
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov dword [rsp + 0x28], 0x10
xor r8d, r8d
mov dword [rsp + 0x20], 0
lea rdx, str.._empty.bmp
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadImageW]
lea r8, [rsp + 0x68]
mov edx, 0x20
mov rcx, rax
mov qword [rsp + 0x60], rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [rsp + 0x58], eax
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebp, ebp
xor esi, esi
mov r12d, eax
lea ecx, [rbp + 0x12]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, qword [0x140005628]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov r13d, dword [rsp + 0x6c]
mov eax, edi
cdq
xor r15d, r15d
sub eax, edx
xor r14d, r14d
sar eax, 1
mov dword [rsp + 0x54], eax
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x50], eax
nop dword [rax]
mov rcx, qword [0x140005628]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x90]
mov edx, 0x20
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x140005628]
mov edx, 0xffffff
mov rbx, rax
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov rcx, qword [0x140005628]
mov edx, 0xff
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
lea ecx, [r14 + 0xa]
mov r8d, r14d
mov dword [rsp + 0x20], ecx
lea r9d, [r15 + 0xa]
mov rcx, qword [0x140005628]
mov edx, r15d
call qword [sym.imp.GDI32.dll_Rectangle]
mov rcx, qword [0x140005628]
xor eax, eax
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r13d
mov dword [rsp + 0x38], eax
mov r8d, esi
mov dword [rsp + 0x30], eax
mov edx, ebp
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x88]
sub eax, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x8c]
add r15d, eax
sub ebx, dword [rsp + 0x50]
mov edx, r15d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add ebx, r14d
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov edx, dword [rsp + 0x50]
xor eax, eax
cmp r15d, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x54]
cmovle eax, r15d
xor r14d, r14d
cmp ebx, r12d
mov r15d, eax
cmovle r14d, ebx
test eax, eax
cmovs r15d, dword [rsp + 0x58]
test r14d, r14d
cmovs r14d, r12d
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, r13d
add eax, ebp
cmp r15d, eax
jg 0x140001288
cmp r15d, ebp
jl 0x140001288
lea eax, [rsi + r12]
cmp r14d, eax
jg 0x140001288
cmp r14d, esi
jl 0x140001288
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001288
mov eax, r13d
mov ebp, r15d
cdq
mov esi, r14d
sub eax, edx
sar eax, 1
sub ebp, eax
mov eax, dword [rsp + 0x70]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x60]
test ax, ax
je 0x140001110
mov ecx, 1
call qword [sym.imp.USER32.dll_ShowCursor]
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400012f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret