Function at 0x18004d690
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x150
mov rbx, qword [0x1803e3c80]
mov qword [rax - 0x18], rsi
mov rsi, qword [0x1803e3c88]
mov qword [rax - 0x20], rdi
mov edi, 2
cmp rbx, rsi
je 0x18004da09
mov qword [rax - 0x10], rbp
movabs rbp, 0xa8a184438d9578a9
mov qword [rax - 0x28], r12
movabs r12, 0x7a7c31d6a4d63086
mov qword [rax - 0x30], r14
movabs r14, 0x7a7c31d6a4d630af
mov qword [rax - 0x38], r15
movabs r15, 0xc6cea427e1fa1081
movaps xmmword [rax - 0x58], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x68], xmm8
movss xmm8, dword [0x18026816c]
movaps xmmword [rax - 0x78], xmm9
movss xmm9, dword [0x180268174]
movaps xmmword [rax - 0x88], xmm10
movss xmm10, dword [0x1802681a4]
movaps xmmword [rax - 0x98], xmm11
movss xmm11, dword [0x180268148]
movaps xmmword [rax - 0xa8], xmm12
movss xmm12, dword [0x180268220]
movaps xmmword [rax - 0x48], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004d991
movaps xmm0, xmmword [0x1802687b0]
lea rcx, [rsp + 0x70]
mov r10, qword [rbx]
mov r9, qword [rbx + 0x10]
movups xmmword [rsp + 0x70], xmm0
call fcn.180064bf0
movss xmm0, dword [rbx + 8]
mov r11d, eax
mov rcx, qword [0x1803c2538]
addss xmm0, xmm11
movd xmm6, edi
cvtdq2ps xmm6, xmm6
movss dword [rsp + 0x160], xmm0
movss xmm0, dword [rbx + 0xc]
addss xmm0, xmm10
addss xmm0, xmm6
movss dword [rsp + 0x164], xmm0
test eax, 0xff000000
je 0x18004d83a
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r9 + r8], 0
jne 0x18004d7d0
add r8, r9
cmp r9, r8
je 0x18004d83a
test rcx, rcx
jne 0x18004d7ef
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [r10 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x80]
movss dword [rsp + 0x40], xmm7
movaps xmm2, xmm8
mov qword [rsp + 0x38], r8
mov rdx, r10
mov qword [rsp + 0x30], r9
lea r9, [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
movups xmmword [rsp + 0x80], xmm0
call fcn.180082a30
mov r10, qword [rbx]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x170], rbp
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x170], r14
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x170], r15
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x170], r12
mov rax, qword [rsp + 0x170]
movdqa xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x1802687b0]
movups xmmword [rsp + 0x90], xmm0
call fcn.180064bf0
movss xmm1, dword [rbx + 0xc]
mov r9d, eax
movss xmm0, dword [rbx + 8]
addss xmm1, xmm10
mov rcx, qword [0x1803c2538]
addss xmm0, xmm12
addss xmm1, xmm6
movss dword [rsp + 0x168], xmm0
movss dword [rsp + 0x16c], xmm1
test eax, 0xff000000
je 0x18004d988
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x18004d910
lea r8, [rsp + 0x50]
add r8, rax
lea rax, [rsp + 0x50]
cmp rax, r8
je 0x18004d988
test rcx, rcx
jne 0x18004d938
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [r10 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm7
movaps xmm2, xmm8
mov qword [rsp + 0x38], r8
mov rdx, r10
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x168]
movups xmmword [rsp + 0xa0], xmm0
call fcn.180082a30
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x18004d751
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
mov rbp, qword [rsp + 0x148]
mov rsi, qword [0x1803e3c88]
mov rbx, qword [0x1803e3c80]
mov rdi, qword [rsp + 0x138]
cmp rbx, rsi
mov rsi, qword [rsp + 0x140]
je 0x18004da25
mov qword [0x1803e3c88], rbx
add rsp, 0x150
pop rbx
ret