Function at 0x140022fa0
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 0x140022fc8
lea eax, [rdx + 0xb]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdx + 0x108]
xor r8d, r8d
mov rdx, r12
add rcx, 0x20
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r15
call fcn.1400b2050
lea rcx, [rbx + 0x50]
mov r13, rax
call fcn.140031c40
test al, al
jne 0x140023044
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140023018
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140023044
mov rcx, qword [0x14026e190]
lea rdx, [rsi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
mov rdx, rsi
mov rcx, rbx
call fcn.1400234e0
lea rcx, [rsi + 8]
mov edx, eax
call fcn.14006cbc0
jmp 0x1400234be
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], r14
call fcn.140032400
mov rcx, r12
mov ebp, eax
call fcn.140031930
test eax, eax
je 0x14002307d
lea rcx, [rbx + 0x1060]
call fcn.140031930
test eax, eax
jne 0x14002307d
lea r14d, [rax + 1]
jmp 0x140023080
xor r14d, r14d
lea rcx, [rbx + 0x50]
call fcn.140031c40
test al, al
jne 0x1400230c0
test ebp, ebp
jne 0x14002309a
test r14d, r14d
jne 0x14002309a
test edi, edi
je 0x1400230c0
mov rcx, qword [0x14026e190]
lea rdx, [rsi + 0xa]
call qword [sym.imp.USER32.dll_KillTimer]
xor edx, edx
mov rcx, rsi
call fcn.1400ad890
lea rcx, [rsi + 8]
mov edx, eax
call fcn.14006cbc0
mov rcx, qword [rbx + 0xc50]
test rcx, rcx
je 0x1400230d8
mov rax, qword [rcx]
call qword [rax + 0x18]
xor ebp, ebp
mov edi, eax
jmp 0x1400230dc
xor ebp, ebp
mov edi, ebp
lea rcx, [rbx + 0x50]
mov dword [rsp + 0x68], edi
call fcn.140031c40
test al, al
je 0x14002317d
test edi, edi
je 0x14002325b
cmp dword [rbx + 0xd40], 0
jne 0x1400231b0
mov rcx, r13
call fcn.14000dbf0
test al, al
jne 0x14002312d
mov rdx, r13
mov rcx, rbx
call fcn.1400307f0
mov rcx, rax
call fcn.14000dbf0
test al, al
jne 0x1400231b0
mov rcx, qword [rsi + 0x108]
add rcx, 0x20
call fcn.1400b2040
test eax, eax
jne 0x140023158
mov rcx, qword [rsi + 0x108]
add rcx, 0xf0
call fcn.1400b2040
test eax, eax
jne 0x1400231b0
mov rcx, r12
call fcn.140031ba0
test eax, eax
jne 0x14002325b
lea rcx, [rbx + 0x1060]
call fcn.140031ba0
test eax, eax
jne 0x1400231b0
jmp 0x14002325b
mov rcx, qword [rsi + 0x108]
add rcx, 0x20
call fcn.1400b2040
test eax, eax
jne 0x14002325b
mov rcx, qword [rsi + 0x108]
add rcx, 0xf0
call fcn.1400b2040
test eax, eax
je 0x14002325b
mov rcx, qword [rbx + 0x348]
test rcx, rcx
je 0x14002325b
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 0x140023236
mov rcx, r12
call fcn.14000f6b0
mov edx, dword [rsp + 0x24]
cmp eax, edx
jb 0x14002320b
sub eax, edx
jmp 0x14002321a
or ecx, 0xffffffff
sub ecx, edx
cmp ecx, 0x1388
ja 0x140023225
add eax, ecx
cmp eax, edi
mov ecx, ebp
seta cl
test ecx, ecx
jne 0x140023236
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020240
jmp 0x14002325b
mov r8d, dword [rbx + 0xd3c]
mov rcx, qword [0x14026e190]
lea rdx, [rsi + 0xa]
lea r9, [0x140025af0]
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [rbx + 0xd40], ebp
lea rcx, [rbx + 0x50]
call fcn.140031c40
test al, al
je 0x1400232d3
mov r13d, dword [rsp + 0x68]
test r13d, r13d
je 0x14002331d
test r14d, r14d
jne 0x1400232c2
mov rcx, qword [rsi + 0x108]
add rcx, 0x20
call fcn.1400b2040
test eax, eax
je 0x1400232a6
mov rcx, qword [rsi + 0x108]
add rcx, 0xf0
call fcn.1400b2040
test eax, eax
je 0x1400232c2
mov rcx, r12
call fcn.140031ba0
test eax, eax
je 0x14002331b
lea rcx, [rbx + 0x1060]
call fcn.140031ba0
test eax, eax
jne 0x14002331b
mov ebp, 1
mov dword [rbx + 0xd40], 0
jmp 0x14002331d
mov rcx, qword [rsi + 0x108]
add rcx, 0x20
call fcn.1400b2040
test eax, eax
je 0x140023316
mov rcx, qword [rsi + 0x108]
add rcx, 0xf0
call fcn.1400b2040
test eax, eax
jne 0x140023316
mov rcx, r13
call fcn.1400323c0
test al, al
jne 0x140023316
mov r13d, dword [rsp + 0x68]
mov ebp, 1
jmp 0x14002331d
mov r13d, dword [rsp + 0x68]
xor ebp, ebp
cmp qword [rbx + 0x348], 0
mov r14, qword [rsp + 0x78]
je 0x140023492
mov rcx, qword [rsi + 0x108]
add rcx, 0x20
call fcn.1400b2040
test eax, eax
je 0x140023492
mov rcx, qword [rbx + 0x348]
xor r8d, r8d
xor edx, edx
call fcn.1400a9790
bt eax, 0x12
jae 0x140023492
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1400233ee
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 0x14002338f
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140023370
jmp 0x1400233ee
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400233ee
mov rdx, r12
call fcn.14002f880
cmp eax, 1
jne 0x1400233ee
cmp dword [rbx + 0xf7c], 0
mov dword [rbx + 0xf80], eax
jne 0x1400233cf
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400233c0
lea rcx, [rbx + 0x70]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x60]
test eax, eax
jne 0x1400233df
inc dword [rbx + 0x7c0]
mov dword [rbx + 0xf7c], 1
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020240
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x140023492
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 0x14002341f
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140023400
jmp 0x140023492
mov rdi, qword [rdi]
test rdi, rdi
je 0x140023492
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400a99d0
test al, 2
je 0x140023492
mov rdx, r12
mov rcx, rdi
call fcn.14002f880
cmp eax, 1
jne 0x140023492
cmp dword [rbx + 0xf7c], 0
mov dword [rbx + 0xf80], eax
jne 0x140023473
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x140023464
lea rcx, [rbx + 0x70]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x60]
test eax, eax
jne 0x140023483
inc dword [rbx + 0x7c0]
mov dword [rbx + 0xf7c], 1
mov rdx, qword [rbx + 0x348]
mov rcx, rbx
call fcn.140020240
test ebp, ebp
mov rbp, qword [rsp + 0x60]
jne 0x1400234ad
lea rcx, [rbx + 0x50]
call fcn.140031c40
test al, al
je 0x1400234be
test r13d, r13d
jne 0x1400234be
mov rcx, qword [0x14026e190]
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