Function at 0x14013d634
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140273940]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r13, rdx
mov rbx, rcx
call fcn.14003506c
xor r15d, r15d
test eax, eax
jne 0x14013d8a2
mov rax, qword [rbx + 0xa0]
lea r14, [rbx + 0x40]
mov edi, dword [r13 + 8]
test rax, rax
jne 0x14013d690
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.1400320e0
test byte [rbx + 0x124], 0x20
mov rsi, rax
jne 0x14013d6b8
cmp edi, 0x201
je 0x14013d6d2
cmp edi, 0x202
jne 0x14013d83f
lea ecx, [rdi - 0x200]
cmp ecx, 9
jbe 0x14013d6d2
lea eax, [rdi - 0xa0]
cmp eax, 9
ja 0x14013d83f
call fcn.14002e7b4
mov rcx, qword [r13 + 0x24]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
mov r12, rax
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_ScreenToClient]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x40]
call fcn.1401d7c40
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov dword [rsp + 0x30], 0x48
mov rax, qword [rcx + 0xe8]
mov rcx, rbx
call qword [case.0x14014d4e5.0]
mov rcx, qword [rsp + 0x60]
mov rbp, rax
cmp rcx, 0xffffffffffffffff
je 0x14013d739
call fcn.1401b3258
mov eax, 0x201
cmp edi, eax
jne 0x14013d758
test dword [rsp + 0x34], 0x80000000
je 0x14013d754
mov r15d, 1
jmp 0x14013d770
cmp edi, eax
je 0x14013d770
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14013d770
mov rbp, qword [r12 + 0x98]
test rbp, rbp
js 0x14013d7fa
test r15d, r15d
jne 0x14013d7fa
cmp edi, 0x202
jne 0x14013d7aa
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov rax, qword [rax + 0x348]
call qword [case.0x14014d4e5.0]
mov edx, 0xec0a
mov r8d, 0xc8
jmp 0x14013d7d8
test byte [rbx + 0x120], 8
jne 0x14013d7e2
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14013d7e2
cmp rbp, qword [r12 + 0x98]
je 0x14013d834
mov edx, 0xec09
mov r8d, 0x12c
mov rcx, rbx
call fcn.14013d9a0
jmp 0x14013d834
mov rax, qword [rbx]
mov rdx, rbp
mov rcx, rbx
mov rax, qword [rax + 0x348]
call qword [case.0x14014d4e5.0]
jmp 0x14013d834
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14013d80f
test r15d, r15d
je 0x14013d834
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov rax, qword [rax + 0x348]
call qword [case.0x14014d4e5.0]
mov rcx, qword [r14]
mov edx, 0xec0a
call qword [sym.imp.USER32.dll_KillTimer]
mov qword [r12 + 0x98], rbp
xor r15d, r15d
mov rcx, rbx
call fcn.1400326f4
test rax, rax
je 0x14013d855
cmp dword [rax + 0x104], r15d
jne 0x14013d89e
test rsi, rsi
je 0x14013d884
mov rax, qword [rsi]
mov rdx, r13
mov rcx, rsi
mov rax, qword [rax + 0x218]
call qword [case.0x14014d4e5.0]
test eax, eax
jne 0x14013d8a2
mov rcx, rsi
call fcn.14003247c
mov rsi, rax
test rax, rax
jne 0x14013d85a
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14013d89e
mov rdx, r13
mov rcx, rbx
call fcn.140035048
jmp 0x14013d8a7
xor eax, eax
jmp 0x14013d8a7
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401aaad0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret