Function at 0x10082400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x1015767a]
push esi
push edi
test al, al
jne 0x1008243a
cmp byte [0x1015779d], al
je 0x10082882
movss xmm0, dword [0xb6f178]
movss dword [ebp - 0x50], xmm0
test al, al
je 0x10082455
movd xmm0, dword [0x10157798]
jmp 0x1008245d
movd xmm0, dword [0x101576b0]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
mov eax, 0x56e210
divss xmm0, dword [0x100f6024]
movss dword [ebp - 0x4c], xmm0
call eax
movss xmm0, dword [ebp - 0x50]
mov edi, eax
xorps xmm0, xmmword [0x100f6740]
add esp, 4
mov eax, 0x56e0d0
movss dword [ebp - 0x48], xmm0
mov esi, dword [edi + 0x14]
push 0
push 0xffffffffffffffff
add esi, 0x30
movss dword [edi + 0x55c], xmm0
movss dword [edi + 0x558], xmm0
mov dword [edi + 0x4c], 0
call eax
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x100825a8
mov esi, dword [eax + 0x14]
lea ecx, [ebp - 0x18]
add esi, 0x30
sub esp, 0xc
mov eax, 0x420b10
movss xmm0, dword [esi + 8]
movss xmm1, dword [esi + 4]
subss xmm0, xmm0
movss xmm2, dword [esi]
subss xmm1, xmm1
subss xmm2, xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10010310
push ecx
mov ecx, dword [ebp - 8]
mov eax, 0x59b020
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [esp], xmm0
mov ecx, dword [ecx + 0x14]
call eax
movss xmm0, dword [ebp - 0x50]
call fcn.1002b110
mulss xmm0, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
movss xmm1, dword [esi]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x50]
mov eax, dword [eax + 0x14]
cvtps2pd xmm0, xmm0
movss dword [eax + 0x30], xmm1
call fcn.100d3d10
mov ecx, dword [ebp - 8]
movss xmm1, dword [esi + 4]
cvtsd2ss xmm0, xmm0
mov eax, dword [ecx + 0x14]
mulss xmm0, dword [ebp - 0x54]
subss xmm1, xmm0
movss dword [eax + 0x34], xmm1
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x44], 0
jmp 0x100825c7
cmp byte [0x1015767a], 0
mov eax, dword [edi + 0x46c]
je 0x100825be
or eax, 0x200003
jmp 0x100825c1
or eax, 1
mov dword [edi + 0x46c], eax
lea eax, [esi + 4]
push 0x57
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10082613
movss xmm0, dword [ebp - 0x50]
call fcn.1002b110
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x50]
cvtps2pd xmm0, xmm0
call fcn.100d3d10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
jmp 0x10082619
lea eax, [esi + 4]
mov dword [ebp - 8], eax
push 0x53
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1008266c
movss xmm0, dword [ebp - 0x50]
call fcn.1002b110
movaps xmm1, xmm0
movss xmm0, dword [esi]
mulss xmm1, dword [ebp - 0x4c]
subss xmm0, xmm1
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x50]
cvtps2pd xmm0, xmm0
call fcn.100d3d10
mov eax, dword [ebp - 8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [eax]
mulss xmm1, dword [ebp - 0x4c]
subss xmm0, xmm1
movss dword [eax], xmm0
push 0x44
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100826b8
movss xmm0, dword [ebp - 0x50]
cvtps2pd xmm0, xmm0
call fcn.100d3d10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x50]
call fcn.1002b110
mov eax, dword [ebp - 8]
movaps xmm1, xmm0
mulss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [eax], xmm0
push 0x41
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10082703
movss xmm0, dword [ebp - 0x50]
cvtps2pd xmm0, xmm0
call fcn.100d3d10
movss xmm1, dword [esi]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x50]
mulss xmm2, dword [ebp - 0x4c]
subss xmm1, xmm2
movss dword [esi], xmm1
call fcn.1002b110
mulss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
cmp byte [0x1015767a], 0
je 0x10082744
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10082728
movss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10082744
movss xmm0, dword [esi + 8]
subss xmm0, dword [ebp - 0x4c]
movss dword [esi + 8], xmm0
cmp byte [0x1015779d], 0
je 0x10082882
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1008275d
lea edi, [eax + 0x30]
jmp 0x10082760
add edi, 4
movss xmm2, dword [edi]
sub esp, 8
movss dword [ebp - 0x18], xmm2
movss xmm1, dword [edi + 4]
movss dword [ebp - 0x14], xmm1
movss xmm0, dword [edi + 8]
mov edi, 0x569660
movss dword [esp + 4], xmm1
movss dword [ebp - 0x10], xmm0
movss dword [esp], xmm2
call edi
fadd dword [0x100f5f68]
push 0
push 0
push 0
push 1
push 1
push 0
push 0
push 1
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, 0x56ba00
fstp dword [ebp - 0x54]
call eax
add esp, 0x38
test al, al
je 0x100827dc
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x100f5f68]
jmp 0x100827e1
movss xmm0, dword [ebp - 0x54]
sub esp, 8
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call edi
fstp dword [ebp - 0x54]
movss xmm0, dword [ebp - 0x54]
add esp, 8
comiss xmm0, dword [ebp - 0x4c]
jbe 0x1008281e
addss xmm0, dword [0x100f5f68]
movss dword [ebp - 0x4c], xmm0
push 0xc
call fcn.10094579
movss xmm0, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x54], eax
push eax
push 1
lea eax, [ebp - 8]
push eax
sub esp, 0xc
mov eax, 0x6eb690
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call eax
movss xmm0, dword [ebp - 0x4c]
add esp, 0x18
test al, al
je 0x1008287d
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x1008287d
movaps xmm0, xmm1
addss xmm0, dword [0x100f5f68]
movss dword [esi + 8], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10093f63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret