Function at 0x180040630
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x100
mov rbx, qword [0x1802cb790]
mov qword [rax + 0x20], rsi
mov rsi, qword [0x1802cb798]
mov qword [rax - 0x10], rdi
mov edi, 2
cmp rbx, rsi
je 0x1800408e5
mov qword [rax + 0x18], rbp
lea rbp, [0x18011f666]
mov qword [rax - 0x18], r14
lea r14, [0x18011f664]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x1802742c8]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x1802742d0]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x180274300]
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x180274b20]
movaps xmmword [rax - 0x88], xmm12
movss xmm12, dword [0x180274368]
movaps xmmword [rsp + 0x70], xmm13
movdqa xmm13, xmmword [0x180274c40]
movaps xmmword [rsp + 0x60], xmm14
movss xmm14, dword [0x1802742a4]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180040871
mov r11, qword [rbx]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm13
call fcn.180054750
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x1802cb590]
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 0x1800407ce
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180040760
add rcx, r8
cmp r8, rcx
je 0x1800407ce
test r10, r10
jne 0x18004077f
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.180070bb0
mov r10, qword [0x1802cb590]
mov r8, qword [rbx]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm11
call fcn.180054750
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 0x180040868
test r10, r10
jne 0x180040821
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.180070bb0
addss xmm6, xmm9
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x1800406e7
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 [0x1802cb798]
mov rbx, qword [0x1802cb790]
mov rdi, qword [rsp + 0xf8]
cmp rbx, rsi
mov rsi, qword [rsp + 0x128]
je 0x180040901
mov qword [0x1802cb798], rbx
add rsp, 0x100
pop rbx
ret