Function at 0x140118ba4
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rdi
push r12
push r14
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
xor esi, esi
cmp byte [rcx + 0x3c8], sil
je 0x140118bdd
mov byte [rcx + 0x3c8], sil
cmp dword [rcx + 0x494], esi
je 0x140119012
mov rax, qword [rcx]
call qword [rax + 0x2e8]
mov rdx, rax
lea rcx, vtable.CGlobalUtils.0
call fcn.1400cd444
mov r14, rax
cmp rax, rsi
jne 0x140118c17
cmp dword [0x14024f350], esi
jne 0x140118c17
call fcn.14001505c
int3
mov ebx, dword [rdi + 0x490]
mov r12d, dword [rdi + 0x494]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x6d8]
mov rcx, rdi
call fcn.140115948
mov rbp, rax
cmp ebx, r12d
jne 0x140119008
mov ecx, r12d
mov edx, 8
sub ecx, edx
je 0x140118f25
sub ecx, 1
je 0x140118d45
cmp ecx, 0xa
je 0x140118c76
mov rax, qword [rdi]
mov edx, r12d
mov rcx, rdi
call qword [rax + 0x6b8]
jmp 0x140119008
mov rbx, qword [0x140259550]
cmp rbx, rsi
jne 0x140118c8d
mov rcx, rdi
call fcn.14001d3c4
mov rbx, rax
cmp rbx, rsi
je 0x140118d34
mov rdx, rbx
lea rcx, str.CMDIFrameWndEx
call fcn.14005a7e4
cmp rax, rsi
je 0x140118cbc
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3e0]
jmp 0x140118d2c
mov rdx, rbx
lea rcx, [0x1401c3d38]
call fcn.14005a7e4
cmp rax, rsi
je 0x140118ce2
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3a0]
jmp 0x140118d2c
mov rdx, rbx
lea rcx, str.COleIPFrameWndEx
call fcn.14005a7e4
cmp rax, rsi
je 0x140118d08
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3d0]
jmp 0x140118d2c
mov rdx, rbx
lea rcx, str.COleDocIPFrameWndEx
call fcn.14005a7e4
cmp rax, rsi
je 0x140118d34
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3d0]
cmp eax, esi
je 0x140119008
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x570]
jmp 0x140119008
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, si
je 0x140118ebf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x638]
cmp eax, esi
je 0x140118ebf
mov rcx, qword [rdi + 0xd0]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rdi + 0x3f8], esi
jne 0x140118e2a
mov edx, 0xa
lea rcx, [rsp + 0x58]
call fcn.1400c134c
nop
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.1400e1a88
mov r12, qword [rsp + 0x60]
cmp r12, rsi
je 0x140118e1e
mov rdx, r12
cmp r12, rsi
je 0x140118e18
mov r12, qword [r12]
mov rdx, qword [rdx + 0x10]
lea rcx, str.CDockablePane
call fcn.14005a7e4
mov r14, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x638]
cmp eax, esi
je 0x140118e11
mov rbx, qword [r14]
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x2d8]
mov r8d, eax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [r9 + 1]
mov rcx, r14
call qword [rbx + 0x688]
cmp r12, rsi
jne 0x140118dbb
jmp 0x140118e1e
call fcn.14001505c
nop
lea rcx, [rsp + 0x58]
call fcn.1400c1374
jmp 0x140118e58
mov rcx, qword [rdi + 0x440]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov rdx, rax
lea rcx, str.CAutoHideDockSite
call fcn.14005a7e4
cmp rax, rsi
je 0x140118e58
xor edx, edx
mov rcx, rax
call fcn.1401228c0
mov rcx, qword [rdi + 0xd0]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rdi + 0xd0]
lea rcx, str.CFrameWnd
call fcn.14005a7e4
cmp rax, rsi
je 0x140118e9e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x2a0]
mov rcx, qword [rdi + 0xd0]
mov r9d, 0x181
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x140119017
cmp r14, rsi
je 0x140119017
cmp rbp, rsi
je 0x140119017
mov ebx, dword [r14 + 0x1ec]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x2d8]
test ebx, eax
je 0x140119017
mov rbx, qword [rdi]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x2d8]
mov r8d, eax
cmp dword [rdi + 0x3f8], esi
sete sil
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, esi
mov rcx, rdi
call qword [rbx + 0x688]
jmp 0x140119017
cmp dword [0x14025908c], esi
je 0x140119017
mov rcx, rdi
call fcn.14011831c
mov rbp, rax
cmp rax, rsi
je 0x140119017
mov r8, qword [rax]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [r8 + 0x18]
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002a2b4
mov r8, qword [rsp + 0x48]
shr r8, 0x20
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14002a30c
mov dword [rbp + 0x18], 1
mov ebx, dword [rsp + 0x38]
mov dword [rsp + 0xb0], ebx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0xb4], eax
mov rcx, rdi
call fcn.14001246c
bt eax, 0x16
jae 0x140118fd3
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x38]
add ebx, eax
mov dword [rsp + 0xb0], ebx
mov rbx, qword [rdi + 0x40]
mov rax, qword [rdi]
mov rdx, qword [rsp + 0xb0]
mov rcx, rdi
call qword [rax + 0x580]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x140119017
mov dword [rbp + 0x18], esi
mov rdx, rbp
mov rcx, rdi
call fcn.140117db4
jmp 0x140119017
mov rcx, rdi
call fcn.14001bbfc
jmp 0x140119017
call fcn.1400d155c
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret