Function at 0x140118b20
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 0x140118b59
mov byte [rcx + 0x3c8], sil
cmp dword [rcx + 0x494], esi
je 0x140118f8e
mov rax, qword [rcx]
call qword [rax + 0x2e8]
mov rdx, rax
lea rcx, vtable.CGlobalUtils.0
call fcn.1400ccc48
mov r14, rax
cmp rax, rsi
jne 0x140118b93
cmp dword [0x140250350], esi
jne 0x140118b93
call fcn.14001501c
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.1401158f4
mov rbp, rax
cmp ebx, r12d
jne 0x140118f84
mov ecx, r12d
mov edx, 8
sub ecx, edx
je 0x140118ea1
sub ecx, 1
je 0x140118cc1
cmp ecx, 0xa
je 0x140118bf2
mov rax, qword [rdi]
mov edx, r12d
mov rcx, rdi
call qword [rax + 0x6b8]
jmp 0x140118f84
mov rbx, qword [0x14025a570]
cmp rbx, rsi
jne 0x140118c09
mov rcx, rdi
call fcn.14001d3c8
mov rbx, rax
cmp rbx, rsi
je 0x140118cb0
mov rdx, rbx
lea rcx, str.CMDIFrameWndEx
call fcn.14005a468
cmp rax, rsi
je 0x140118c38
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3e0]
jmp 0x140118ca8
mov rdx, rbx
lea rcx, [0x1401c3da8]
call fcn.14005a468
cmp rax, rsi
je 0x140118c5e
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3a0]
jmp 0x140118ca8
mov rdx, rbx
lea rcx, str.COleIPFrameWndEx
call fcn.14005a468
cmp rax, rsi
je 0x140118c84
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3d0]
jmp 0x140118ca8
mov rdx, rbx
lea rcx, str.COleDocIPFrameWndEx
call fcn.14005a468
cmp rax, rsi
je 0x140118cb0
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x3d0]
cmp eax, esi
je 0x140118f84
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x570]
jmp 0x140118f84
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, si
je 0x140118e3b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x638]
cmp eax, esi
je 0x140118e3b
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 0x140118da6
mov edx, 0xa
lea rcx, [rsp + 0x58]
call fcn.1400c0b6c
nop
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.1400e1504
mov r12, qword [rsp + 0x60]
cmp r12, rsi
je 0x140118d9a
mov rdx, r12
cmp r12, rsi
je 0x140118d94
mov r12, qword [r12]
mov rdx, qword [rdx + 0x10]
lea rcx, str.CDockablePane
call fcn.14005a468
mov r14, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x638]
cmp eax, esi
je 0x140118d8d
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 0x140118d37
jmp 0x140118d9a
call fcn.14001501c
nop
lea rcx, [rsp + 0x58]
call fcn.1400c0b94
jmp 0x140118dd4
mov rcx, qword [rdi + 0x440]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov rdx, rax
lea rcx, str.CAutoHideDockSite
call fcn.14005a468
cmp rax, rsi
je 0x140118dd4
xor edx, edx
mov rcx, rax
call fcn.140122834
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.14005a468
cmp rax, rsi
je 0x140118e1a
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 0x140118f93
cmp r14, rsi
je 0x140118f93
cmp rbp, rsi
je 0x140118f93
mov ebx, dword [r14 + 0x1ec]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x2d8]
test ebx, eax
je 0x140118f93
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 0x140118f93
cmp dword [0x14025a0ac], esi
je 0x140118f93
mov rcx, rdi
call fcn.140118298
mov rbp, rax
cmp rax, rsi
je 0x140118f93
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.140029fe0
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.14002a038
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.140012358
bt eax, 0x16
jae 0x140118f4f
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 0x140118f93
mov dword [rbp + 0x18], esi
mov rdx, rbp
mov rcx, rdi
call fcn.140117d30
jmp 0x140118f93
mov rcx, rdi
call fcn.14001bc00
jmp 0x140118f93
call fcn.1400d0d60
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