Function at 0x140113bdc
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 0x140113e0f
cmp byte [rdi + 0x1d0], 0
jne 0x140113c32
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001917c
cmp rax, rdi
je 0x140113c5a
cmp byte [rdi + 0x1d0], 0
je 0x140113c45
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001917c
cmp rax, rdi
jne 0x140113c5a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x140113c77
cmp dword [rdi + 0x498], 0
jne 0x140113c77
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [rdi + 0x1d0], 0
mov byte [rdi + 0x3c8], 0
cmp byte [rdi + 0x3c8], 0
je 0x140113e3c
mov rcx, qword [rdi + 0x40]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [rdi + 0x3c9], 0
jne 0x140113cb8
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.1400cf110
mov ecx, ebx
call fcn.140184bc0
cmp eax, dword [0x140258ef0]
jg 0x140113d49
mov ecx, ebp
call fcn.140184bc0
cmp eax, dword [0x140258ef4]
jle 0x140113e6a
cmp byte [rdi + 0x3c9], 0
je 0x140113e6a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x288]
test eax, eax
je 0x140113da6
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001917c
lea rcx, str.CMFCBaseTabCtrl
mov rdx, rax
call fcn.1400577f4
test rax, rax
je 0x140113dff
mov r10, qword [rax]
xor r9d, r9d
or r8d, 0xffffffff
lea edx, [r9 + 1]
mov rcx, rax
call qword [r10 + 0x2f0]
jmp 0x140113dff
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.1400ca09c
lea rcx, vtable.CGlobalUtils.0
xor r9d, r9d
mov rdx, rax
xor r8d, r8d
call fcn.1400ca324
mov byte [rdi + 0x3c8], 0
mov byte [rdi + 0x3c9], 0
jmp 0x140113e6a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x320]
test al, 2
je 0x140113e3c
cmp byte [rdi + 0x3c8], 0
je 0x140113e3c
mov r8, qword [rsp + 0x80]
mov edx, ebx
mov rcx, rdi
call fcn.1400cf790
jmp 0x140113e6a
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