Function at 0x180021180
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
call fcn.180016e10
mov rcx, rax
call fcn.180016d20
xor ebx, ebx
mov r8, rax
movabs rdi, 0x7fffffff0000
lea rdx, [rax + 0x20]
cmp rdx, 0x40000
jbe 0x1800211e6
lea rcx, [rdx + 8]
cmp rcx, rdi
jae 0x1800211e6
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x1800211e6
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800211e6
mov edx, dword [rcx]
jmp 0x1800211e8
mov edx, ebx
lea rcx, [0x1801d3960]
movaps xmmword [rsp + 0x100], xmm6
lea r9, [0x1801d45c0]
nop
movups xmm2, xmmword [rcx]
movd eax, xmm2
cmp eax, edx
je 0x18002122c
add rcx, 0x48
cmp rcx, r9
jne 0x180021200
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rsp + 0x60], xmm6
mov qword [rbp - 0x60], rax
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm6
jmp 0x18002124f
movups xmm0, xmmword [rcx + 0x20]
movups xmm1, xmmword [rcx + 0x30]
movups xmm6, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rcx + 0x40]
movsd qword [rbp - 0x60], xmm0
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rbp - 0x70], xmm1
lea rcx, [r8 + 0x98]
movaps xmmword [rsp + 0x70], xmm6
cmp rcx, 0x40000
jbe 0x1800212cc
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800212cc
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800212cc
add rcx, 0x2b8
cmp rcx, 0x40000
jbe 0x1800212cc
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800212cc
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800212cc
add rcx, 0x20
cmp rcx, 0x40000
jbe 0x1800212cc
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800212cc
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800212cc
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x1800212cc
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800212cc
mov ebx, dword [rcx]
cmp byte [0x1801d528f], 0
je 0x180021624
mov ecx, dword [0x1801d5380]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800215a5
call fcn.180016e10
mov rcx, rax
call fcn.180016d20
add rax, 0x20
cmp rax, 0x40000
jbe 0x180021335
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x180021335
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x180021335
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180021335
cmp dword [rcx], 0x74763261
je 0x1800213cf
call fcn.180016e10
mov rcx, rax
call fcn.180016d20
add rax, 0x20
cmp rax, 0x40000
jbe 0x180021378
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x180021378
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x180021378
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180021378
cmp dword [rcx], 0x560b474f
je 0x1800213cf
call fcn.180016e10
mov rcx, rax
call fcn.180016d20
add rax, 0x20
cmp rax, 0x40000
jbe 0x1800214c5
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x1800214c5
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x1800214c5
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800214c5
cmp dword [rcx], 0xae80eeeb
jne 0x1800214c5
test ebx, ebx
jne 0x18002141b
cmp byte [0x1801d528f], bl
xorps xmm1, xmm1
shufps xmm6, xmm6, 0xaa
je 0x180021406
movss xmm0, dword [0x1801d52f0]
cvtss2sd xmm1, xmm6
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x18012f788]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
addss xmm6, dword [0x1801d52f0]
cvtss2sd xmm1, xmm6
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
lea rcx, [rsp + 0x70]
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x20]
mov edx, dword [rcx + 8]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], edx
cmp dword [rax], ebx
je 0x180021481
add rax, 4
lea r8, [rsp + 0x28]
cmp rax, r8
jne 0x180021436
cmp dword [rsp + 0x20], 0
je 0x180021481
add rcx, 0xc
lea rax, [rbp - 0x60]
cmp rcx, rax
jne 0x180021420
cmp byte [0x1801d528f], 0
movss xmm0, dword [0x1801d52f0]
je 0x180021686
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x18012f858]
jmp 0x18002169f
cmp byte [0x1801d528f], 0
movd xmm0, edx
je 0x1800214b1
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x1801d52f0]
mulsd xmm1, qword [0x18012f788]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
addss xmm0, dword [0x1801d52f0]
cvtps2pd xmm1, xmm0
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
test ebx, ebx
jne 0x180021500
cmp byte [0x1801d528f], bl
xorps xmm1, xmm1
shufps xmm6, xmm6, 0xaa
je 0x180021406
movss xmm0, dword [0x1801d52f0]
cvtss2sd xmm1, xmm6
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x18012f778]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
lea rcx, [rsp + 0x70]
nop word [rax + rax]
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x30]
mov edx, dword [rcx + 8]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], edx
cmp dword [rax], ebx
je 0x180021571
add rax, 4
lea r8, [rsp + 0x38]
cmp rax, r8
jne 0x180021526
cmp dword [rsp + 0x30], 0
je 0x180021571
add rcx, 0xc
lea rax, [rbp - 0x60]
cmp rcx, rax
jne 0x180021510
cmp byte [0x1801d528f], 0
movss xmm0, dword [0x1801d52f0]
je 0x180021686
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x18012f848]
jmp 0x18002169f
cmp byte [0x1801d528f], 0
movd xmm0, edx
je 0x1800214b1
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x1801d52f0]
mulsd xmm1, qword [0x18012f778]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
jmp 0x1800216a3
test ebx, ebx
jne 0x1800215bd
shufps xmm6, xmm6, 0xaa
addss xmm6, dword [0x1801d52f0]
movaps xmm0, xmm6
jmp 0x1800216a3
lea rcx, [rsp + 0x70]
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x40]
mov edx, dword [rcx + 8]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], edx
cmp dword [rax], ebx
je 0x180021613
add rax, 4
lea r8, [rsp + 0x48]
cmp rax, r8
jne 0x1800215d8
cmp dword [rsp + 0x40], 0
je 0x180021613
add rcx, 0xc
lea rax, [rbp - 0x60]
cmp rcx, rax
jne 0x1800215c2
movss xmm0, dword [0x1801d52f0]
addss xmm0, dword [0x18012f980]
jmp 0x1800216a3
movd xmm0, edx
addss xmm0, dword [0x1801d52f0]
jmp 0x1800216a3
test ebx, ebx
jne 0x18002163d
shufps xmm6, xmm6, 0xaa
xorps xmm0, xmm0
addss xmm6, dword [0x1801d52f0]
cvtss2sd xmm0, xmm6
jmp 0x18002169f
lea rcx, [rsp + 0x70]
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x50]
mov edx, dword [rcx + 8]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], edx
cmp dword [rax], ebx
je 0x180021690
add rax, 4
lea r8, [rsp + 0x58]
cmp rax, r8
jne 0x180021658
cmp dword [rsp + 0x50], 0
je 0x180021690
add rcx, 0xc
lea rax, [rbp - 0x60]
cmp rcx, rax
jne 0x180021642
movss xmm0, dword [0x1801d52f0]
addss xmm0, dword [0x18012f980]
jmp 0x18002169c
movd xmm0, edx
addss xmm0, dword [0x1801d52f0]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movaps xmm6, xmmword [rsp + 0x100]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret