Function at 0x180031d80
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x100
mov rbx, qword [0x18015abc0]
mov qword [rax + 0x20], rsi
mov rsi, qword [0x18015abc8]
mov qword [rax - 0x10], rdi
mov edi, 2
cmp rbx, rsi
je 0x180032035
mov qword [rax + 0x18], rbp
lea rbp, [0x18010c7de]
mov qword [rax - 0x18], r14
lea r14, [0x18010c7dc]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x18010f624]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x18010f62c]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x18010f658]
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x18010fd60]
movaps xmmword [rax - 0x88], xmm12
movss xmm12, dword [0x18010f6e8]
movaps xmmword [rsp + 0x70], xmm13
movdqa xmm13, xmmword [0x18010fe10]
movaps xmmword [rsp + 0x60], xmm14
movss xmm14, dword [0x18010f608]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180031fc1
mov r11, qword [rbx]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm13
call fcn.180041680
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x180139958]
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 0x180031f1e
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180031eb0
add rcx, r8
cmp r8, rcx
je 0x180031f1e
test r10, r10
jne 0x180031ecf
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.18005e220
mov r10, qword [0x180139958]
mov r8, qword [rbx]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm11
call fcn.180041680
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 0x180031fb8
test r10, r10
jne 0x180031f71
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.18005e220
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x180031e37
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 [0x18015abc8]
mov rbx, qword [0x18015abc0]
mov rdi, qword [rsp + 0xf8]
cmp rbx, rsi
mov rsi, qword [rsp + 0x128]
je 0x180032051
mov qword [0x18015abc8], rbx
add rsp, 0x100
pop rbx
ret