Function at 0x14019cee8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx]
mov rdi, rcx
mov ebp, edx
mov rbx, qword [rax + 0x390]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rdi
call rbx
xor r12d, r12d
mov rcx, rdi
mov r15d, r12d
mov rsi, rax
call fcn.1401057cc
mov r14d, eax
lea eax, [r12 + 0x25]
and r14d, 0x400000
je 0x14019cf9f
cmp ebp, eax
jne 0x14019cf99
lea ebp, [rax + 2]
mov eax, ebp
sub eax, 0x26
je 0x14019cfca
sub eax, 1
je 0x14019d175
cmp eax, 1
je 0x14019d142
mov rax, qword [rsi]
mov rbx, qword [rax + 0x800]
mov rcx, rbx
call fcn.14029e28c
mov edx, ebp
mov rcx, rsi
call rbx
test eax, eax
jne 0x14019d396
mov rcx, rdi
call fcn.1400fdc1c
jmp 0x14019d396
cmp ebp, 0x27
cmove ebp, eax
cmp ebp, eax
ja 0x14019cf52
je 0x14019d0d8
cmp ebp, 0xd
je 0x14019cfd0
cmp ebp, 0x1b
je 0x14019d0c7
cmp ebp, 0x20
jbe 0x14019cf6b
cmp ebp, 0x22
jbe 0x14019d09c
cmp ebp, 0x24
ja 0x14019cf6b
mov r15d, 1
cmp dword [0x1403f8b90], r12d
jne 0x14019cff2
mov rax, qword [rsi]
mov rbx, qword [rax + 0x800]
mov rcx, rbx
call fcn.14029e28c
mov edx, ebp
mov rcx, rsi
call rbx
test r15d, r15d
je 0x14019d396
cmp dword [rdi + 0x16a4], r12d
je 0x14019d370
mov edx, dword [rsi + 0x1138]
test edx, edx
js 0x14019d370
mov rcx, rsi
call fcn.140170c10
mov rbp, rax
test rax, rax
jne 0x14019d045
mov rcx, qword [rsi]
mov rbx, qword [rcx + 0x6a8]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
test eax, eax
je 0x14019d370
mov rcx, qword [rsi + 0x40]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x24]
mov r14d, dword [rsi + 0x1364]
cmp dword [rbp + 0x6c], eax
jge 0x14019d281
mov rax, qword [rsi]
mov rbx, qword [rax + 0x6a8]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
mov ecx, eax
mov eax, dword [rbp + 0x6c]
sub eax, dword [rsp + 0x24]
cdq
idiv ecx
lea ebp, [rax - 1]
jmp 0x14019d2b4
cmp dword [rdi + 0x16a8], r12d
je 0x14019cf6b
mov rax, qword [rsi]
mov rbx, qword [rax + 0x800]
mov rcx, rbx
call fcn.14029e28c
mov edx, ebp
mov rcx, rsi
call rbx
jmp 0x14019cffb
mov dword [rdi + 0x19ac], 1
mov edx, 1
jmp 0x14019d135
mov rcx, rdi
call fcn.14019ba68
mov rsi, rax
test rax, rax
je 0x14019d104
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x730]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
jmp 0x14019d396
mov rsi, qword [rdi + 0x228]
test rsi, rsi
je 0x14019d396
mov rax, qword [rsi]
mov rbx, qword [rax + 0xe0]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
test eax, eax
je 0x14019d396
xor edx, edx
mov rcx, rdi
call fcn.140199fac
jmp 0x14019d396
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14019cfca
cmp dword [rsi + 0x1380], r12d
jne 0x14019cfca
mov rcx, rdi
call fcn.14019fa78
jmp 0x14019d396
xor ecx, ecx
call fcn.140170afc
mov rcx, rdi
mov dword [0x1403faa9c], r12d
mov ebp, eax
call fcn.14019bad8
mov rsi, rax
test rax, rax
je 0x14019d20d
mov ecx, dword [rax + 0x24]
dec ecx
cmp ecx, 0xfffffffd
ja 0x14019d1ba
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x1c0]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
test eax, eax
je 0x14019d20d
mov rax, qword [rsi]
mov rbx, qword [rax + 0x198]
mov rcx, rbx
call fcn.14029e28c
xor edx, edx
mov rcx, rsi
call rbx
test eax, eax
je 0x14019d20d
cmp qword [rsi + 0xc0], r12
je 0x14019d276
mov rcx, rdi
call fcn.14019bad8
cmp rax, rsi
jne 0x14019d276
mov rcx, qword [rsi + 0xc0]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x24]
call fcn.14019cee8
jmp 0x14019d276
mov rcx, rdi
call fcn.14019ba68
mov rsi, rax
test rax, rax
je 0x14019d249
lea rdx, str.CMFCPopupMenuBar
mov rcx, rax
call fcn.1401083a4
test eax, eax
jne 0x14019d249
mov rcx, qword [rsi]
mov rbx, qword [rcx + 0x738]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
jmp 0x14019d276
mov rcx, rdi
call fcn.14019b9ec
test rax, rax
je 0x14019d276
mov rcx, qword [rax + 0x40]
neg r14d
mov edx, 0x100
sbb r8, r8
xor r9d, r9d
and r8, 0xfffffffffffffffe
add r8, 0x27
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x1403faa9c], ebp
jmp 0x14019d396
mov eax, dword [rsp + 0x2c]
cmp dword [rbp + 0x74], eax
jle 0x14019d370
mov rax, qword [rsi]
mov rbx, qword [rax + 0x6a8]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
mov ecx, eax
mov eax, dword [rbp + 0x74]
sub eax, dword [rsp + 0x2c]
cdq
idiv ecx
lea ebp, [rax + 1]
test ebp, ebp
je 0x14019d370
mov rax, qword [rsi]
mov rbx, qword [rax + 0x6a8]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
add r14d, ebp
mov ecx, eax
mov eax, dword [rdi + 0x214]
mov ebp, dword [rsi + 0x11a0]
cdq
idiv ecx
sub eax, 2
sub ebp, eax
dec ebp
test r14d, r14d
cmovs r14d, r12d
cmp r14d, ebp
cmovl ebp, r14d
cmp dword [rsi + 0x1364], ebp
je 0x14019d321
mov rax, qword [rsi]
mov dword [rsi + 0x1364], ebp
mov rbx, qword [rax + 0x7c8]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
xor edx, edx
mov rcx, rdi
call fcn.140199ab4
cmp dword [rdi + 0x16a8], r12d
je 0x14019d362
lea rcx, [rdi + 0x16e0]
test rcx, rcx
je 0x14019d362
cmp qword [rcx + 0x40], r12
je 0x14019d362
mov rcx, qword [rdi + 0x1720]
mov r9d, 1
mov r8d, ebp
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x14019d370
test eax, eax
je 0x14019d370
xor edx, edx
mov rcx, rdi
call fcn.140199ab4
cmp dword [rsi + 0x1398], r12d
je 0x14019d396
mov rax, qword [rdi]
mov rbx, qword [rax + 0x408]
mov rcx, rbx
call fcn.14029e28c
mov edx, dword [rsi + 0x1138]
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret