Function at 0x1400972bc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rsi, qword [0x1400c6010]
mov rbx, rcx
mov rcx, rsi
mov qword [rbp + 0x50], rsi
mov r15, r9
mov r14, rdx
xor edi, edi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400c7be8]
lea r12, [rbx + 0x10]
mov rax, qword [rax + 0x66]
mov qword [rbp - 0x40], rax
test r14, r14
je 0x1400974e7
mov rcx, r14
call qword [sym.imp.USER32.dll_SetCursor]
and qword [rbx + 8], rdi
mov rcx, r15
mov qword [rbp - 0x38], rax
xor r13d, r13d
call qword [sym.imp.USER32.dll_SetCapture]
movzx eax, word [r12]
mov r14d, 0x202
movzx ecx, word [rbx + 0x14]
shl ecx, 0x10
or eax, ecx
mov qword [rbp - 0x30], r15
cdqe
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x28], 0x200
movsx eax, word [rbp - 0x18]
mov rdx, r12
mov rcx, qword [rbp - 0x30]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp - 0x18]
shr rax, 0x10
cwde
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x60]
mov qword [r12], rax
call qword [sym.imp.USER32.dll_ClientToScreen]
xor edx, edx
mov rcx, rsi
jmp 0x1400973ba
mov edx, 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
cmp rax, rsi
jne 0x1400973b2
mov rdx, rbx
mov rcx, rdi
call fcn.140097524
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400973dc
mov rsi, qword [rbp + 0x50]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
test rax, rax
jne 0x140097389
mov rdx, rbx
mov rcx, rsi
call fcn.140097524
xor esi, esi
cmp eax, 1
sete sil
mov rcx, qword [rbp - 0x40]
test esi, esi
cmovne rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_SetCursor]
test esi, esi
jne 0x1400973fa
and qword [rbx + 8], 0
xor ecx, ecx
jmp 0x1400973fe
mov rcx, qword [rbx + 8]
cmp r13, rcx
je 0x140097439
test r13, r13
je 0x140097420
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb6f
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 8]
mov r13, rcx
test rcx, rcx
je 0x140097439
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb6e
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rbp - 0x28], r14d
je 0x140097497
mov r9d, 0x20e
mov dword [rsp + 0x20], 3
mov r8d, 0x100
lea rcx, [rbp - 0x30]
mov rdx, r15
call qword [sym.imp.USER32.dll_PeekMessageA]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [rbp - 0x28]
jne 0x140097482
cmp eax, r14d
cmovne eax, r14d
mov dword [rbp - 0x28], eax
sub eax, 0x200
je 0x14009748e
cmp eax, 2
jne 0x14009743f
mov rsi, qword [rbp + 0x50]
jmp 0x14009735a
movzx ecx, word [rbx + 0x14]
xor r8d, r8d
movzx eax, word [r12]
mov edx, r14d
shl ecx, 0x10
or ecx, eax
movsxd r9, ecx
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageA]
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor edi, edi
test esi, esi
je 0x1400974db
mov rcx, qword [rbx + 8]
mov r9, rbx
xor r8d, r8d
mov edx, 0xb6c
call qword [sym.imp.USER32.dll_SendMessageA]
movzx edi, ax
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x140097509
movzx ecx, word [r12]
xor r8d, r8d
movzx edx, word [rbx + 0x14]
shl edx, 0x10
or edx, ecx
mov rcx, r15
movsxd r9, edx
mov edx, 0x202
call qword [sym.imp.USER32.dll_SendMessageA]
mov rbx, qword [rsp + 0xb0]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret