Function at 0x1400ebab0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov r13, r9
mov rbp, rcx
mov dword [rcx + 0x254c], 0xdd0
mov rbx, qword [r9]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x1400ebb05
cmp rax, qword [rbx - 0x18]
jne 0x1400ebb05
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x1400ebb43
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x1400ebb21
call fcn.1400f0ca0
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.140216220
lea rax, [rdi + 0x18]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rax - 0x18]
mov rbx, qword [rbp + 0x2550]
sub rbx, 0x18
or r12d, 0xffffffff
cmp rcx, rbx
je 0x1400ebbca
cmp dword [rbx + 0x10], 0
jl 0x1400ebbb2
mov rdx, qword [rbx]
cmp qword [rcx], rdx
jne 0x1400ebbb2
call fcn.140007340
mov rsi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x1400ebba0
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x2550], rax
mov rax, qword [rsp + 0x60]
jmp 0x1400ebbca
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x2550]
call fcn.140007720
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ebbe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, [rbp + 0x2268]
test rbx, rbx
je 0x1400ebbf9
cmp qword [rbx + 0x40], 0
jne 0x1400ebc0d
mov rax, qword [rbx]
xor r8d, r8d
mov edx, 0x241
mov rcx, rbx
call qword [rax + 0x268]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call fcn.1401e23d0
cmp rax, rbx
je 0x1400ebcbe
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test rbx, rbx
jne 0x1400ebc37
xor edi, edi
jmp 0x1400ebc3b
mov rdi, qword [rbx + 0x40]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1d
jae 0x1400ebc66
mov edx, 3
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
cmp esi, eax
je 0x1400ebc95
mov r8d, 1
mov edx, eax
mov ecx, esi
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, ebp
je 0x1400ebcaf
xor r8d, r8d
mov edx, ebp
mov ecx, esi
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 1
mov rcx, rbx
call fcn.1401dc71c
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x1400ebcec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret