Function at 0x14013e7a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rdx
mov r14, rcx
cmp dword [rdx + 8], 0x14
jne 0x14013e7d7
mov eax, 1
jmp 0x14013ed91
xor r15d, r15d
cmp dword [rcx + 0xf8], r15d
jne 0x14013ed8c
cmp dword [rdx + 8], 0x201
jne 0x14013e82b
mov rdi, qword [rcx + 0xe8]
cmp dword [rdi + 0x290], r15d
je 0x14013e82b
cmp dword [rdi + 0x140], r15d
jne 0x14013e82b
mov rax, qword [rcx + 0x40]
cmp qword [rdx], rax
je 0x14013e82b
mov rax, qword [rdi]
mov rbx, qword [rax + 0x448]
mov rcx, rbx
call fcn.1401c8134
xor edx, edx
mov rcx, rdi
call rbx
mov r12d, 1
cmp dword [r13 + 8], 0x200
jne 0x14013e9b1
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013e9b1
lea ecx, [rax + 0x17]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb ecx, ecx
neg ecx
add ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14013e8a2
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14004054c
cmp rax, r14
je 0x14013e8a2
mov eax, r12d
jmp 0x14013ed91
mov esi, 0x105
cmp dword [r14 + 0xf0], r15d
jne 0x14013e8e9
mov dword [r14 + 0xf0], r12d
mov dword [rbp - 0x20], 0x18
mov dword [rbp - 0x1c], 2
mov rax, qword [r14 + 0x40]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [r14 + 0xf4], r15d
jne 0x14013e9b1
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test rax, rax
je 0x14013e9b1
mov qword [rbp + 0x48], r15
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov dword [r14 + 0xf4], r12d
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
lea rdx, [rbp + 0x48]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movzx esi, word [rbp + 0x4c]
shl esi, 0x10
movzx eax, word [rbp + 0x48]
or rsi, rax
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
mov r9, rsi
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x100
cmp dword [r13 + 8], esi
jne 0x14013ed86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013ed86
mov edx, dword [r13 + 0x10]
mov rcx, r14
call fcn.14013edac
test eax, eax
jne 0x14013e89a
mov rax, qword [r13 + 0x10]
cmp rax, 9
je 0x14013ed60
cmp rax, 0xd
je 0x14013ebbb
cmp rax, 0x1b
je 0x14013ead8
cmp rax, 0x20
jbe 0x14013ed86
cmp rax, 0x22
jbe 0x14013ea8a
cmp rax, 0x26
je 0x14013ea8a
cmp rax, 0x28
jne 0x14013ed86
mov rdi, qword [r14 + 0xe8]
cmp dword [rdi + 0x288], r15d
je 0x14013ea8a
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013ea8a
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x530]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
jmp 0x14013e89a
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
je 0x14013ed86
mov rax, qword [0x1402dbe70]
test rax, rax
je 0x14013eac0
mov r15, qword [rax + 0x40]
mov r9, qword [r13 + 0x18]
mov r8, qword [r13 + 0x10]
mov edx, esi
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14013e89a
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
je 0x14013eb16
mov rcx, qword [0x1402dbe70]
test rcx, rcx
je 0x14013eb16
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rcx + 0x40]
jmp 0x14013eacd
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013eb6f
mov rdx, qword [r14 + 0x100]
mov rcx, r14
call fcn.140038268
mov rcx, qword [r14 + 0x100]
sub rcx, 0x18
call fcn.1400225e0
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
mov rcx, qword [r14 + 0xe8]
call fcn.14013f32c
mov rcx, r14
call fcn.140040bb4
test rax, rax
je 0x14013ed86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013ed86
mov rcx, r14
call fcn.140040bb4
mov rcx, rax
call fcn.140038108
jmp 0x14013e89a
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
jne 0x14013ed86
call fcn.140031ba4
mov rdi, rax
test rax, rax
jne 0x14013ebf9
mov ecx, 0x80004005
call fcn.140016620
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.140040d40
mov rcx, qword [rbp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.1400225e0
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
mov rcx, qword [r14 + 0xe8]
call fcn.14013f32c
mov edx, r12d
mov rcx, qword [r14 + 0xe8]
call fcn.14011b15c
mov rax, qword [r14 + 0xe8]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x14013eccf
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14004054c
test rax, rax
mov rcx, r15
je 0x14013ec86
mov rcx, qword [rax + 0x40]
mov rax, qword [0x1402dbe70]
test rax, rax
jne 0x14013ec97
mov rax, r15
jmp 0x14013ec9b
mov rax, qword [rax + 0x40]
cmp rcx, rax
jne 0x14013eccf
mov rcx, qword [r14 + 0xe8]
mov rcx, qword [rcx + 0xf8]
call fcn.1400706ac
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0xc0]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
jmp 0x14013ecfb
mov rcx, r14
call fcn.140040bb4
test rax, rax
je 0x14013ed31
mov rax, qword [r14 + 0xe8]
mov dword [rax + 0x294], r15d
mov rcx, r14
call fcn.140040bb4
mov rcx, rax
call fcn.140038108
nop
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x14013e89a
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401c8134
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x14013e89a
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x14013ed86
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401c8134
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x14013ed86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
test eax, eax
je 0x14013e89a
mov rdx, r13
mov rcx, r14
call fcn.14004382c
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret