Function at 0x140084310
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [rcx + 0x14]
mov rbx, rdx
mov rsi, qword [rcx + 0x1c]
mov rdi, rcx
movaps xmmword [rsp + 0x70], xmm6
movups xmm6, xmmword [rcx + 0x48]
mov r14d, dword [rax + 0xe]
mov eax, 1
cmp r14d, eax
mov dword [rsi], eax
mov dword [rcx + 0x68], 0x1a
cmovl r14d, eax
mov dword [rbp + 0x67], r14d
call fcn.1400812dc
mov rcx, qword [rdi + 4]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rdi + 4]
call qword [sym.imp.USER32.dll_SetCapture]
mov rax, qword [rdi + 0x2c]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdi
call qword [0x1400b1958]
test eax, eax
je 0x14008439d
or edx, 0xffffffff
mov rcx, rdi
call fcn.140081270
mov rcx, qword [rdi + 4]
mov eax, 0x64
cmp r14d, eax
mov r8d, r14d
mov edx, 0x1234
cmovl r8d, eax
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetTimer]
mov r13, rax
mov r12d, dword [rbp + 0x73]
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetCapture]
xor r15d, r15d
cmp rax, qword [rdi + 4]
sete r15b
jne 0x14008443a
test byte [rdi], 1
je 0x14008443a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14008443a
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 0x20e
lea rcx, [rbp - 0x29]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140084435
movzx eax, bx
mov edx, 0x200
movzx ecx, r12w
shl ecx, 0x10
or eax, ecx
mov dword [rbp - 0x21], edx
cdqe
mov qword [rbp - 0x11], rax
jmp 0x140084496
mov edx, dword [rbp - 0x21]
jmp 0x14008445f
and dword [rsi], 0
mov rcx, rdi
call fcn.1400812dc
movzx eax, bx
mov edx, 0x202
movzx ecx, r12w
shl ecx, 0x10
or eax, ecx
mov dword [rbp - 0x21], edx
cdqe
mov qword [rbp - 0x11], rax
cmp edx, 0x113
jne 0x140084496
mov rcx, qword [rdi + 4]
mov rdx, r13
mov r14d, 1
call qword [sym.imp.USER32.dll_KillTimer]
mov r8d, dword [rbp + 0x67]
xor r9d, r9d
mov rcx, qword [rdi + 4]
mov edx, 0x1234
call qword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [rbp - 0x21]
mov r13, rax
sub edx, 0x200
je 0x1400844eb
cmp edx, 2
jne 0x1400843c8
mov rcx, qword [rdi + 4]
mov rdx, r13
call qword [sym.imp.USER32.dll_KillTimer]
test r15d, r15d
je 0x1400844bf
call qword [sym.imp.USER32.dll_ReleaseCapture]
and dword [rsi], 0
mov rcx, rdi
and dword [rdi], 0xfffffffd
call fcn.1400812dc
movaps xmm6, xmmword [rsp + 0x70]
mov eax, 1
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movsx eax, word [rbp - 0x11]
lea r8, [rbp - 0x39]
mov ebx, dword [rsi]
mov rcx, rdi
mov dword [rbp + 0x77], eax
mov rax, qword [rbp - 0x11]
shr rax, 0x10
cwde
mov dword [rbp + 0x7b], eax
mov rdx, qword [rbp + 0x77]
movdqa xmmword [rbp - 0x39], xmm6
call fcn.1400840cc
mov dword [rsi], eax
cmp ebx, eax
je 0x140084529
mov rcx, rdi
mov r14d, 1
call fcn.1400812dc
test r14d, r14d
je 0x140084556
cmp dword [rsi], 0
je 0x140084556
mov rax, qword [rdi + 0x2c]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdi
call qword [0x1400b1958]
test eax, eax
je 0x140084556
or edx, 0xffffffff
mov rcx, rdi
call fcn.140081270
movsx eax, word [rbp - 0x11]
mov dword [rbp + 0x7f], eax
mov rax, qword [rbp - 0x11]
shr rax, 0x10
cwde
mov dword [rbp + 0x83], eax
mov rbx, qword [rbp + 0x7f]
mov qword [rbp + 0x6f], rbx
jmp 0x1400843c1