Function at 0x140019d50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400a1640]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r9
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x113
ja 0x140019ff3
je 0x140019eef
mov eax, r8d
sub eax, 2
je 0x140019ee2
dec eax
je 0x140019ed8
sub eax, 0xc
je 0x140019eb7
sub eax, 0x11
je 0x140019e85
cmp eax, 0xf1
jne 0x14001a015
lea rax, [r9 - 0x8e]
cmp rax, 0x17
ja case.0x140019de5.143
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1a0fc]
mov edx, dword [rcx + rax*4 + 0x1a0e0]
add rdx, rcx
jmp rdx
mov dl, 1
mov rcx, rbx
call fcn.14001a120
jmp 0x14001a015
xor edx, edx
mov rcx, rbx
call fcn.14001a3f0
jmp 0x14001a015
mov edx, 1
mov rcx, rbx
call fcn.14001a3f0
jmp 0x14001a015
mov edx, 2
mov rcx, rbx
call fcn.14001a3f0
jmp 0x14001a015
mov rax, qword [rbx + 0x90]
mov rcx, rbx
movzx edx, byte [rax + 0x8a]
call fcn.140019c20
jmp 0x14001a015
mov rax, qword [rbx + 0x88]
xor edx, edx
lea rcx, [rbx + 0x1d8]
cmp byte [rax + 0x8a], dl
setne dl
call fcn.14000cf10
jmp 0x14001a015
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x111
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001a0c6
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140019e99
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x14001a0c1
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x20
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001a0c6
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BeginPaint]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x14001a0c1
call fcn.14001a370
jmp 0x14001a0c1
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14001a0c1
mov rax, r9
sub rax, 0x2710
je 0x140019fe9
dec rax
je 0x140019fdf
dec rax
je 0x140019f5e
dec rax
je 0x140019f3e
dec rax
je 0x140019f34
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x113
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001a0c6
call fcn.14001a600
jmp 0x14001a0c1
mov rax, qword [rcx + 0xb8]
mov byte [rax + 0x7c], 5
mov dword [rax + 0x78], 2
movzx edx, byte [rcx + 0x58]
call fcn.140014530
jmp 0x14001a0c1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140019fc1
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140019fc1
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
je 0x140019fbb
cmp byte [0x1400ab2f4], 0
jne 0x140019fbb
cmp byte [rbx + 0x2a9], 0
mov byte [0x1400ab2f4], 1
sete cl
mov byte [rbx + 0x2a9], cl
call fcn.14000b1c0
jmp 0x140019fc1
mov byte [0x1400ab2f4], al
cmp byte [rbx + 0x2a9], 0
je 0x14001a0c1
lea rcx, [rbx + 0xd0]
call fcn.14000fa00
jmp 0x14001a0c1
call fcn.14001a750
jmp 0x14001a0c1
call fcn.14001a2f0
jmp 0x14001a0c1
mov eax, r8d
sub eax, 0x200
je 0x14001a0a1
dec eax
je 0x14001a07f
dec eax
je 0x14001a05d
sub eax, 3
je 0x14001a03b
cmp eax, 0x9e
je 0x14001a030
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001a0c6
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001a0c1
mov r9, qword [rcx]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
movsx edx, cx
mov rcx, rbx
shr rax, 0x10
movsx r8d, ax
call qword [r9 + 0x28]
jmp 0x14001a0c1
mov r9, qword [rcx]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
movsx edx, cx
mov rcx, rbx
shr rax, 0x10
movsx r8d, ax
call qword [r9 + 0x20]
jmp 0x14001a0c1
mov r9, qword [rcx]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
movsx edx, cx
mov rcx, rbx
shr rax, 0x10
movsx r8d, ax
call qword [r9 + 0x18]
jmp 0x14001a0c1
mov r9, qword [rcx]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
movsx edx, cx
mov rcx, rbx
shr rax, 0x10
movsx r8d, ax
call qword [r9 + 0x10]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003fb60
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret