Function at 0x14001ebc0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
cmp qword [rcx + 0xc0], 0
mov rbp, rcx
je 0x14001ec96
cmp dword [rcx + 0x718], 0
jne 0x14001ec96
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x40], 0
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14001ec19
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ec79
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14001ec79
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140260ad8]
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
mov edi, eax
je 0x14001ec58
mov qword [rsp + 0x40], 0
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x40]
xor ebx, ebx
test edi, edi
setns bl
test rcx, rcx
je 0x14001ec75
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x14001ec96
mov edx, 0xcbd
mov rcx, rbp
call fcn.14001eaa0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rbp
call fcn.140020710
test eax, eax
je 0x14001ec86
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call fcn.1401e23d0
cmp qword [rbp + 0xa8], rax
je 0x14001ed64
mov rcx, qword [rbp + 0x40]
mov qword [rsp + 0x48], rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rbx, qword [rbp + 0xa8]
test rbx, rbx
je 0x14001ecdc
mov rbx, qword [rbx + 0x40]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1d
jae 0x14001ed07
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
mov esi, eax
je 0x14001ed36
mov r8d, 1
mov edx, eax
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, esi
je 0x14001ed50
xor r8d, r8d
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xa8]
mov edx, 1
call fcn.1401dc71c
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14001edbe
bt dword [rcx + 0x18], 0xa
jae 0x14001edbe
mov rax, qword [rcx + 0x1a20]
test rax, rax
je 0x14001edbe
test rax, rax
mov rdx, rax
je 0x14001ee9e
mov rdx, qword [rdx + 0x10]
mov rax, qword [rax]
test rdx, rdx
je 0x14001edb9
cmp dword [rdx + 0xb8], 1
je 0x14001ee6a
test rax, rax
jne 0x14001ed94
mov r9, qword [rbp + 0xc0]
test byte [r9 + 0x28], 4
je 0x14001ee0a
mov r9, qword [r9 + 0x1a20]
test r9, r9
mov rax, r9
je 0x14001ee0a
nop
nop
test rax, rax
mov rcx, rax
je 0x14001ef2c
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
test rcx, rcx
je 0x14001ee05
cmp dword [rcx + 0xb8], 1
je 0x14001eea4
test rax, rax
jne 0x14001ede0
mov r9, qword [rbp + 0xc0]
bt dword [r9 + 0x38], 0x16
jae 0x14001ec86
mov r9, qword [r9 + 0x1a20]
test r9, r9
mov rax, r9
je 0x14001ec86
test rax, rax
mov rcx, rax
je 0x14001efc7
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
test rcx, rcx
je 0x14001ee55
cmp dword [rcx + 0xb8], 4
je 0x14001ef32
test rax, rax
jne 0x14001ee30
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdx + 0x28]
add rcx, 0x1a10
call fcn.140138ab0
mov rcx, qword [rbp + 0xa8]
mov edx, 0x801e
mov rcx, qword [rcx + 0x40]
movsxd r8, eax
mov r9d, 4
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001edbe
call fcn.1401e7838
int3
mov r11, qword [rcx + 0x28]
xor r10d, r10d
test r9, r9
je 0x14001eef4
test r9, r9
mov rax, r9
je 0x14001ef26
mov rax, qword [rax + 0x10]
mov r9, qword [r9]
test rax, rax
je 0x14001eeeb
test r11, r11
je 0x14001ef1b
mov rax, qword [rax + 0x28]
mov r8, r11
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001eee7
add rax, 2
test ecx, ecx
jne 0x14001eed3
test edx, edx
je 0x14001eef7
add r10d, 1
test r9, r9
jne 0x14001eeb0
xor r10d, r10d
mov rcx, qword [rbp + 0xa8]
movsxd r8, r10d
mov edx, 0x801e
mov rcx, qword [rcx + 0x40]
mov r9d, 5
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001ee0a
mov ecx, 0x80004005
call fcn.140003c70
int3
call fcn.1401e7838
int3
call fcn.1401e7838
int3
mov r11, qword [rcx + 0x28]
xor r10d, r10d
test r9, r9
je 0x14001ef84
nop
test r9, r9
mov rax, r9
je 0x14001efc1
mov rax, qword [rax + 0x10]
mov r9, qword [r9]
test rax, rax
je 0x14001ef7b
test r11, r11
je 0x14001efb6
mov rax, qword [rax + 0x28]
mov r8, r11
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001ef77
add rax, 2
test ecx, ecx
jne 0x14001ef63
test edx, edx
je 0x14001ef87
add r10d, 1
test r9, r9
jne 0x14001ef40
xor r10d, r10d
mov rcx, qword [rbp + 0xa8]
movsxd r8, r10d
mov edx, 0x802b
mov rcx, qword [rcx + 0x40]
mov r9d, 2
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, 0x80004005
call fcn.140003c70
int3
call fcn.1401e7838
int3
call fcn.1401e7838
int3