Function at 0x140099864
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 0x140099b6d
je 0x140099a68
cmp edx, 0x7b
je 0x1400999e8
cmp edx, 0xa0
jbe 0x140099a44
cmp edx, 0xa2
jbe 0x1400999c2
cmp edx, 0xa3
jbe 0x140099a44
cmp edx, 0xa5
jbe 0x1400999c2
cmp edx, 0xa6
jbe 0x140099a44
cmp edx, 0xa8
jbe 0x1400999c2
cmp edx, 0x100
je 0x14009992f
cmp edx, 0x104
jne 0x140099a44
mov rcx, qword [rcx + 0x6c8]
test rcx, rcx
je 0x1400999e8
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1400d266c
test eax, eax
je 0x1400999e8
mov eax, 1
jmp 0x140099a4f
mov rcx, rbx
call fcn.14004aa24
test eax, eax
jne 0x140099951
mov edx, dword [rbx + 0x10]
lea rcx, [rdi + 0x548]
xor r8d, r8d
call fcn.14004b38c
test eax, eax
jne 0x140099925
cmp qword [rbx + 0x10], 0x1b
jne 0x140099a44
cmp dword [rdi + 0x690], 0
je 0x140099974
lea rcx, [rdi + 0x670]
mov rdx, rdi
call fcn.1400e0784
mov rcx, qword [rdi + 0x4e8]
test rcx, rcx
je 0x140099991
cmp dword [rcx + 0xc], 0
je 0x140099991
cmp dword [rcx + 8], 0
je 0x140099991
call fcn.1400e05a8
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.14001917c
lea rcx, str.CPaneDivider
mov rdx, rax
call fcn.1400577f4
test rax, rax
je 0x140099a44
mov rcx, qword [rax + 0x40]
mov edx, 0x1f
jmp 0x140099a19
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.14004b6d0
jmp 0x140099a3c
mov rcx, qword [0x140255ec8]
test rcx, rcx
je 0x140099a2a
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140099a2a
cmp qword [rbx + 0x10], 0x12
jne 0x140099a2a
mov rcx, qword [0x140255ec8]
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 0x140099925
mov edx, dword [rbx + 0x10]
lea rcx, [rdi + 0x548]
xor r8d, r8d
call fcn.14004b38c
test eax, eax
jne 0x140099925
mov rdx, rbx
mov rcx, rdi
call fcn.1401081ac
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 0x140099a8c
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1400d1940
test eax, eax
jne 0x140099925
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 0x140099ade
mov rcx, rax
call sub.IMM32.dll_ImmGetOpenStatus
test eax, eax
je 0x140099ade
mov ebp, 1
jmp 0x140099ae0
xor ebp, ebp
test rsi, rsi
je 0x140099af1
mov rcx, qword [rdi + 0x40]
mov rdx, rsi
call sub.IMM32.dll_ImmReleaseContext
cmp qword [rdi + 0x658], 0
je 0x140099b4e
cmp qword [rbx + 0x10], 0x12
je 0x140099b17
cmp qword [rbx + 0x10], 0x79
jne 0x140099b4e
test r12d, r12d
jne 0x140099b4e
test r13d, r13d
jne 0x140099b4e
test ebp, ebp
jne 0x140099b4e
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14001917c
mov rcx, qword [rdi + 0x658]
cmp rcx, rax
jne 0x140099b36
mov rcx, rdi
jmp 0x140099b44
mov eax, dword [rbx + 0x18]
bt rax, 0x1d
jb 0x140099925
call fcn.14000fb24
jmp 0x140099925
mov rcx, qword [0x140255ec8]
test rcx, rcx
je 0x140099a44
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
jmp 0x140099a3c
cmp edx, 0x200
je 0x140099c3f
cmp edx, 0x201
je 0x140099bce
cmp edx, 0x203
jbe 0x140099a44
cmp edx, 0x205
jbe 0x140099bce
cmp edx, 0x206
jbe 0x140099a44
cmp edx, 0x208
jbe 0x140099bce
cmp edx, 0x20a
jne 0x140099a44
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
add rcx, 0x548
call fcn.14004bc38
jmp 0x140099a3c
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.14001917c
mov rsi, rax
test rax, rax
je 0x140099c0a
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140099c0a
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.14004b6d0
test eax, eax
jne 0x140099925
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140099a44
jmp 0x140099925
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.14001917c
test rax, rax
je 0x140099c6b
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.14004bb74
jmp 0x140099a3c