Function at 0x140095a10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403e39c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rbx, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
xor r13d, r13d
test ax, ax
jns 0x140095a57
lea eax, [r13 + 1]
jmp 0x140095ded
mov rdx, rbx
lea rcx, str.CPaneFrameWnd
mov esi, 1
call fcn.14003f75c
mov r14, rax
mov rax, qword [rdi + 0x308]
test rax, rax
je 0x140095a89
cmp dword [rax + 0xc], r13d
je 0x140095a89
mov r12d, esi
cmp dword [rax + 8], r13d
jne 0x140095a8c
mov r12d, r13d
test r14, r14
je 0x140095deb
mov rcx, qword [rbx + 0x40]
lea rdx, [rbp - 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x2e0]
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], eax
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x14], eax
lea rcx, vtable.CGlobalUtils.0
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], eax
call fcn.14006a9d0
mov r9d, dword [rbp - 0x24]
xor edx, edx
mov r8d, dword [rbp - 0x28]
mov rcx, r14
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayUnlock
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call fcn.14003dd78
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r13
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x350]
mov rdx, rax
lea rcx, str.CPane
call fcn.14003f75c
mov r15, rax
test rax, rax
je 0x140095b60
test r12d, r12d
jne 0x140095c30
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x380]
test al, 0x40
je 0x140095c30
lea rdx, str.CDockablePane
mov rcx, r15
call fcn.14003f80c
test eax, eax
je 0x140095c30
mov rax, qword [rdi]
mov r9d, esi
mov rdx, qword [rbp - 0x18]
mov r8, r14
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov r13, rax
test rax, rax
je 0x140095c2d
mov rcx, qword [rax + 0x130]
call fcn.1400361a4
mov rcx, qword [r14 + 0x130]
mov rbx, rax
call fcn.1400361a4
cmp rbx, rax
jne 0x140095c2d
mov rdx, r13
lea rcx, str.CMultiPaneFrameWnd
call fcn.14003f75c
xor r15d, r15d
mov rbx, rax
test rax, rax
je 0x140095deb
cmp qword [rdi + 0x1f8], r15
jne 0x140095bdc
call fcn.14029145c
mov dword [rdi + 0x200], eax
mov qword [rdi + 0x1f8], rbx
cmp qword [rdi + 0x1f8], rbx
jne 0x140095deb
call fcn.14029145c
sub eax, dword [rdi + 0x200]
cmp eax, dword [0x1403e283c]
jle 0x140095deb
mov rax, qword [rbx]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [rax + 0x490]
mov ebx, eax
call fcn.14029145c
mov dword [rdi + 0x200], eax
mov eax, ebx
mov qword [rdi + 0x1f8], r15
jmp 0x140095ded
xor r13d, r13d
mov qword [rdi + 0x1f8], r13
test r15, r15
je 0x140095deb
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x330]
test eax, 0xf000
je 0x140095deb
mov rax, qword [r15]
lea r8, [rbp - 0x28]
mov edx, dword [reloc.OLEAUT32.dll_SafeArrayDestroy]
mov rcx, r15
mov qword [rbp - 0x28], r13
call qword [rax + 0x568]
mov rcx, qword [rbp - 0x28]
mov ebx, eax
cmp r15, rcx
cmove ebx, r13d
test rcx, rcx
jne 0x140095c8c
cmp ebx, 2
jne 0x140095d39
test r12d, r12d
jne 0x140095d39
test rcx, rcx
je 0x140095cad
lea rdx, str.CDockSite
call fcn.14003f80c
mov rcx, qword [rbp - 0x28]
mov r13d, eax
mov dword [rbp - 0x30], r13d
test rcx, rcx
je 0x140095cc8
lea rdx, str.CDockablePane
call fcn.14003f80c
mov rcx, qword [rbp - 0x28]
jmp 0x140095cca
mov eax, esi
test r13d, r13d
jne 0x140095cd6
xor r13d, r13d
test eax, eax
je 0x140095d39
mov r13d, dword [0x1403e283c]
xor eax, eax
cmp dword [rbp - 0x30], eax
cmovne r13d, dword [0x1403e2838]
cmp qword [rdi + 0x1f0], rcx
jne 0x140095cfb
cmp ebx, dword [rdi + 0x204]
je 0x140095d22
call fcn.14029145c
mov dword [rdi + 0x200], eax
mov edx, r13d
mov rax, qword [rbp - 0x28]
mov rcx, r14
mov qword [rdi + 0x1f0], rax
mov dword [rdi + 0x204], ebx
call fcn.14008aff4
call fcn.14029145c
sub eax, dword [rdi + 0x200]
cmp eax, r13d
jl 0x140095deb
xor r13d, r13d
mov qword [rdi + 0x1f0], r13
call fcn.14029145c
mov rcx, r14
mov dword [rdi + 0x200], eax
mov dword [rdi + 0x204], r13d
call fcn.140086b8c
cmp ebx, esi
jne 0x140095d93
mov r8, qword [rbp - 0x28]
test r8, r8
je 0x140095dd8
mov rax, qword [r14]
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [rax + 0x320]
mov rax, qword [r15]
mov rcx, r15
mov rdx, qword [rbp - 0x28]
call qword [rax + 0x540]
test eax, eax
je 0x140095dd4
xor eax, eax
jmp 0x140095ded
cmp ebx, 2
jne 0x140095da5
test r12d, r12d
jne 0x140095dd4
mov r8, qword [rbp - 0x28]
mov edx, esi
jmp 0x140095dda
cmp ebx, 3
jne 0x140095dd4
test r12d, r12d
jne 0x140095dd4
mov rax, qword [r14]
lea edx, [rbx - 1]
mov r8, qword [rbp - 0x28]
mov r9d, esi
mov rcx, r14
call qword [rax + 0x320]
xor edx, edx
mov rcx, rdi
mov esi, eax
mov rax, qword [rdi]
call qword [rax + VarBstrFromDate]
jmp 0x140095deb
mov r8, qword [rbp - 0x28]
xor edx, edx
mov rax, qword [r14]
mov r9d, esi
mov rcx, r14
call qword [rax + 0x320]
mov esi, eax
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402410d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret