Function at 0x180032960
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x78
cmp byte [0x1803d35a5], 0
je 0x180032c51
mov rax, qword [0x1803d34e0]
mov qword [r11 + 0x10], rbx
mov rbx, qword [rax]
test rbx, rbx
je 0x180032c49
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x180032c49
mov qword [r11 - 8], rdi
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x180032c44
mov rax, qword [0x1803d3580]
movsd xmm0, qword [rbx + 0x90]
mov qword [r11 + 0x20], rsi
mov esi, dword [rbx + 0x98]
cmp byte [rax + rbx], 0x40
movsd qword [rsp + 0x20], xmm0
je 0x180032c3c
mov qword [r11 + 0x18], rbp
movabs rcx, 0x4f8644af03d0e0d6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
call fcn.180003e80
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1803d3451]
cmp byte [0x1803d35b2], 0
je 0x180032a24
movd xmm0, dword [0x1803d35b4]
cvtdq2ps xmm0, xmm0
jmp 0x180032a3b
test ax, ax
je 0x180032a33
movss xmm0, dword [0x1800c37ec]
jmp 0x180032a3b
movss xmm0, dword [0x1800c3788]
movss dword [0x18032d240], xmm0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov ecx, dword [0x18032d4e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [rsp + 0x24]
xor ebp, ebp
movss xmm7, dword [rsp + 0x20]
xorps xmm6, xmm6
movd xmm9, esi
test ax, ax
jns 0x180032b3d
mov qword [rbx + 0x320], rbp
mov dword [rbx + 0x328], ebp
mov rax, qword [0x1803d34f0]
test rax, rax
je 0x180032a94
mov rax, qword [rax]
jmp 0x180032a9c
mov rax, qword [rsp + 0x80]
movsd xmm1, qword [rax + 0x3d0]
ucomiss xmm1, xmm6
mov ecx, dword [rax + 0x3d8]
mov dword [rsp + 0x28], ecx
movsd qword [rsp + 0x20], xmm1
jp 0x180032ae8
jne 0x180032ae8
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180032ae8
jne 0x180032ae8
movd xmm3, ecx
ucomiss xmm3, xmm6
jp 0x180032aee
jne 0x180032aee
movsd xmm0, qword [rax + 0x40]
movss xmm3, dword [rax + 0x48]
movaps xmm1, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x180032aee
movss xmm3, dword [rsp + 0x28]
movss xmm2, dword [0x18032d240]
movaps xmm0, xmm2
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [rsp + 0x24]
addss xmm0, xmm7
mulss xmm2, xmm3
addss xmm1, xmm8
addss xmm2, xmm9
movss dword [rbx + 0x90], xmm0
movss dword [rbx + 0x94], xmm1
unpcklps xmm0, xmm1
movss dword [rbx + 0x98], xmm2
movsd qword [rdi + 0x50], xmm0
movss dword [rdi + 0x58], xmm2
mov ecx, dword [0x18032d4e8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180032c1e
mov qword [rbx + 0x320], rbp
mov dword [rbx + 0x328], ebp
mov rax, qword [0x1803d34f0]
test rax, rax
je 0x180032b70
mov rax, qword [rax]
jmp 0x180032b78
mov rax, qword [rsp + 0x80]
movsd xmm3, qword [rax + 0x3d0]
ucomiss xmm3, xmm6
mov ecx, dword [rax + 0x3d8]
mov dword [rsp + 0x28], ecx
movsd qword [rsp + 0x20], xmm3
jp 0x180032bc4
jne 0x180032bc4
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180032bc4
jne 0x180032bc4
movd xmm2, ecx
ucomiss xmm2, xmm6
jp 0x180032bca
jne 0x180032bca
movsd xmm0, qword [rax + 0x40]
movss xmm2, dword [rax + 0x48]
movaps xmm3, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x180032bca
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [0x18032d240]
movss xmm0, dword [rsp + 0x24]
mulss xmm0, xmm1
mulss xmm3, xmm1
subss xmm8, xmm0
mulss xmm2, xmm1
subss xmm7, xmm3
subss xmm9, xmm2
movss dword [rbx + 0x90], xmm7
movaps xmm0, xmm7
movss dword [rbx + 0x94], xmm8
movss dword [rbx + 0x98], xmm9
unpcklps xmm0, xmm8
movsd qword [rdi + 0x50], xmm0
movss dword [rdi + 0x58], xmm9
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0x30]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret