Function at 0x10086070
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 + 0x100]
mov eax, 0x927c78
mov ecx, esi
call eax
test al, al
je 0x1008662e
mov eax, dword [0x10498bd4]
cmp eax, 0xff
je 0x1008662e
test eax, eax
je 0x1008662e
cmp eax, 1
je 0x1008662e
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 [0x100bc848]
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 [0x100bc800]
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 0x1008613e
movss xmm2, dword [0x100bc67c]
movaps xmm3, xmm2
jmp 0x10086143
movss xmm2, dword [ebp - 0x20]
lea esi, [eax - 6]
movaps xmm0, xmm2
mulss xmm0, dword [0x100bc9e0]
cmovne esi, eax
lea eax, [edi - 7]
mov dword [ebp - 0x14], esi
cmovne eax, edi
push ebx
push 0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si edi, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100bcb80]
mov dword [ebp - 0xc], edi
addss xmm0, xmm1
cvttss2si eax, xmm0
cvtps2pd xmm0, xmm2
mov dword [ebp - 0x20], eax
mov eax, 0x62f75b
mulsd xmm0, qword [0x100bc7d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
cvtps2pd xmm0, xmm3
mulsd xmm0, qword [0x100bc7d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
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
mov eax, dword [0x10498bd0]
mov ecx, 0x799756
add eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jns 0x100862b1
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 - 0xc]
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 0x100863f1
cvttss2si eax, dword [ebp - 4]
push eax
cvttss2si eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push esi
push eax
call ecx
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 0x100863a7
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 - 0xc]
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 0x100863f1
call edi
sub eax, dword [0x10498bd8]
cmp eax, 0x1f4
jbe 0x100863f1
mov eax, dword [0x10498bd0]
test eax, eax
jle 0x100863f1
mov dword [ebp - 0xf], 0
lea ecx, [ebp - 0x10]
dec al
mov dword [ebp - 0x10], 0xdaf305c1
mov edx, 5
mov byte [ebp - 0xc], al
call fcn.10084a30
call edi
push 0
mov dword [0x10498bd8], eax
mov eax, 0x6d3b61
push 0
push 0x19
call eax
add esp, 0xc
jmp 0x100863f1
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 - 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf079
call esi
add esp, 0x30
mov eax, dword [0x10498bd0]
movss xmm0, dword [ebp - 4]
inc eax
movss xmm1, dword [ebp - 8]
cvttss2si ecx, xmm1
cvttss2si edx, xmm0
cmp eax, dword [0x10498bd4]
jl 0x100864c9
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 - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
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 0x10086602
mov eax, dword [ebp - 0x14]
push edx
push ecx
push eax
push dword [ebp - 0x20]
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 0x100865bc
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 - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
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 0x10086602
call edi
sub eax, dword [0x10498bd8]
cmp eax, 0x1f4
jbe 0x10086602
mov ecx, dword [0x10498bd0]
lea eax, [ecx + 1]
cmp eax, dword [0x10498bd4]
jge 0x10086602
inc cl
mov dword [ebp - 0x1f], 0
mov byte [ebp - 0x1c], cl
mov edx, 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xdaf305c1
call fcn.10084a30
call edi
push 0
mov dword [0x10498bd8], eax
mov eax, 0x6d3b61
push 0
push 0x19
call eax
add esp, 0xc
jmp 0x10086602
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 - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x20]
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