Function at 0x180046b20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x100
mov rbx, qword [0x180407a00]
mov qword [rax + 0x20], rsi
mov rsi, qword [0x180407a08]
mov qword [rax - 0x10], rdi
mov edi, 2
cmp rbx, rsi
je 0x180046dd5
mov qword [rax + 0x18], rbp
lea rbp, [0x18012898e]
mov qword [rax - 0x18], r14
lea r14, [0x18012898c]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x18027edc4]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x18027edcc]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x18027edfc]
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x18027f680]
movaps xmmword [rax - 0x88], xmm12
movss xmm12, dword [0x18027ee74]
movaps xmmword [rsp + 0x70], xmm13
movdqa xmm13, xmmword [0x18027f7e0]
movaps xmmword [rsp + 0x60], xmm14
movss xmm14, dword [0x18027eda8]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180046d61
mov r11, qword [rbx]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm13
call fcn.18005da20
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x1803e6748]
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 0x180046cbe
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180046c50
add rcx, r8
cmp r8, rcx
je 0x180046cbe
test r10, r10
jne 0x180046c6f
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.180079b10
mov r10, qword [0x1803e6748]
mov r8, qword [rbx]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm11
call fcn.18005da20
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 0x180046d58
test r10, r10
jne 0x180046d11
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.180079b10
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x180046bd7
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 [0x180407a08]
mov rbx, qword [0x180407a00]
mov rdi, qword [rsp + 0xf8]
cmp rbx, rsi
mov rsi, qword [rsp + 0x128]
je 0x180046df1
mov qword [0x180407a08], rbx
add rsp, 0x100
pop rbx
ret