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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.OPENGL32.dll_glColor3f]
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x100492ca
movaps xmm0, xmm2
jmp 0x100492d2
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c9c]
ucomiss xmm3, xmm1
divss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100492ec
movaps xmm1, xmm2
jmp 0x100492f4
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1c70]
push 0xf
cvttss2si eax, xmm0
addss xmm1, dword [0x1023c538]
movss xmm0, dword [0x1023c53c]
addss xmm0, dword [0x100d1d9c]
push eax
divss xmm1, xmm2
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
mov eax, 0x799756
call eax
add esp, 0x10
cmp al, 1
jne 0x100493bb
sub esp, 0xc
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004940f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1023c558]
cmp eax, 0x7d0
jb 0x1004939f
call esi
mov edx, 8
mov dword [0x1023c558], eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0xfbf308c1
mov dword [ebp - 8], 0
call fcn.10098a10
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
jmp 0x1004940d
mov eax, dword [0x1023c568]
cmp eax, dword [0x1023c564]
jl 0x1004940f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1023c57c]
cmp eax, 0x1f4
jbe 0x1004940f
call esi
sub eax, dword [0x1023c57c]
cmp eax, 0x3e8
jbe 0x100493f3
call esi
mov dword [0x1023c57c], eax
sub esp, 0xc
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call edi
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004943f
movaps xmm0, xmm2
jmp 0x10049447
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c9c]
ucomiss xmm3, xmm1
divss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10049461
movaps xmm1, xmm2
jmp 0x10049469
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1c70]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
addss xmm1, dword [0x1023c538]
push 1
sub esp, 0x20
divss xmm1, xmm2
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
movss dword [esp + 8], xmm0
movss xmm0, dword [0x1023c53c]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100d1a38]
cvtpd2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x8328
call eax
add esp, 0x24
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10049534
movaps xmm0, xmm2
jmp 0x1004953c
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1cac]
ucomiss xmm3, xmm1
divss xmm0, xmm2
lahf
movss dword [ebp - 4], xmm0
test ah, 0x44
jnp 0x1004955b
movaps xmm0, xmm2
jmp 0x10049563
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c70]
mov ecx, 0x101888b0
push 0x57
addss xmm0, dword [0x1023c538]
divss xmm0, xmm2
movss dword [ebp - 8], xmm0
call fcn.1003ad30
movss xmm0, dword [0x1023c53c]
push eax
cvttss2si eax, dword [ebp - 4]
push 0
push 3
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x100d1a48]
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x20
pop edi
pop esi
mov esp, ebp
pop ebp
ret