Function at 0x140087910
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.14007f5c0
sub rsp, rax
movaps xmmword [rsp + 0x11d0], xmm6
xor sil, sil
movaps xmmword [rsp + 0x11c0], xmm7
xor r14d, r14d
movaps xmmword [rsp + 0x11b0], xmm8
movabs r12, 0x7ffffffffff0bdbf
movaps xmmword [rsp + 0x11a0], xmm9
movabs r15, 0x7fffffffffffffff
movaps xmmword [rsp + 0x1190], xmm10
movaps xmmword [rsp + 0x1180], xmm11
movss xmm11, dword [0x140312384]
movaps xmmword [rsp + 0x1170], xmm12
movss xmm12, dword [0x140312340]
movaps xmmword [rsp + 0x1160], xmm13
movss xmm13, dword [0x1403123bc]
movaps xmmword [rsp + 0x1150], xmm14
movss xmm14, dword [0x14031253c]
cmp qword [0x140377d50], r14
je 0x1400879ec
cmp qword [0x140377d70], r14
je 0x1400879ec
cmp byte [0x140377880], r14b
je 0x1400879ec
cmp byte [0x1403778f8], r14b
jne 0x1400879f9
mov qword [0x1403774b0], r14
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400879c1
mov ecx, dword [0x140377914]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140087a29
lea rcx, [rbp + 0x1128]
mov qword [0x1403774b0], r14
call fcn.14000b7e0
mov rax, qword [rbp + 0x1128]
jmp 0x140087e42
mov rdi, qword [0x140354820]
movaps xmm10, xmm14
mov rbx, qword [0x140354818]
cmp rbx, rdi
je 0x140087c43
mov rcx, qword [rbx]
test rcx, rcx
je 0x140087c33
cmp rcx, qword [0x140377d50]
je 0x140087c33
movd xmm0, dword [0x1403779f0]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [rbx + 0x34]
jae 0x140087c33
cmp byte [0x140377924], r14b
jne 0x140087a85
cmp byte [rbx + 0x2c], r14b
jne 0x140087c33
lea rdx, [rsp + 0x60]
call fcn.1400f1fa0
movups xmm0, xmmword [0x140377614]
lea rdx, [rsp + 0x20]
movups xmm1, xmmword [0x140377624]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140377634]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x140377644]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call qword [sym.imp.d3dx9_43.dll_D3DXMatrixTranspose]
movss xmm2, dword [rsp + 0x54]
movss xmm0, dword [rsp + 0x50]
movss xmm7, dword [rsp + 0x64]
movss xmm8, dword [rsp + 0x60]
movss xmm1, dword [rsp + 0x58]
movss xmm9, dword [rsp + 0x68]
mov eax, dword [0x14037787c]
mov ecx, dword [0x140377878]
mulss xmm2, xmm7
mulss xmm0, xmm8
mulss xmm1, xmm9
addss xmm2, xmm0
addss xmm2, xmm1
addss xmm2, dword [rsp + 0x5c]
comiss xmm2, xmm12
ja 0x140087b2e
xorps xmm2, xmm2
xorps xmm6, xmm6
jmp 0x140087bdc
movss xmm5, dword [rsp + 0x34]
movaps xmm4, xmm13
movss xmm0, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x38]
movss xmm3, dword [rsp + 0x44]
divss xmm4, xmm2
xorps xmm2, xmm2
mulss xmm3, xmm7
cvtsi2ss xmm2, eax
mulss xmm5, xmm7
movaps xmm6, xmm2
mulss xmm0, xmm8
mulss xmm1, xmm9
addss xmm5, xmm0
mulss xmm6, xmm11
movss xmm0, dword [rsp + 0x40]
mulss xmm0, xmm8
addss xmm5, xmm1
movss xmm1, dword [rsp + 0x48]
mulss xmm1, xmm9
addss xmm3, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
addss xmm5, dword [rsp + 0x3c]
addss xmm3, xmm1
mulss xmm5, xmm4
addss xmm3, dword [rsp + 0x4c]
mulss xmm3, xmm4
mulss xmm3, xmm11
mulss xmm3, xmm2
movaps xmm2, xmm5
addss xmm2, xmm13
addss xmm3, xmm11
mulss xmm2, xmm11
subss xmm6, xmm3
mulss xmm2, xmm0
addss xmm2, xmm11
addss xmm2, xmm5
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, eax
cvtsi2ss xmm0, ecx
mulss xmm1, xmm11
mulss xmm0, xmm11
subss xmm6, xmm1
xorps xmm1, xmm1
subss xmm2, xmm0
mulss xmm6, xmm6
mulss xmm2, xmm2
addss xmm6, xmm2
sqrtss xmm1, xmm6
comiss xmm10, xmm1
jbe 0x140087c33
movd xmm0, dword [0x1403778fc]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x140087c33
mov rax, qword [rbx]
movaps xmm10, xmm1
mov qword [0x1403774b0], rax
add rbx, 0x1f0
cmp rbx, rdi
jne 0x140087a44
cmp qword [0x1403774b0], r14
jne 0x140087c6b
lea rcx, [rbp + 0x1130]
mov qword [0x1403774b0], r14
call fcn.14000b7e0
mov rax, qword [rbp + 0x1130]
jmp 0x140087e42
mov edx, dword [0x1403775b0]
add rdx, qword [0x140377b50]
call fcn.14000fee0
mov rbx, rax
test rax, rax
je 0x140087cd3
mov ecx, dword [0x140377b38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x58], ecx
mov ecx, dword [0x140377b30]
mov qword [rsp + 0x38], rax
mov rax, qword [0x140377540]
mov dword [rsp + 0x24], ecx
mov ecx, dword [0x140377b34]
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x40], 0x10d8
test rax, rax
je 0x140087cd3
lea rcx, [rsp + 0x20]
call rax
cmp byte [0x140377924], r14b
jne 0x140087cf8
mov eax, dword [0x1403775b8]
mov ecx, dword [rsp + rax + 0x70]
and ecx, 0x1fc000
cmp ecx, 0x8000
jne 0x1400879c1
mov edx, dword [0x1403775d8]
add rdx, rbx
call fcn.14000fee0
mov edx, dword [0x1403775cc]
add rdx, rax
call fcn.14000ffe0
test rbx, rbx
je 0x140087d2e
mov rax, qword [0x1403774b0]
cmp rbx, rax
jne 0x140087d2e
test rax, rax
je 0x140087d2e
mov bl, 1
jmp 0x140087d30
xor bl, bl
mov edx, dword [0x1403775b4]
add rdx, qword [0x140377b50]
call fcn.14000ffe0
test eax, eax
movzx ecx, bl
mov eax, dword [0x1403775c4]
mov edx, r14d
cmovne edx, ecx
cvttss2si ecx, dword [rsp + rax + 0x70]
cmp ecx, dword [0x1403779f0]
setg al
test sil, sil
jne 0x140087dd4
test dl, dl
je 0x140087e2f
test al, al
je 0x140087e2f
cmp byte [0x140377919], r14b
jne 0x140087d9a
movsxd rax, dword [0x14037791c]
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.14000d020
xorps xmm0, xmm0
mov dword [rsp + 0x20], r14d
xorps xmm1, xmm1
mov dword [rsp + 0x34], 2
mov r8d, Ordinal_45
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov sil, 1
jmp 0x140087e2f
cmp byte [0x140377919], r14b
jne 0x140087df7
movsxd rax, dword [0x140377920]
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.14000d020
xorps xmm0, xmm0
mov dword [rsp + 0x20], r14d
xorps xmm1, xmm1
mov dword [rsp + 0x34], 4
mov r8d, Ordinal_45
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
xor sil, sil
lea rcx, [rbp + 0x1138]
call fcn.14000b7e0
mov rax, qword [rbp + 0x1138]
cmp rax, r12
jge 0x140087e65
add rax, 0xf4240
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.14000d500
jmp 0x1400879c1
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], r15
call fcn.14000d500
jmp 0x1400879c1