Function at 0x180049810
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xe0
mov rbx, qword [0x180410a18]
mov qword [rax + 0x20], rsi
mov rsi, qword [0x180410a20]
mov qword [rax - 0x10], rdi
mov edi, 2
cmp rbx, rsi
je 0x180049a99
mov qword [rax + 0x18], rbp
lea rbp, [0x1801309ee]
mov qword [rax - 0x18], r14
lea r14, [0x1801309ec]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x180286ec4]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x180286ecc]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x180286efc]
movaps xmmword [rax - 0x78], xmm11
movss xmm11, dword [0x180286f70]
movaps xmmword [rsp + 0x60], xmm12
movss xmm12, dword [0x180286ea8]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180049a37
movaps xmm0, xmmword [0x1802876e0]
lea rcx, [rsp + 0x50]
mov r11, qword [rbx]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm0
call fcn.180065810
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x1803ef6c0]
addss xmm0, xmm12
movd xmm6, edi
cvtdq2ps xmm6, xmm6
movss dword [rsp + 0xf0], xmm0
movss xmm0, dword [rbx + 0xc]
addss xmm0, xmm10
addss xmm0, xmm6
movss dword [rsp + 0xf4], xmm0
test eax, 0xff000000
je 0x18004998e
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180049920
add rcx, r8
cmp r8, rcx
je 0x18004998e
test r10, r10
jne 0x18004993f
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 + 0xf0]
movups xmmword [rsp + 0x50], xmm0
call fcn.180082330
mov r10, qword [0x1803ef6c0]
movaps xmm0, xmmword [0x1802875c0]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx]
movups xmmword [rsp + 0x50], xmm0
call fcn.180065810
movss xmm1, dword [rbx + 0xc]
mov ecx, eax
movss xmm0, dword [rbx + 8]
addss xmm1, xmm10
addss xmm0, xmm11
addss xmm1, xmm6
movss dword [rsp + 0xf8], xmm0
movss dword [rsp + 0xfc], xmm1
test eax, 0xff000000
je 0x180049a2e
test r10, r10
jne 0x1800499e7
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 + 0xf8]
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.180082330
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x1800498a7
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r14, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x100]
mov rsi, qword [0x180410a20]
mov rbx, qword [0x180410a18]
mov rdi, qword [rsp + 0xd8]
cmp rbx, rsi
mov rsi, qword [rsp + 0x108]
je 0x180049ab5
mov qword [0x180410a20], rbx
add rsp, 0xe0
pop rbx
ret