Function at 0x1400654e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x6b0]
sub rsp, 0x7b0
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov rbx, rdx
mov r14, rcx
mov rax, qword [rcx]
call qword [rax + 0x228]
test al, al
jne 0x140065549
mov eax, dword [rbx]
sub eax, 9
cmp eax, 0xc
ja 0x140065549
mov rcx, qword [r14 + 0x748]
mov rdx, rbx
test rcx, rcx
jne 0x140065af3
mov rcx, r14
call fcn.14004bc70
jmp 0x140065b03
mov eax, dword [rbx]
cmp eax, 0x13
jne 0x14006557a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065b03
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x30]
mov rcx, r14
call fcn.1400631f0
jmp 0x140065b03
cmp eax, 3
jne 0x140065596
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065596
cmp word [rbx + 0x1c], 0xd
je 0x140065564
cmp dword [rbx], 0xd
jne 0x14006569c
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065b03
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x90]
test al, al
je 0x14006563f
mov rbx, qword [r14 + 0x58]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor r15d, r15d
mov word [rsp + 0x28], r15w
lea rax, [rbp - 0x50]
mov qword [rbp - 0x58], rax
mov word [rbp - 0x50], r15w
mov qword [rbp + 0x30], r14
lea r8d, [r15 - 1]
lea rdx, str.buttondown
lea rcx, [rsp + 0x20]
call fcn.14000cdd0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140016cc0
nop
lea rax, [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x14006562b
call fcn.1400a9798
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x14006563f
call fcn.1400a9798
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140065677
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140065677
lea rcx, [r14 + 0x730]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x28]
jmp 0x140065b03
mov rcx, qword [r14 + 0x748]
test rcx, rcx
je 0x140065b03
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [r14 + 0x738]
call qword [rax + 0x20]
jmp 0x140065b03
mov rcx, qword [r14 + 0x748]
test rcx, rcx
je 0x1400656d5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x1400656d5
cmp dword [rbx], 0xf
jne 0x1400656d5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065b03
jmp 0x14006563f
mov eax, dword [rbx]
cmp eax, 0xe
jne 0x14006578a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065b03
mov rbx, qword [r14 + 0x58]
lea rax, [rbp + 0x68]
mov qword [rbp + 0x60], rax
xor r15d, r15d
mov word [rbp + 0x68], r15w
lea rax, [rbp + 0xf0]
mov qword [rbp + 0xe8], rax
mov word [rbp + 0xf0], r15w
mov qword [rbp + 0x170], r14
lea r8d, [r15 - 1]
lea rdx, str.itemclick
lea rcx, [rbp + 0x60]
call fcn.14000cdd0
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], r15
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140016cc0
nop
lea rax, [rbp + 0xf0]
mov rcx, qword [rbp + 0xe8]
cmp rcx, rax
je 0x14006576f
call fcn.1400a9798
lea rax, [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
cmp rcx, rax
je 0x140065b03
call fcn.1400a9798
jmp 0x140065b03
cmp eax, 0xb
jne 0x140065876
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x218]
test al, al
je 0x140065b03
or dword [r14 + 0x740], 8
mov rcx, r14
call fcn.1400631f0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x90]
test al, al
je 0x140065b03
mov rbx, qword [r14 + 0x58]
lea rax, [rbp + 0x1a8]
mov qword [rbp + 0x1a0], rax
xor r15d, r15d
mov word [rbp + 0x1a8], r15w
lea rax, [rbp + 0x230]
mov qword [rbp + 0x228], rax
mov word [rbp + 0x230], r15w
mov qword [rbp + 0x2b0], r14
lea r8d, [r15 - 1]
lea rdx, str.mouseenter
lea rcx, [rbp + 0x1a0]
call fcn.14000cdd0
mov qword [rbp + 0x2c8], r15
mov qword [rbp + 0x2d0], r15
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call fcn.140016cc0
nop
lea rax, [rbp + 0x230]
mov rcx, qword [rbp + 0x228]
cmp rcx, rax
je 0x140065855
call fcn.1400a9798
lea rax, [rbp + 0x1a8]
mov rcx, qword [rbp + 0x1a0]
cmp rcx, rax
je 0x140065b03
call fcn.1400a9798
jmp 0x140065b03
cmp eax, 0xa
jne 0x14006595f
mov eax, dword [r14 + 0x740]
test al, 8
je 0x140065b03
and eax, 0xfffffff7
mov dword [r14 + 0x740], eax
mov rcx, r14
call fcn.1400631f0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x90]
test al, al
je 0x140065b03
mov rbx, qword [r14 + 0x58]
lea rax, [rbp + 0x2e8]
mov qword [rbp + 0x2e0], rax
xor r15d, r15d
mov word [rbp + 0x2e8], r15w
lea rax, [rbp + 0x370]
mov qword [rbp + 0x368], rax
mov word [rbp + 0x370], r15w
mov qword [rbp + 0x3f0], r14
lea r8d, [r15 - 1]
lea rdx, str.mouseleave
lea rcx, [rbp + 0x2e0]
call fcn.14000cdd0
mov qword [rbp + 0x408], r15
mov qword [rbp + 0x410], r15
xor r8d, r8d
lea rdx, [rbp + 0x2e0]
mov rcx, rbx
call fcn.140016cc0
nop
lea rax, [rbp + 0x370]
mov rcx, qword [rbp + 0x368]
cmp rcx, rax
je 0x14006593e
call fcn.1400a9798
lea rax, [rbp + 0x2e8]
mov rcx, qword [rbp + 0x2e0]
cmp rcx, rax
je 0x140065b03
call fcn.1400a9798
jmp 0x140065b03
cmp eax, 0x1b
jne 0x140065a1b
mov rdi, qword [rbx + 0x28]
mov rbx, qword [rbx + 0x20]
mov rsi, qword [r14 + 0x58]
lea rax, [rbp + 0x428]
mov qword [rbp + 0x420], rax
xor r15d, r15d
mov word [rbp + 0x428], r15w
lea rax, [rbp + 0x4b0]
mov qword [rbp + 0x4a8], rax
mov word [rbp + 0x4b0], r15w
mov qword [rbp + 0x530], r14
lea r8d, [r15 - 1]
lea rdx, str.timer
lea rcx, [rbp + 0x420]
call fcn.14000cdd0
mov qword [rbp + 0x548], rbx
mov qword [rbp + 0x550], rdi
xor r8d, r8d
lea rdx, [rbp + 0x420]
mov rcx, rsi
call fcn.140016cc0
nop
lea rax, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x4a8]
cmp rcx, rax
je 0x1400659fa
call fcn.1400a9798
lea rax, [rbp + 0x428]
mov rcx, qword [rbp + 0x420]
cmp rcx, rax
je 0x140065b03
call fcn.1400a9798
jmp 0x140065b03
cmp eax, 0x14
jne 0x140065ae4
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x1d0]
test al, al
je 0x140065ae4
mov rdi, qword [rbx + 0x28]
mov rbx, qword [rbx + 0x20]
mov rsi, qword [r14 + 0x58]
lea rax, [rbp + 0x568]
mov qword [rbp + 0x560], rax
xor r15d, r15d
mov word [rbp + 0x568], r15w
lea rax, [rbp + 0x5f0]
mov qword [rbp + 0x5e8], rax
mov word [rbp + 0x5f0], r15w
mov qword [rbp + 0x670], r14
lea r8d, [r15 - 1]
lea rdx, str.menu
lea rcx, [rbp + 0x560]
call fcn.14000cdd0
mov qword [rbp + 0x688], rbx
mov qword [rbp + 0x690], rdi
xor r8d, r8d
lea rdx, [rbp + 0x560]
mov rcx, rsi
call fcn.140016cc0
nop
lea rax, [rbp + 0x5f0]
mov rcx, qword [rbp + 0x5e8]
cmp rcx, rax
je 0x140065aca
call fcn.1400a9798
lea rax, [rbp + 0x568]
mov rcx, qword [rbp + 0x560]
cmp rcx, rax
je 0x140065b03
call fcn.1400a9798
jmp 0x140065b03
mov rcx, qword [r14 + 0x748]
mov rdx, rbx
test rcx, rcx
je 0x140065afb
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x140065b03
mov rcx, r14
call fcn.140020820
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.1400a24f0
mov rbx, qword [rsp + 0x7f0]
add rsp, 0x7b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret