Function at 0x1401168a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [rsp + 0x70]
mov ebx, edx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x320]
test al, 1
je 0x140116ad3
cmp byte [rdi + 0x1d0], 0
jne 0x1401168f6
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001bcf8
cmp rax, rdi
je 0x14011691e
cmp byte [rdi + 0x1d0], 0
je 0x140116909
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001bcf8
cmp rax, rdi
jne 0x14011691e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x14011693b
cmp dword [rdi + 0x498], 0
jne 0x14011693b
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [rdi + 0x1d0], 0
mov byte [rdi + 0x3c8], 0
cmp byte [rdi + 0x3c8], 0
je 0x140116b00
mov rcx, qword [rdi + 0x40]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [rdi + 0x3c9], 0
jne 0x14011697c
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
sete al
mov byte [rdi + 0x3c9], al
mov rcx, qword [rsp + 0x70]
mov rax, qword [rdi + 0x200]
mov edx, ecx
mov qword [rdi + 0x200], rcx
mov rcx, qword [rdi + 0x40]
sub edx, eax
shr rax, 0x20
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x74]
sub edx, eax
mov rax, qword [rdi + 0x1c8]
mov dword [rsp + 0x24], edx
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x88], rax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x88]
mov ebx, dword [rsp + 0x70]
mov ebp, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x20]
sub ebx, eax
shr rax, 0x20
mov rcx, rdi
sub ebp, eax
call fcn.1400d1cbc
mov ecx, ebx
call fcn.140187808
cmp eax, dword [0x14025cfb0]
jg 0x140116a0d
mov ecx, ebp
call fcn.140187808
cmp eax, dword [0x14025cfb4]
jle 0x140116b2e
cmp byte [rdi + 0x3c9], 0
je 0x140116b2e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x288]
test eax, eax
je 0x140116a6a
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001bcf8
lea rcx, str.CMFCBaseTabCtrl
mov rdx, rax
call fcn.14005a468
test rax, rax
je 0x140116ac3
mov r10, qword [rax]
xor r9d, r9d
or r8d, 0xffffffff
lea edx, [r9 + 1]
mov rcx, rax
call qword [r10 + 0x2f0]
jmp 0x140116ac3
movdqu xmm0, xmmword [rdi + 0x280]
mov rax, qword [rdi]
lea rdx, [rsp + 0x20]
mov r9b, 1
mov r8d, 1
mov rcx, rdi
movdqu xmmword [rsp + 0x20], xmm0
call qword [rax + 0x3a8]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x2e8]
lea rcx, vtable.CGlobalUtils.0
mov rdx, rax
call fcn.1400ccc48
lea rcx, vtable.CGlobalUtils.0
xor r9d, r9d
mov rdx, rax
xor r8d, r8d
call fcn.1400cced0
mov byte [rdi + 0x3c8], 0
mov byte [rdi + 0x3c9], 0
jmp 0x140116b2e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x320]
test al, 2
je 0x140116b00
cmp byte [rdi + 0x3c8], 0
je 0x140116b00
mov r8, qword [rsp + 0x80]
mov edx, ebx
mov rcx, rdi
call fcn.1400d233c
jmp 0x140116b2e
mov rax, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x40]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r11, qword [rdi]
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [r11 + 0x6d0]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret