Function at 0x140142b8c
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 0x140142bc3
mov eax, 1
jmp 0x14014317d
xor r15d, r15d
cmp dword [rcx + 0xf8], r15d
jne 0x140143178
cmp dword [rdx + 8], 0x201
jne 0x140142c17
mov rdi, qword [rcx + 0xe8]
cmp dword [rdi + 0x290], r15d
je 0x140142c17
cmp dword [rdi + 0x140], r15d
jne 0x140142c17
mov rax, qword [rcx + 0x40]
cmp qword [rdx], rax
je 0x140142c17
mov rax, qword [rdi]
mov rbx, qword [rax + 0x448]
mov rcx, rbx
call fcn.1401cc2e4
xor edx, edx
mov rcx, rdi
call rbx
mov r12d, 1
cmp dword [r13 + 8], 0x200
jne 0x140142d9d
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140142d9d
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 0x140142c8e
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.1400414b4
cmp rax, r14
je 0x140142c8e
mov eax, r12d
jmp 0x14014317d
mov esi, 0x105
cmp dword [r14 + 0xf0], r15d
jne 0x140142cd5
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 0x140142d9d
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test rax, rax
je 0x140142d9d
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.1401cc2e4
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.1401cc2e4
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 0x140143172
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140143172
mov edx, dword [r13 + 0x10]
mov rcx, r14
call fcn.140143198
test eax, eax
jne 0x140142c86
mov rax, qword [r13 + 0x10]
cmp rax, 9
je 0x14014314c
cmp rax, 0xd
je 0x140142fa7
cmp rax, 0x1b
je 0x140142ec4
cmp rax, 0x20
jbe 0x140143172
cmp rax, 0x22
jbe 0x140142e76
cmp rax, 0x26
je 0x140142e76
cmp rax, 0x28
jne 0x140143172
mov rdi, qword [r14 + 0xe8]
cmp dword [rdi + 0x288], r15d
je 0x140142e76
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140142e76
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x530]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
jmp 0x140142c86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
je 0x140143172
mov rax, qword [0x1402e6ff0]
test rax, rax
je 0x140142eac
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 0x140142c86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
je 0x140142f02
mov rcx, qword [0x1402e6ff0]
test rcx, rcx
je 0x140142f02
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rcx + 0x40]
jmp 0x140142eb9
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140142f5b
mov rdx, qword [r14 + 0x100]
mov rcx, r14
call fcn.14003ae3c
mov rcx, qword [r14 + 0x100]
sub rcx, 0x18
call fcn.140035abc
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
mov rcx, qword [r14 + 0xe8]
call fcn.140143718
mov rcx, r14
call fcn.140041b14
test rax, rax
je 0x140143172
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140143172
mov rcx, r14
call fcn.140041b14
mov rcx, rax
call fcn.14003acdc
jmp 0x140142c86
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
jne 0x140143172
call fcn.140035a3c
mov rdi, rax
test rax, rax
jne 0x140142fe5
mov ecx, 0x80004005
call fcn.140006230
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.140041ca0
mov rcx, qword [rbp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140035abc
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
mov rcx, qword [r14 + 0xe8]
call fcn.140143718
mov edx, r12d
mov rcx, qword [r14 + 0xe8]
call fcn.14011f3d8
mov rax, qword [r14 + 0xe8]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x1401430bb
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.1400414b4
test rax, rax
mov rcx, r15
je 0x140143072
mov rcx, qword [rax + 0x40]
mov rax, qword [0x1402e6ff0]
test rax, rax
jne 0x140143083
mov rax, r15
jmp 0x140143087
mov rax, qword [rax + 0x40]
cmp rcx, rax
jne 0x1401430bb
mov rcx, qword [r14 + 0xe8]
mov rcx, qword [rcx + 0xf8]
call fcn.140074734
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0xc0]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
jmp 0x1401430e7
mov rcx, r14
call fcn.140041b14
test rax, rax
je 0x14014311d
mov rax, qword [r14 + 0xe8]
mov dword [rax + 0x294], r15d
mov rcx, r14
call fcn.140041b14
mov rcx, rax
call fcn.14003acdc
nop
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140142c86
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401cc2e4
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x140142c86
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140143172
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401cc2e4
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x140143172
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
test eax, eax
je 0x140142c86
mov rdx, r13
mov rcx, r14
call fcn.14004478c
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret