Function at 0x14001c9d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400a1650]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r9
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x113
ja 0x14001cc79
je 0x14001cb6f
mov eax, r8d
sub eax, 2
je 0x14001cb62
dec eax
je 0x14001cb58
sub eax, 0xc
je 0x14001cb37
sub eax, 0x11
je 0x14001cb05
cmp eax, 0xf1
jne 0x14001cc9b
lea rax, [r9 - 0x8e]
cmp rax, 0x17
ja case.0x14001ca65.143
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1cd84]
mov edx, dword [rcx + rax*4 + 0x1cd68]
add rdx, rcx
jmp rdx
mov dl, 1
mov rcx, rbx
call fcn.14001cda0
jmp 0x14001cc9b
xor edx, edx
mov rcx, rbx
call fcn.14001d070
jmp 0x14001cc9b
mov edx, 1
mov rcx, rbx
call fcn.14001d070
jmp 0x14001cc9b
mov edx, 2
mov rcx, rbx
call fcn.14001d070
jmp 0x14001cc9b
mov rax, qword [rbx + 0x90]
mov rcx, rbx
movzx edx, byte [rax + 0x8a]
call fcn.14001c880
jmp 0x14001cc9b
mov rax, qword [rbx + 0x88]
xor edx, edx
lea rcx, [rbx + 0x210]
cmp byte [rax + 0x8a], dl
setne dl
call fcn.14000ed30
jmp 0x14001cc9b
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x111
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001cd4c
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14001cb19
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x14001cd47
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x20
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001cd4c
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 0x14001cd47
call fcn.14001cff0
jmp 0x14001cd47
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14001cd47
mov rax, r9
sub rax, 0x2710
je 0x14001cc6f
dec rax
je 0x14001cc65
dec rax
je 0x14001cbe4
dec rax
je 0x14001cbbe
dec rax
je 0x14001cbb4
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x113
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001cd4c
call fcn.14001d380
jmp 0x14001cd47
mov rax, qword [rcx + 0xb8]
mov byte [rax + 0x8c], 5
mov dword [rax + 0x88], 2
movzx edx, byte [rcx + 0x58]
call fcn.1400154c0
jmp 0x14001cd47
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14001cc47
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14001cc47
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
je 0x14001cc41
cmp byte [0x1400ab2e4], 0
jne 0x14001cc41
cmp byte [rbx + 0x3a1], 0
mov byte [0x1400ab2e4], 1
sete cl
mov byte [rbx + 0x3a1], cl
call fcn.14000cbf0
jmp 0x14001cc47
mov byte [0x1400ab2e4], al
cmp byte [rbx + 0x3a1], 0
je 0x14001cd47
lea rcx, [rbx + 0xd0]
call fcn.140011890
jmp 0x14001cd47
call fcn.14001d480
jmp 0x14001cd47
call fcn.14001cf70
jmp 0x14001cd47
mov eax, r8d
sub eax, 0x200
je 0x14001cd27
dec eax
je 0x14001cd05
dec eax
je 0x14001cce3
sub eax, 3
je 0x14001ccc1
cmp eax, 0x9e
je 0x14001ccb6
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001cd4c
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001cd47
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 0x14001cd47
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 0x14001cd47
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 0x14001cd47
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.140040660
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret