Function at 0x1400cb034
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 [0x140247670]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rbx, rdx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
xor r13d, r13d
mov esi, 1
test ax, ax
js 0x1400cb461
mov rdx, rbx
lea rcx, str.CPaneFrameWnd
call fcn.14000f6c4
mov r14, rax
mov rax, qword [rdi + 0x308]
test rax, rax
je 0x1400cb0a8
cmp dword [rax + 0xc], r13d
je 0x1400cb0a8
mov r12d, esi
cmp dword [rax + 8], r13d
jne 0x1400cb0ab
mov r12d, r13d
test r14, r14
je 0x1400cb461
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
mov rax, qword [rax + 0x2e0]
call qword [case.0x1400372e6.0]
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.1400dff10
mov r9d, dword [rbp - 0x24]
xor edx, edx
mov r8d, dword [rbp - 0x28]
mov rcx, r14
mov dword [rsp + 0x30], 0x15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call fcn.1400167bc
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r13
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x350]
call qword [case.0x1400372e6.0]
mov rdx, rax
lea rcx, str.CPane
call fcn.14000f6c4
mov r15, rax
test rax, rax
je 0x1400cb194
test r12d, r12d
jne 0x1400cb271
mov rcx, qword [rax]
mov rax, qword [rcx + 0x380]
mov rcx, r15
call qword [case.0x1400372e6.0]
test al, 0x40
je 0x1400cb271
lea rdx, str.CDockablePane
mov rcx, r15
call fcn.14000f764
test eax, eax
je 0x1400cb271
mov rax, qword [rdi]
mov r9d, esi
mov rdx, qword [rbp - 0x18]
mov r8, r14
mov rcx, rdi
mov rax, qword [rax + 0x28]
call qword [case.0x1400372e6.0]
mov r13, rax
test rax, rax
je 0x1400cb26e
mov rcx, qword [rax + 0x130]
call fcn.14001ad68
mov rcx, qword [r14 + 0x130]
mov rbx, rax
call fcn.14001ad68
cmp rbx, rax
jne 0x1400cb26e
mov rdx, r13
lea rcx, str.CMultiPaneFrameWnd
call fcn.14000f6c4
xor r12d, r12d
mov rbx, rax
test rax, rax
je 0x1400cb461
mov rcx, qword [rdi + 0x1f8]
lea r15, [rdi + 0x200]
test rcx, rcx
jne 0x1400cb220
call fcn.1401a3ec8
mov dword [r15], eax
mov qword [rdi + 0x1f8], rbx
jmp 0x1400cb229
cmp rcx, rbx
jne 0x1400cb461
call fcn.1401a3ec8
sub eax, dword [r15]
cmp eax, dword [0x140246a2c]
jle 0x1400cb461
mov rax, qword [rbx]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
mov rax, qword [rax + 0x490]
call qword [case.0x1400372e6.0]
mov ebx, eax
call fcn.1401a3ec8
mov dword [r15], eax
mov eax, ebx
mov qword [rdi + 0x1f8], r12
jmp 0x1400cb463
xor r13d, r13d
mov qword [rdi + 0x1f8], r13
test r15, r15
je 0x1400cb461
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x330]
call qword [case.0x1400372e6.0]
test eax, 0xf000
je 0x1400cb461
mov rax, qword [r15]
lea r8, [rbp - 0x28]
mov edx, dword [0x140246a34]
mov rcx, r15
mov qword [rbp - 0x28], r13
mov rax, qword [rax + 0x568]
call qword [case.0x1400372e6.0]
mov rcx, qword [rbp - 0x28]
mov ebx, eax
cmp r15, rcx
cmove ebx, r13d
test rcx, rcx
jne 0x1400cb2db
cmp ebx, 2
jne 0x1400cb388
test r12d, r12d
jne 0x1400cb388
test rcx, rcx
je 0x1400cb2fc
lea rdx, str.CDockSite
call fcn.14000f764
mov rcx, qword [rbp - 0x28]
mov r13d, eax
mov dword [rbp - 0x30], r13d
test rcx, rcx
je 0x1400cb317
lea rdx, str.CDockablePane
call fcn.14000f764
mov rcx, qword [rbp - 0x28]
jmp 0x1400cb319
mov eax, esi
test r13d, r13d
jne 0x1400cb325
xor r13d, r13d
test eax, eax
je 0x1400cb388
mov r13d, dword [0x140246a2c]
xor eax, eax
cmp dword [rbp - 0x30], eax
cmovne r13d, dword [0x140246a28]
cmp qword [rdi + 0x1f0], rcx
jne 0x1400cb34a
cmp ebx, dword [rdi + 0x204]
je 0x1400cb371
call fcn.1401a3ec8
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.1400c6b84
call fcn.1401a3ec8
sub eax, dword [rdi + 0x200]
cmp eax, r13d
jl 0x1400cb461
xor r13d, r13d
mov qword [rdi + 0x1f0], r13
call fcn.1401a3ec8
mov rcx, r14
mov dword [rdi + 0x200], eax
mov dword [rdi + 0x204], r13d
call fcn.1400c2290
cmp ebx, esi
jne 0x1400cb3f4
mov r8, qword [rbp - 0x28]
test r8, r8
je 0x1400cb447
mov rax, qword [r14]
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rax, qword [rax + 0x320]
call qword [case.0x1400372e6.0]
mov rax, qword [r15]
mov rcx, r15
mov rdx, qword [rbp - 0x28]
mov rax, qword [rax + 0x540]
call qword [case.0x1400372e6.0]
test eax, eax
je 0x1400cb443
xor eax, eax
jmp 0x1400cb463
cmp ebx, 2
jne 0x1400cb406
test r12d, r12d
jne 0x1400cb443
mov r8, qword [rbp - 0x28]
mov edx, esi
jmp 0x1400cb449
cmp ebx, 3
jne 0x1400cb443
test r12d, r12d
jne 0x1400cb443
mov rax, qword [r14]
lea edx, [rbx - 1]
mov r8, qword [rbp - 0x28]
mov r9d, esi
mov rcx, r14
mov rax, qword [rax + 0x320]
call qword [case.0x1400372e6.0]
xor edx, edx
mov rcx, rdi
mov esi, eax
mov rax, qword [rdi]
mov rax, qword [rax + 0x70]
call qword [case.0x1400372e6.0]
jmp 0x1400cb461
mov r8, qword [rbp - 0x28]
xor edx, edx
mov rax, qword [r14]
mov r9d, esi
mov rcx, r14
mov rax, qword [rax + 0x320]
call qword [case.0x1400372e6.0]
mov esi, eax
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14018ce10
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret