Function at 0x14001ed50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400a4650]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r9
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x113
ja 0x14001eff9
je 0x14001eeef
mov eax, r8d
sub eax, 2
je 0x14001eee2
dec eax
je 0x14001eed8
sub eax, 0xc
je 0x14001eeb7
sub eax, 0x11
je 0x14001ee85
cmp eax, 0xf1
jne 0x14001f01b
lea rax, [r9 - 0x8e]
cmp rax, 0x17
ja case.0x14001ede5.143
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1f104]
mov edx, dword [rcx + rax*4 + 0x1f0e8]
add rdx, rcx
jmp rdx
mov dl, 1
mov rcx, rbx
call fcn.14001f120
jmp 0x14001f01b
xor edx, edx
mov rcx, rbx
call fcn.14001f3f0
jmp 0x14001f01b
mov edx, 1
mov rcx, rbx
call fcn.14001f3f0
jmp 0x14001f01b
mov edx, 2
mov rcx, rbx
call fcn.14001f3f0
jmp 0x14001f01b
mov rax, qword [rbx + 0x90]
mov rcx, rbx
movzx edx, byte [rax + 0x8a]
call fcn.14001ec00
jmp 0x14001f01b
mov rax, qword [rbx + 0x88]
xor edx, edx
lea rcx, [rbx + 0x210]
cmp byte [rax + 0x8a], dl
setne dl
call fcn.14000f110
jmp 0x14001f01b
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x111
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001f0cc
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14001ee99
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x14001f0c7
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x20
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001f0cc
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 0x14001f0c7
call fcn.14001f370
jmp 0x14001f0c7
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14001f0c7
mov rax, r9
sub rax, 0x2710
je 0x14001efef
dec rax
je 0x14001efe5
dec rax
je 0x14001ef64
dec rax
je 0x14001ef3e
dec rax
je 0x14001ef34
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, 0x113
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001f0cc
call fcn.14001f700
jmp 0x14001f0c7
mov rax, qword [rcx + 0xb8]
mov byte [rax + 0x8c], 5
mov dword [rax + 0x88], 2
movzx edx, byte [rcx + 0x58]
call fcn.140016b40
jmp 0x14001f0c7
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14001efc7
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14001efc7
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
je 0x14001efc1
cmp byte [0x1400ae2e4], 0
jne 0x14001efc1
cmp byte [rbx + 0x399], 0
mov byte [0x1400ae2e4], 1
sete cl
mov byte [rbx + 0x399], cl
call fcn.14000d490
jmp 0x14001efc7
mov byte [0x1400ae2e4], al
cmp byte [rbx + 0x399], 0
je 0x14001f0c7
lea rcx, [rbx + 0xd0]
call fcn.140012870
jmp 0x14001f0c7
call fcn.14001f800
jmp 0x14001f0c7
call fcn.14001f2f0
jmp 0x14001f0c7
mov eax, r8d
sub eax, 0x200
je 0x14001f0a7
dec eax
je 0x14001f085
dec eax
je 0x14001f063
sub eax, 3
je 0x14001f041
cmp eax, 0x9e
je 0x14001f036
mov r9, qword [rsp + 0xd0]
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14001f0cc
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001f0c7
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 0x14001f0c7
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 0x14001f0c7
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 0x14001f0c7
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.1400429e0
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret