Function at 0x140022fd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov edi, r9d
mov r12, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140022ff8
lea eax, [rdx + 0xb]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdx + 0x110]
xor r8d, r8d
mov rdx, r12
add rcx, 0x20
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r15
call fcn.1400b3330
lea rcx, [rbx + 0x50]
mov r13, rax
call fcn.140031ee0
test al, al
jne 0x140023074
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140023048
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140023074
mov rcx, qword [0x1402711c0]
lea rdx, [rsi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
mov rdx, rsi
mov rcx, rbx
call fcn.140023510
lea rcx, [rsi + 8]
mov edx, eax
call fcn.14006cdb0
jmp 0x1400234ee
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], r14
call fcn.1400326a0
mov rcx, r12
mov ebp, eax
call fcn.140031bd0
test eax, eax
je 0x1400230ad
lea rcx, [rbx + 0x1060]
call fcn.140031bd0
test eax, eax
jne 0x1400230ad
lea r14d, [rax + 1]
jmp 0x1400230b0
xor r14d, r14d
lea rcx, [rbx + 0x50]
call fcn.140031ee0
test al, al
jne 0x1400230f0
test ebp, ebp
jne 0x1400230ca
test r14d, r14d
jne 0x1400230ca
test edi, edi
je 0x1400230f0
mov rcx, qword [0x1402711c0]
lea rdx, [rsi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
xor edx, edx
mov rcx, rsi
call fcn.1400ae9d0
lea rcx, [rsi + 8]
mov edx, eax
call fcn.14006cdb0
mov rcx, qword [rbx + 0xc50]
test rcx, rcx
je 0x140023108
mov rax, qword [rcx]
call qword [rax + 0x18]
xor ebp, ebp
mov edi, eax
jmp 0x14002310c
xor ebp, ebp
mov edi, ebp
lea rcx, [rbx + 0x50]
mov dword [rsp + 0x68], edi
call fcn.140031ee0
test al, al
je 0x1400231ad
test edi, edi
je 0x14002328b
cmp dword [rbx + 0xd40], 0
jne 0x1400231e0
mov rcx, r13
call fcn.14000d9b0
test al, al
jne 0x14002315d
mov rdx, r13
mov rcx, rbx
call fcn.140030a90
mov rcx, rax
call fcn.14000d9b0
test al, al
jne 0x1400231e0
mov rcx, qword [rsi + 0x110]
add rcx, 0x20
call fcn.1400b3320
test eax, eax
jne 0x140023188
mov rcx, qword [rsi + 0x110]
add rcx, 0xf0
call fcn.1400b3320
test eax, eax
jne 0x1400231e0
mov rcx, r12
call fcn.140031e40
test eax, eax
jne 0x14002328b
lea rcx, [rbx + 0x1060]
call fcn.140031e40
test eax, eax
jne 0x1400231e0
jmp 0x14002328b
mov rcx, qword [rsi + 0x110]
add rcx, 0x20
call fcn.1400b3320
test eax, eax
jne 0x14002328b
mov rcx, qword [rsi + 0x110]
add rcx, 0xf0
call fcn.1400b3320
test eax, eax
je 0x14002328b
mov rcx, qword [rbx + 0x348]
test rcx, rcx
je 0x14002328b
mov dword [rsp + 0x24], ebp
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
lea r8, [rsp + 0x24]
mov edx, 0x12
call qword [rax + 0x38]
mov rcx, qword [rbx + 0x348]
lea r8, [rsp + 0x20]
mov rax, qword [rcx]
mov edx, 0x11
call qword [rax + 0x38]
mov edi, dword [rsp + 0x20]
test edi, edi
je 0x140023266
mov rcx, r12
call fcn.14000f470
mov edx, dword [rsp + 0x24]
cmp eax, edx
jb 0x14002323b
sub eax, edx
jmp 0x14002324a
or ecx, 0xffffffff
sub ecx, edx
cmp ecx, 0x1388
ja 0x140023255
add eax, ecx
cmp eax, edi
mov ecx, ebp
seta cl
test ecx, ecx
jne 0x140023266
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020280
jmp 0x14002328b
mov r8d, dword [rbx + 0xd3c]
mov rcx, qword [0x1402711c0]
lea rdx, [rsi + 0xa]
lea r9, [0x140025c40]
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [rbx + 0xd40], ebp
lea rcx, [rbx + 0x50]
call fcn.140031ee0
test al, al
je 0x140023303
mov r13d, dword [rsp + 0x68]
test r13d, r13d
je 0x14002334d
test r14d, r14d
jne 0x1400232f2
mov rcx, qword [rsi + 0x110]
add rcx, 0x20
call fcn.1400b3320
test eax, eax
je 0x1400232d6
mov rcx, qword [rsi + 0x110]
add rcx, 0xf0
call fcn.1400b3320
test eax, eax
je 0x1400232f2
mov rcx, r12
call fcn.140031e40
test eax, eax
je 0x14002334b
lea rcx, [rbx + 0x1060]
call fcn.140031e40
test eax, eax
jne 0x14002334b
mov ebp, 1
mov dword [rbx + 0xd40], 0
jmp 0x14002334d
mov rcx, qword [rsi + 0x110]
add rcx, 0x20
call fcn.1400b3320
test eax, eax
je 0x140023346
mov rcx, qword [rsi + 0x110]
add rcx, 0xf0
call fcn.1400b3320
test eax, eax
jne 0x140023346
mov rcx, r13
call fcn.140032660
test al, al
jne 0x140023346
mov r13d, dword [rsp + 0x68]
mov ebp, 1
jmp 0x14002334d
mov r13d, dword [rsp + 0x68]
xor ebp, ebp
cmp qword [rbx + 0x348], 0
mov r14, qword [rsp + 0x78]
je 0x1400234c2
mov rcx, qword [rsi + 0x110]
add rcx, 0x20
call fcn.1400b3320
test eax, eax
je 0x1400234c2
mov rcx, qword [rbx + 0x348]
xor r8d, r8d
xor edx, edx
call fcn.1400aa8a0
bt eax, 0x12
jae 0x1400234c2
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x14002341e
mov rcx, qword [rdi]
lea rdx, str.Right_Edge_Pull
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x1400233bf
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1400233a0
jmp 0x14002341e
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002341e
mov rdx, r12
call fcn.14002f9b0
cmp eax, 1
jne 0x14002341e
cmp dword [rbx + 0xf7c], 0
mov dword [rbx + 0xf80], eax
jne 0x1400233ff
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400233f0
lea rcx, [rbx + 0x70]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x60]
test eax, eax
jne 0x14002340f
inc dword [rbx + 0x7c0]
mov dword [rbx + 0xf7c], 1
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020280
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1400234c2
nop dword [rax + rax]
mov rcx, qword [rdi]
lea rdx, str.4FVertical_Scrolling
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x14002344f
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140023430
jmp 0x1400234c2
mov rdi, qword [rdi]
test rdi, rdi
je 0x1400234c2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400aaae0
test al, 2
je 0x1400234c2
mov rdx, r12
mov rcx, rdi
call fcn.14002f9b0
cmp eax, 1
jne 0x1400234c2
cmp dword [rbx + 0xf7c], 0
mov dword [rbx + 0xf80], eax
jne 0x1400234a3
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x140023494
lea rcx, [rbx + 0x70]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x60]
test eax, eax
jne 0x1400234b3
inc dword [rbx + 0x7c0]
mov dword [rbx + 0xf7c], 1
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020280
test ebp, ebp
mov rbp, qword [rsp + 0x60]
jne 0x1400234dd
lea rcx, [rbx + 0x50]
call fcn.140031ee0
test al, al
je 0x1400234ee
test r13d, r13d
jne 0x1400234ee
mov rcx, qword [0x1402711c0]
lea rdx, [rsi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [rsi + 0x28]
mov r13, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret