Function at 0x180040610
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x100
mov rbx, qword [0x18014e5e0]
mov qword [rax + 0x20], rsi
mov rsi, qword [0x18014e5e8]
mov qword [rax - 0x10], rdi
mov edi, 2
cmp rbx, rsi
je 0x1800408c5
mov qword [rax + 0x18], rbp
lea rbp, [0x18012af3a]
mov qword [rax - 0x18], r14
lea r14, [0x18012af38]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x18012da48]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x18012da50]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x18012da78]
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x18012e240]
movaps xmmword [rax - 0x88], xmm12
movss xmm12, dword [0x18012dae8]
movaps xmmword [rsp + 0x70], xmm13
movdqa xmm13, xmmword [0x18012e3c0]
movaps xmmword [rsp + 0x60], xmm14
movss xmm14, dword [0x18012da24]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180040851
mov r11, qword [rbx]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm13
call fcn.18004d300
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x18014e400]
addss xmm0, xmm14
movd xmm6, edi
cvtdq2ps xmm6, xmm6
movss dword [rsp + 0x110], xmm0
movss xmm0, dword [rbx + 0xc]
addss xmm0, xmm10
addss xmm0, xmm6
movss dword [rsp + 0x114], xmm0
test eax, 0xff000000
je 0x1800407ae
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180040740
add rcx, r8
cmp r8, rcx
je 0x1800407ae
test r10, r10
jne 0x18004075f
mov rax, qword [r11 + 0x38]
mov r10, qword [rax + 8]
movups xmm0, xmmword [r11 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm7
movaps xmm2, xmm8
mov qword [rsp + 0x38], rcx
mov rdx, r11
mov qword [rsp + 0x30], r8
mov rcx, r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x110]
movups xmmword [rsp + 0x50], xmm0
call fcn.180068200
mov r10, qword [0x18014e400]
mov r8, qword [rbx]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm11
call fcn.18004d300
movss xmm1, dword [rbx + 0xc]
mov ecx, eax
movss xmm0, dword [rbx + 8]
addss xmm1, xmm10
addss xmm0, xmm12
addss xmm1, xmm6
movss dword [rsp + 0x118], xmm0
movss dword [rsp + 0x11c], xmm1
test eax, 0xff000000
je 0x180040848
test r10, r10
jne 0x180040801
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm7
lea r9, [rsp + 0x118]
mov qword [rsp + 0x38], rbp
movaps xmm2, xmm8
mov qword [rsp + 0x30], r14
mov rdx, r8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r10
movups xmmword [rsp + 0x50], xmm0
call fcn.180068200
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x1800406c7
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
mov r14, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0x120]
mov rsi, qword [0x18014e5e8]
mov rbx, qword [0x18014e5e0]
mov rdi, qword [rsp + 0xf8]
cmp rbx, rsi
mov rsi, qword [rsp + 0x128]
je 0x1800408e1
mov qword [0x18014e5e8], rbx
add rsp, 0x100
pop rbx
ret