Function at 0x14000e28c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
xor esi, esi
lea rax, [0x1400b2f90]
mov qword [rsp + 0xb8], rsi
mov r13d, esi
mov edx, esi
lea ecx, [rsi + 8]
cmp edx, dword [0x1400c3e5c]
je 0x14000e2d1
add rax, rcx
mov edx, dword [rax]
cmp edx, 0xfffffffa
jne 0x14000e2bf
cmp dword [rax + 4], 0xffffffff
mov ebx, esi
mov eax, dword [0x1400c6018]
mov edi, 1
cmove ebx, ecx
mov ebp, 0xffffdfff
or ebx, r8d
mov r14d, 0x1000
dec eax
cmp eax, 2
jbe 0x14000e306
mov dword [rsp + 0xb0], esi
jmp 0x14000e3ff
cmp byte [0x1400c6038], sil
mov dword [rsp + 0xb0], edi
jne 0x14000e38d
mov rax, qword [0x1400c7be8]
cmp byte [rax + 2], sil
jne 0x14000e38d
call qword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
jne 0x14000e38d
mov rcx, qword [0x1400c6010]
mov edx, 0xda
xor r9d, r9d
mov dword [0x1400c6048], edx
mov r8d, 0x1f4
call qword [sym.imp.USER32.dll_SetTimer]
neg rax
sbb ecx, ecx
and dword [0x1400c6048], ecx
jmp 0x14000e384
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp byte [0x1400c6038], sil
je 0x14000e35b
mov rax, qword [0x1400c7be8]
cmp byte [rax + 3], sil
je 0x14000e3c9
mov rcx, qword [0x1400c6010]
mov edx, edi
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [0x1400c6038], sil
je 0x14000e3c9
mov rcx, qword [0x1400c6010]
xor r9d, r9d
mov r8, rdi
lea edx, [r9 + 6]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [0x1400c7be8]
mov r15, qword [rax + 0x2e]
mov qword [rsp + 0xb8], r15
call fcn.140001424
add dword [0x1400c6170], edi
mov ecx, ebx
and ecx, ebp
mov eax, ebx
and eax, r14d
cmovne ecx, ebx
mov ebx, ecx
call qword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
je 0x14000e404
and ebx, ebp
or ebx, r14d
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp qword [0x1400c6a80], rsi
mov rdi, rax
mov qword [rsp + 0xa8], rax
je 0x14000e428
call fcn.14001889c
mov r14, rax
jmp 0x14000e42f
mov r14, qword [0x1400c6a68]
mov rcx, qword [0x1400c6a98]
test rcx, rcx
je 0x14000e451
mov rdx, qword [0x1400c6a90]
test rdx, rdx
je 0x14000e451
mov r8, rdi
call fcn.140092328
jmp 0x14000e453
mov eax, esi
test eax, eax
jne 0x14000e46e
cmp rdi, qword [0x1400c6010]
je 0x14000e46e
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 1
mov rcx, r14
mov rbp, rax
call fcn.140018708
mov rcx, qword [0x1400c6010]
cmp rbp, rcx
je 0x14000e4b2
test rcx, rcx
je 0x14000e4b2
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000e4b2
mov rcx, qword [0x1400c6010]
xor edx, edx
lea r13d, [rdx + 1]
call qword [sym.imp.USER32.dll_EnableWindow]
mov r12, qword [rsp + 0xa0]
lea r15, [0x1400b3c64]
mov edi, 0xfffffff7
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, ebx
and eax, 0x3000
cmp eax, 0x1000
jne 0x14000e4f5
mov r9d, ebx
lea r8, [0x1400c7bc0]
and r9d, edi
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000e551
cmp dword [0x1400c5ff0], esi
jne 0x14000e50c
mov dword [0x1400c5ff0], 1
call fcn.14000eca8
mov eax, ebx
and eax, 0xf
mov ecx, eax
test al, 8
je 0x14000e523
and rcx, rdi
movzx eax, byte [rcx + r15]
dec eax
jmp 0x14000e528
movzx eax, byte [rax + r15]
mov ecx, ebx
lea r8, [0x1400c7bc0]
shr ecx, 8
mov r9d, ebx
and ecx, 0xf
mov rdx, r12
cmp ecx, eax
sbb eax, eax
and eax, ecx
mov rcx, rbp
mov dword [0x1400c7c04], eax
call fcn.14000f418
mov esi, eax
test eax, eax
jne 0x14000e56a
and ebx, 0xf0f
or ebx, 0x1010
xor esi, esi
jmp 0x14000e4c6
mov rdi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb8]
mov r12d, dword [rsp + 0xb0]
test r13d, r13d
je 0x14000e599
mov rcx, qword [0x1400c6010]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
test rbp, rbp
je 0x14000e5a8
xor edx, edx
mov rcx, r14
call fcn.140018708
test r12d, r12d
je 0x14000e5ff
test r15, r15
je 0x14000e5ba
mov rcx, r15
call fcn.140001378
mov ecx, 2
call fcn.1400a3c18
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rax, qword [0x1400c7be8]
dec dword [0x1400c6170]
cmp byte [rax + 3], 0
je 0x14000e5f1
mov rcx, qword [0x1400c6010]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
test rdi, rdi
je 0x14000e5ff
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret