Function at 0x140116924
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 0x140116b57
cmp byte [rdi + 0x1d0], 0
jne 0x14011697a
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001bcf4
cmp rax, rdi
je 0x1401169a2
cmp byte [rdi + 0x1d0], 0
je 0x14011698d
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001bcf4
cmp rax, rdi
jne 0x1401169a2
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1401169bf
cmp dword [rdi + 0x498], 0
jne 0x1401169bf
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [rdi + 0x1d0], 0
mov byte [rdi + 0x3c8], 0
cmp byte [rdi + 0x3c8], 0
je 0x140116b84
mov rcx, qword [rdi + 0x40]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [rdi + 0x3c9], 0
jne 0x140116a00
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.1400d24b8
mov ecx, ebx
call fcn.1401878d8
cmp eax, dword [0x14025bf90]
jg 0x140116a91
mov ecx, ebp
call fcn.1401878d8
cmp eax, dword [0x14025bf94]
jle 0x140116bb2
cmp byte [rdi + 0x3c9], 0
je 0x140116bb2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x288]
test eax, eax
je 0x140116aee
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001bcf4
lea rcx, str.CMFCBaseTabCtrl
mov rdx, rax
call fcn.14005a7e4
test rax, rax
je 0x140116b47
mov r10, qword [rax]
xor r9d, r9d
or r8d, 0xffffffff
lea edx, [r9 + 1]
mov rcx, rax
call qword [r10 + 0x2f0]
jmp 0x140116b47
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.1400cd444
lea rcx, vtable.CGlobalUtils.0
xor r9d, r9d
mov rdx, rax
xor r8d, r8d
call fcn.1400cd6cc
mov byte [rdi + 0x3c8], 0
mov byte [rdi + 0x3c9], 0
jmp 0x140116bb2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x320]
test al, 2
je 0x140116b84
cmp byte [rdi + 0x3c8], 0
je 0x140116b84
mov r8, qword [rsp + 0x80]
mov edx, ebx
mov rcx, rdi
call fcn.1400d2b38
jmp 0x140116bb2
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