Function at 0x14009c9ac
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbx, rdx
mov edx, dword [rdx + 8]
mov eax, 0x105
mov rdi, rcx
cmp edx, eax
ja 0x14009ccb5
je 0x14009cbb0
cmp edx, 0x7b
je 0x14009cb30
cmp edx, 0xa0
jbe 0x14009cb8c
cmp edx, 0xa2
jbe 0x14009cb0a
cmp edx, 0xa3
jbe 0x14009cb8c
cmp edx, 0xa5
jbe 0x14009cb0a
cmp edx, 0xa6
jbe 0x14009cb8c
cmp edx, 0xa8
jbe 0x14009cb0a
cmp edx, 0x100
je 0x14009ca77
cmp edx, 0x104
jne 0x14009cb8c
mov rcx, qword [rcx + 0x6c8]
test rcx, rcx
je 0x14009cb30
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1400d5784
test eax, eax
je 0x14009cb30
mov eax, 1
jmp 0x14009cb97
mov rcx, rbx
call fcn.14004d7fc
test eax, eax
jne 0x14009ca99
mov edx, dword [rbx + 0x10]
lea rcx, [rdi + 0x548]
xor r8d, r8d
call fcn.14004e1a0
test eax, eax
jne 0x14009ca6d
cmp qword [rbx + 0x10], 0x1b
jne 0x14009cb8c
cmp dword [rdi + 0x690], 0
je 0x14009cabc
lea rcx, [rdi + 0x670]
mov rdx, rdi
call fcn.1400e38b8
mov rcx, qword [rdi + 0x4e8]
test rcx, rcx
je 0x14009cad9
cmp dword [rcx + 0xc], 0
je 0x14009cad9
cmp dword [rcx + 8], 0
je 0x14009cad9
call fcn.1400e36dc
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001bcf4
lea rcx, str.CPaneDivider
mov rdx, rax
call fcn.14005a7e4
test rax, rax
je 0x14009cb8c
mov rcx, qword [rax + 0x40]
mov edx, 0x1f
jmp 0x14009cb61
movsx eax, word [rbx + 0x18]
mov r9, qword [rbx]
add rcx, 0x548
mov dword [rsp + 0x48], eax
movsx eax, word [rbx + 0x1a]
mov dword [rsp + 0x4c], eax
mov r8, qword [rsp + 0x48]
call fcn.14004e4e4
jmp 0x14009cb84
mov rcx, qword [0x140258f68]
test rcx, rcx
je 0x14009cb72
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009cb72
cmp qword [rbx + 0x10], 0x12
jne 0x14009cb72
mov rcx, qword [0x140258f68]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009ca6d
mov edx, dword [rbx + 0x10]
lea rcx, [rdi + 0x548]
xor r8d, r8d
call fcn.14004e1a0
test eax, eax
jne 0x14009ca6d
mov rdx, rbx
mov rcx, rdi
call fcn.14010b36c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rcx + 0x6c8]
test rcx, rcx
je 0x14009cbd4
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1400d4ab0
test eax, eax
jne 0x14009ca6d
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r12w, ax
shr r12d, 0xf
and r12d, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rdi + 0x40]
mov r13w, ax
shr r13d, 0xf
and r13d, 1
call sub.IMM32.dll_ImmGetContext
mov rsi, rax
test rax, rax
je 0x14009cc26
mov rcx, rax
call sub.IMM32.dll_ImmGetOpenStatus
test eax, eax
je 0x14009cc26
mov ebp, 1
jmp 0x14009cc28
xor ebp, ebp
test rsi, rsi
je 0x14009cc39
mov rcx, qword [rdi + 0x40]
mov rdx, rsi
call sub.IMM32.dll_ImmReleaseContext
cmp qword [rdi + 0x658], 0
je 0x14009cc96
cmp qword [rbx + 0x10], 0x12
je 0x14009cc5f
cmp qword [rbx + 0x10], 0x79
jne 0x14009cc96
test r12d, r12d
jne 0x14009cc96
test r13d, r13d
jne 0x14009cc96
test ebp, ebp
jne 0x14009cc96
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14001bcf4
mov rcx, qword [rdi + 0x658]
cmp rcx, rax
jne 0x14009cc7e
mov rcx, rdi
jmp 0x14009cc8c
mov eax, dword [rbx + 0x18]
bt rax, 0x1d
jb 0x14009ca6d
call fcn.1400126b0
jmp 0x14009ca6d
mov rcx, qword [0x140258f68]
test rcx, rcx
je 0x14009cb8c
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
jmp 0x14009cb84
cmp edx, 0x200
je 0x14009cd87
cmp edx, 0x201
je 0x14009cd16
cmp edx, 0x203
jbe 0x14009cb8c
cmp edx, 0x205
jbe 0x14009cd16
cmp edx, 0x206
jbe 0x14009cb8c
cmp edx, 0x208
jbe 0x14009cd16
cmp edx, 0x20a
jne 0x14009cb8c
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
add rcx, 0x548
call fcn.14004ea4c
jmp 0x14009cb84
movsx eax, word [rbx + 0x18]
mov rcx, qword [rbx]
mov dword [rsp + 0x48], eax
movsx eax, word [rbx + 0x1a]
mov dword [rsp + 0x4c], eax
call fcn.14001bcf4
mov rsi, rax
test rax, rax
je 0x14009cd52
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009cd52
mov rcx, qword [rsi + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r9, qword [rbx]
mov r8, qword [rsp + 0x48]
mov edx, dword [rbx + 8]
lea rcx, [rdi + 0x548]
call fcn.14004e4e4
test eax, eax
jne 0x14009ca6d
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14009cb8c
jmp 0x14009ca6d
movsx eax, word [rbx + 0x18]
mov rcx, qword [rbx]
mov dword [rsp + 0x48], eax
movsx eax, word [rbx + 0x1a]
mov dword [rsp + 0x4c], eax
call fcn.14001bcf4
test rax, rax
je 0x14009cdb3
mov rcx, qword [rax + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdi + 0x548]
call fcn.14004e988
jmp 0x14009cb84