Function at 0x10081c10
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, 0x936aac
call edi
mov esi, dword [eax + 0xf0]
mov eax, 0x927c78
mov ecx, esi
call eax
test al, al
je 0x100821c9
mov eax, dword [0x1028eff4]
cmp eax, 0xff
je 0x100821c9
test eax, eax
je 0x100821c9
cmp eax, 1
je 0x100821c9
push ebx
push 0
mov eax, 0x62f75b
call eax
mov ebx, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp], 0x3f800000
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
call edi
movss xmm0, dword [eax + 0x1e8]
movss dword [ebp - 0x20], xmm0
call edi
mov ecx, esi
movss xmm0, dword [eax + 0x1ec]
mov eax, 0x927b43
movss dword [ebp - 0x14], xmm0
call eax
movss xmm0, dword [ebp - 0x20]
mov eax, 0x927bdc
fadd qword [0x100d19d8]
mov ecx, esi
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
cvttsd2si edi, qword [ebp - 0x10]
call eax
mov ecx, dword [0x118ee38]
movss xmm3, dword [ebp - 0x14]
fadd qword [0x100d1990]
cvtps2pd xmm0, xmm3
movsd qword [ebp - 0x18], xmm0
fmul qword [ebp - 0x18]
fstp qword [ebp - 0x18]
cvttsd2si eax, qword [ebp - 0x18]
cmp ecx, 0x320
jne 0x10081d11
movss xmm2, dword [0x100d1804]
movaps xmm3, xmm2
jmp 0x10081d16
movss xmm2, dword [ebp - 0x20]
lea esi, [eax - 6]
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1bc4]
cmovne esi, eax
lea eax, [edi - 7]
mov dword [ebp - 0xc], esi
cmovne eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1d6c]
mov dword [ebp - 0x20], ecx
addss xmm0, xmm1
cvttss2si eax, xmm0
cvtps2pd xmm0, xmm2
mov dword [ebp - 0x14], eax
mov eax, dword [0x1028eff0]
add eax, 0xffffffff
mulsd xmm0, qword [0x100d1960]
cvtpd2ps xmm2, xmm0
cvtps2pd xmm0, xmm3
movss dword [ebp - 8], xmm2
mulsd xmm0, qword [0x100d1960]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
jns 0x10081e4c
sub esp, 0x10
mov dword [esp + 0xc], 0x3f000000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f000000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, esi
mov esi, 0x631289
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf079
call esi
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
jmp 0x10081f8c
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push esi
push ecx
mov eax, 0x799756
call eax
movss xmm0, dword [ebp - 4]
add esp, 0x10
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f000000
mov dword [esp + 0x18], 0x3f800000
cmp al, 1
jne 0x10081f42
mov dword [esp + 0x14], 0x3f000000
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, esi
mov esi, 0x631289
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf079
call esi
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10081f8c
call edi
sub eax, dword [0x1028eff8]
cmp eax, 0x12c
jbe 0x10081f8c
mov eax, dword [0x1028eff0]
test eax, eax
jle 0x10081f8c
mov dword [ebp - 0x1f], 0
lea ecx, [ebp - 0x20]
dec al
mov dword [ebp - 0x20], 0xdff305c1
mov edx, 5
mov byte [ebp - 0x1c], al
call fcn.10098a10
call edi
push 0
mov dword [0x1028eff8], eax
mov eax, 0x6d3b61
push 0
push 0x19
call eax
add esp, 0xc
jmp 0x10081f8c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, esi
mov esi, 0x631289
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf079
call esi
add esp, 0x30
mov eax, dword [0x1028eff0]
movss xmm0, dword [ebp - 4]
inc eax
movss xmm1, dword [ebp - 8]
cvttss2si ecx, xmm1
cvttss2si edx, xmm0
cmp eax, dword [0x1028eff4]
jl 0x10082064
sub esp, 0x10
mov dword [esp + 0xc], 0x3f000000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f000000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf07a
call esi
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
jmp 0x1008219d
mov eax, dword [ebp - 0xc]
push edx
push ecx
push eax
push dword [ebp - 0x14]
mov eax, 0x799756
call eax
movss xmm0, dword [ebp - 4]
add esp, 0x10
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f000000
mov dword [esp + 0x18], 0x3f800000
cmp al, 1
jne 0x10082157
mov dword [esp + 0x14], 0x3f000000
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf07a
call esi
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1008219d
call edi
sub eax, dword [0x1028eff8]
cmp eax, 0x12c
jbe 0x1008219d
mov ecx, dword [0x1028eff0]
lea eax, [ecx + 1]
cmp eax, dword [0x1028eff4]
jge 0x1008219d
inc cl
mov dword [ebp - 0x1f], 0
mov byte [ebp - 0x1c], cl
mov edx, 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xdff305c1
call fcn.10098a10
call edi
push 0
mov dword [0x1028eff8], eax
mov eax, 0x6d3b61
push 0
push 0x19
call eax
add esp, 0xc
jmp 0x1008219d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf07a
call esi
add esp, 0x30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
mov eax, 0x62f6e1
call eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret