Function at 0x180009240
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x180082010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rcx
cmp byte [0x180097fe9], 0
je 0x1800089bb
call fcn.1800162c0
test al, al
je 0x1800089bb
mov ecx, 4
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1800089bb
lea rdx, [rbp - 1]
call fcn.18005b6f0
nop
mov rcx, qword [0x180098038]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbp + 0x27]
call r9
test al, al
jne 0x180008975
mov rsi, qword [r14 + 0x40]
mov rbx, qword [r14 + 0x38]
cmp rbx, rsi
je 0x1800085d9
nop dword [rax]
mov rcx, qword [0x180098038]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
mov r8, qword [rbp + 0x27]
mov rdx, qword [rbx + 0x28]
call r9
test al, al
jne 0x1800085d9
add rbx, 0x38
cmp rbx, rsi
jne 0x1800085b0
mov rax, qword [r14 + 0x40]
cmp rbx, rax
jne 0x1800087c0
cmp rax, qword [r14 + 0x48]
je 0x1800085ff
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.180005380
add qword [r14 + 0x40], 0x38
jmp 0x18000860f
lea r8, [rbp - 1]
mov rdx, rax
lea rcx, [r14 + 0x38]
call fcn.180008df0
inc dword [0x180098048]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.18005b840
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 7
jb 0x1800086bd
lea rax, [r8 + 7]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x180008651
mov rdi, qword [rbx]
lea rax, [0x18006b197]
mov r15d, 7
lea rsi, str.added:
cmp rax, rdi
jbe 0x180008685
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x180008685
cmp rdi, rsi
ja 0x18000867d
xor r14d, r14d
jmp 0x180008688
mov r14, rdi
sub r14, rsi
jmp 0x180008688
mov r14, r15
inc r8
lea rcx, [rdi + 7]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rsi + 7]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800086e2
mov r15d, 7
mov qword [rsp + 0x28], r15
lea rsi, str.added:
mov qword [rsp + 0x20], rsi
mov edx, r15d
mov rcx, rbx
call fcn.180009080
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x79], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rsp + 0x30]
cmp qword [rbp - 0x71], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1800082b0
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x180008769
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008764
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008764
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063ac4
movdqa xmm0, xmmword [0x180074470]
movdqu xmmword [rbp - 0x79], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x180008975
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000896f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000896f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [r14 + 0x38]
call fcn.1800089f0
dec dword [0x180098048]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.18005b840
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x18000887e
lea rax, [r8 + 9]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x180008812
mov rdi, qword [rbx]
lea rax, [0x18006b1a1]
mov r15d, 9
lea rsi, str.removed:
cmp rax, rdi
jbe 0x180008846
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x180008846
cmp rdi, rsi
ja 0x18000883e
xor r14d, r14d
jmp 0x180008849
mov r14, rdi
sub r14, rsi
jmp 0x180008849
mov r14, r15
inc r8
lea rcx, [rdi + 9]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rsi + 9]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800088a3
mov r15d, 9
mov qword [rsp + 0x28], r15
lea rsi, str.removed:
mov qword [rsp + 0x20], rsi
mov edx, r15d
mov rcx, rbx
call fcn.180009080
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
call fcn.1800082b0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x180008925
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008920
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063ac4
movdqa xmm0, xmmword [0x180074470]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x180008975
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000896f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000896f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063ac4
nop
mov r8, qword [rbp + 0x17]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.1800073d0
mov edx, 0x48
mov rcx, qword [rbp + 0x17]
call fcn.180063ac4
mov r8, qword [rbp + 7]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 7]
lea rcx, [rbp + 7]
call fcn.180007540
mov edx, 0x48
mov rcx, qword [rbp + 7]
call fcn.180063ac4
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800636e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rcx + 8]
jmp 0x180008510