Function at 0x10082610
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1008294a
push esi
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x10082949
mov ecx, dword [0x101b8990]
call fcn.100074c0
movss xmm0, dword [eax]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x1016071c]
movss dword [esp + 0xc], xmm0
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [0x10195d3c]
movzx eax, word [eax + ecx*4]
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.10082500
mov dword [esp + 8], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 4], 0
mov dword [esp], 0
push ecx
mov ecx, eax
call fcn.10081ae0
movss xmm0, dword [esp + 0xc]
lea ecx, [esp + 0x14]
subss xmm0, dword [esp + 0x28]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [esp + 0x2c]
movss dword [esp], xmm0
call fcn.10007420
mov ecx, dword [0x101b8990]
xorps xmm0, xmm0
movss dword [esp + 4], xmm0
movss dword [esp + 8], xmm0
movzx eax, word [ecx + 0x180]
cmp eax, 0x35
je 0x10082713
cmp eax, 0x37
je 0x10082713
movss xmm0, dword [0x100ed818]
jmp 0x10082788
call fcn.100074a0
fmul dword [0x100d5910]
mov esi, dword [0x101b8994]
fmul dword [0x101441e8]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
call fcn.100c1c2c
movss xmm2, dword [esi]
movaps xmm1, xmm0
movss xmm0, dword [0x100d5914]
addss xmm2, xmm2
mov eax, dword [0x10184d14]
fld1
subss xmm0, xmm2
divss xmm0, dword [eax]
mulss xmm1, xmm0
movss dword [esp + 0xc], xmm1
fld dword [esp + 0xc]
fpatan
movsd xmm1, qword [0x10144200]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov ecx, dword [0x101960c8]
movss dword [esp + 0xc], xmm0
mov ecx, dword [ecx]
call fcn.1008c3a0
mov ecx, eax
call fcn.1008e190
mov al, byte [eax + 0x165]
cmp al, 0x16
jb 0x100827b0
cmp al, 0x1d
jbe 0x100827b4
cmp al, 0x20
jne 0x100827c4
movss xmm4, dword [0x101441f4]
movss dword [esp + 4], xmm4
jmp 0x100827ee
cmp al, 0x1e
je 0x100827e0
cmp al, 0x1f
je 0x100827e0
cmp al, 0x21
jne 0x100827ee
movss xmm4, dword [0x101441ec]
movss dword [esp + 4], xmm4
jmp 0x100827ee
movss xmm0, dword [0x101441f0]
movss dword [esp + 4], xmm0
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mov esi, dword [0x101b8990]
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
sqrtss xmm1, xmm1
movss dword [esp + 0x10], xmm1
jb 0x10082829
comiss xmm3, xmm0
jae 0x10082833
comiss xmm2, xmm0
jb 0x10082872
comiss xmm3, xmm0
jb 0x10082868
movaps xmm0, xmm2
divss xmm0, xmm1
call fcn.100bf6e6
addss xmm0, dword [esp + 4]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
movss xmm1, dword [esp + 0x10]
subss xmm0, dword [esi + 0x230]
movss dword [esp + 8], xmm0
xorps xmm0, xmm0
comiss xmm2, xmm0
jb 0x10082872
comiss xmm0, xmm3
jae 0x1008287c
comiss xmm0, xmm2
jb 0x100828a2
comiss xmm0, xmm3
jb 0x100828a2
movaps xmm0, xmm2
divss xmm0, xmm1
call fcn.100bf6e6
movss xmm1, dword [esp + 4]
movss xmm2, dword [esp + 0x14]
subss xmm1, xmm0
subss xmm1, dword [esi + 0x230]
jmp 0x100828a8
movss xmm1, dword [esp + 8]
movss xmm4, dword [0x100d5910]
movaps xmm3, xmm1
mulss xmm3, xmm4
comiss xmm3, dword [0x100d93a4]
jbe 0x100828f7
comiss xmm4, xmm3
jbe 0x100828f7
comiss xmm1, dword [0x100eec28]
jbe 0x100828f7
movss xmm0, dword [0x100d5918]
comiss xmm0, xmm1
jbe 0x100828f7
addss xmm3, dword [esi + 0x230]
movss dword [esi + 0x230], xmm3
movss xmm2, dword [esp + 0x14]
mov esi, dword [0x101b8990]
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm0
mulss xmm2, xmm2
movss xmm1, dword [esi + 0x220]
addss xmm0, xmm2
sqrtss xmm0, xmm0
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fpatan
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [esp + 0xc]
subss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm1
movss dword [esi + 0x220], xmm0
pop esi
add esp, 0x34
ret