Function at 0x14001ede0
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 0x14001eeb6
cmp dword [rcx + 0x718], 0
jne 0x14001eeb6
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x40], 0
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14001ee39
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ee99
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14001ee99
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140272ff8]
lea r8d, [rdx + 1]
lea rcx, [0x140272f98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
mov edi, eax
je 0x14001ee78
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 0x14001ee95
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x14001eeb6
mov edx, 0xcbd
mov rcx, rbp
call fcn.14001ecc0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rbp
call fcn.140020940
test eax, eax
je 0x14001eea6
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call fcn.1401f34b8
cmp qword [rbp + 0xa8], rax
je 0x14001ef84
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 0x14001eefc
mov rbx, qword [rbx + 0x40]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1d
jae 0x14001ef27
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 0x14001ef56
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 0x14001ef70
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.1401ed80c
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14001efde
bt dword [rcx + 0x18], 0xa
jae 0x14001efde
mov rax, qword [rcx + 0x1a20]
test rax, rax
je 0x14001efde
test rax, rax
mov rdx, rax
je 0x14001f0be
mov rdx, qword [rdx + 0x10]
mov rax, qword [rax]
test rdx, rdx
je 0x14001efd9
cmp dword [rdx + 0xb8], 1
je 0x14001f08a
test rax, rax
jne 0x14001efb4
mov r9, qword [rbp + 0xc0]
test byte [r9 + 0x28], 4
je 0x14001f02a
mov r9, qword [r9 + 0x1a20]
test r9, r9
mov rax, r9
je 0x14001f02a
nop
nop
test rax, rax
mov rcx, rax
je 0x14001f14c
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
test rcx, rcx
je 0x14001f025
cmp dword [rcx + 0xb8], 1
je 0x14001f0c4
test rax, rax
jne 0x14001f000
mov r9, qword [rbp + 0xc0]
bt dword [r9 + 0x38], 0x16
jae 0x14001eea6
mov r9, qword [r9 + 0x1a20]
test r9, r9
mov rax, r9
je 0x14001eea6
test rax, rax
mov rcx, rax
je 0x14001f1e7
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
test rcx, rcx
je 0x14001f075
cmp dword [rcx + 0xb8], 4
je 0x14001f152
test rax, rax
jne 0x14001f050
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.1401498e0
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 0x14001efde
call fcn.1401f8920
int3
mov r11, qword [rcx + 0x28]
xor r10d, r10d
test r9, r9
je 0x14001f114
test r9, r9
mov rax, r9
je 0x14001f146
mov rax, qword [rax + 0x10]
mov r9, qword [r9]
test rax, rax
je 0x14001f10b
test r11, r11
je 0x14001f13b
mov rax, qword [rax + 0x28]
mov r8, r11
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001f107
add rax, 2
test ecx, ecx
jne 0x14001f0f3
test edx, edx
je 0x14001f117
add r10d, 1
test r9, r9
jne 0x14001f0d0
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 0x14001f02a
mov ecx, 0x80004005
call fcn.140003d20
int3
call fcn.1401f8920
int3
call fcn.1401f8920
int3
mov r11, qword [rcx + 0x28]
xor r10d, r10d
test r9, r9
je 0x14001f1a4
nop
test r9, r9
mov rax, r9
je 0x14001f1e1
mov rax, qword [rax + 0x10]
mov r9, qword [r9]
test rax, rax
je 0x14001f19b
test r11, r11
je 0x14001f1d6
mov rax, qword [rax + 0x28]
mov r8, r11
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001f197
add rax, 2
test ecx, ecx
jne 0x14001f183
test edx, edx
je 0x14001f1a7
add r10d, 1
test r9, r9
jne 0x14001f160
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.140003d20
int3
call fcn.1401f8920
int3
call fcn.1401f8920
int3