Function at 0x1400662c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x228]
test al, al
jne 0x14006630c
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x14006630c
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
jne 0x1400665f5
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14004e150
mov eax, dword [rdi]
cmp eax, 0x13
jne 0x140066342
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006660e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140064360
cmp eax, 3
jne 0x14006635e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006635e
cmp word [rdi + 0x1c], 0xd
je 0x140066327
cmp dword [rdi], 0xd
jne 0x140066417
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006660e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x1400663af
mov rcx, qword [rbx + 0x58]
lea r8, str.buttondown
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400663ed
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400663ed
lea rcx, [rbx + 0x730]
mov dl, 1
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x28]
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x14006660e
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [rbx + 0x738]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x20]
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x140066450
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x140066450
cmp dword [rdi], 0xf
jne 0x140066450
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006660e
jmp 0x1400663af
mov eax, dword [rdi]
cmp eax, 0xe
jne 0x14006649a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006660e
mov rcx, qword [rbx + 0x58]
lea r8, str.itemclick
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xb
jne 0x140066505
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006660e
or dword [rbx + 0x740], 8
mov rcx, rbx
call fcn.140064360
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x14006660e
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseenter
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xa
jne 0x14006656c
mov eax, dword [rbx + 0x740]
test al, 8
je 0x14006660e
and eax, 0xfffffff7
mov rcx, rbx
mov dword [rbx + 0x740], eax
call fcn.140064360
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x14006660e
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseleave
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x1b
jne 0x1400665a1
mov rax, qword [rdi + 0x28]
lea r8, str.timer
mov r9, qword [rdi + 0x20]
mov rdx, rbx
mov rcx, qword [rbx + 0x58]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x14
jne 0x1400665e6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1d0]
test al, al
je 0x1400665e6
mov rax, qword [rdi + 0x28]
lea r8, str.menu
mov r9, qword [rdi + 0x20]
mov rdx, rbx
mov rcx, qword [rbx + 0x58]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
je 0x140066606
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x30]
mov rcx, rbx
call fcn.140018ef0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret