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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102c5060], 0
push ebx
push esi
push edi
je 0x1005e205
mov eax, 0x936aac
call eax
mov edx, 0x927c78
mov ecx, dword [eax + 0xdc]
call edx
test al, al
jne 0x1005d7a3
cmp byte [0x1027a4bd], 1
jne 0x1005e205
mov byte [0x1027a4bd], 0
mov dword [0x11c4454], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [0x1027a4bd]
test cl, cl
je 0x1005e205
mov eax, dword [0x10846744]
test eax, eax
jle 0x1005d7c9
add eax, 0xffffffff
mov dword [0x10846744], eax
jne 0x1005d7c9
cmp cl, 1
jmp 0x1005d785
cmp dword [0x10643c08], 0
je 0x1005e205
cmp dword [0x10643c0c], 0
je 0x1005e205
mov eax, dword [0x104f9dc8]
movss xmm0, dword [0x11b3794]
add eax, 0x140
movss xmm1, dword [0x100d183c]
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm0
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x1005d828
movaps xmm3, xmm0
jmp 0x1005d830
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1e74]
ucomiss xmm4, xmm1
subss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1005d84d
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1d6c]
sub esp, 0x10
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
addss xmm0, xmm2
mov dword [esp + 0xc], 0x3f733333
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
movss dword [ebp - 0xc], xmm0
call esi
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm3, dword [0x11b3794]
comiss xmm0, xmm3
xorps xmm0, xmm0
setae al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1005d8b8
movaps xmm2, xmm3
jmp 0x1005d8c0
movss xmm2, dword [0x11b3798]
mulss xmm2, dword [0x100d1df4]
ucomiss xmm1, xmm0
divss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1005d8de
movaps xmm1, xmm3
addss xmm1, xmm3
jmp 0x1005d8ea
movss xmm1, dword [0x11b3798]
addss xmm1, xmm1
movss xmm0, dword [ebp - 0xc]
mov eax, 0x631289
subss xmm0, xmm1
push ecx
mov dword [esp], 0
push 1
push 1
divss xmm0, xmm3
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43340000
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42c80000
movss dword [esp], xmm0
push 0xf070
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
push 0xe2
mov eax, 0x436d31
mov ecx, 0x8499de0
call eax
movss xmm0, dword [0x100d183c]
xor ecx, ecx
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
mov edx, eax
setae cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005d9b4
movaps xmm0, xmm2
jmp 0x1005d9bc
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1df4]
push edx
push 0
push 3
divss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xc]
divss xmm0, xmm2
push eax
push 0x71
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
add esp, 0x20
comiss xmm0, xmm2
xorps xmm3, xmm3
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1005da24
movaps xmm1, xmm2
jmp 0x1005da2c
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1c58]
movss xmm0, dword [ebp - 0xc]
ucomiss xmm4, xmm3
addss xmm1, xmm0
lahf
divss xmm1, xmm2
movss dword [ebp - 4], xmm1
test ah, 0x44
jnp 0x1005da54
movaps xmm1, xmm2
jmp 0x1005da5c
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1bd4]
ucomiss xmm4, xmm3
addss xmm1, xmm0
lahf
divss xmm1, xmm2
movss dword [ebp - 0x10], xmm1
test ah, 0x44
jnp 0x1005da7f
movaps xmm0, xmm2
jmp 0x1005da87
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1d70]
push 1
divss xmm0, xmm2
movss dword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x799756
test ax, ax
jns 0x1005daf8
cvttss2si edi, dword [ebp - 8]
push 0x17
cvttss2si ebx, dword [ebp - 4]
push edi
push 0x87
push ebx
call ecx
add esp, 0x10
test al, al
je 0x1005df2d
push 0x100cd26b
mov byte [0x1027a69e], 1
mov byte [0x1027a6fe], 0
mov byte [0x1027a75e], 0
mov byte [0x1027a7be], 0
push 0x1027a69f
call fcn.1001c6a0
add esp, 8
cmp byte [0x1027a69e], 1
jne 0x1005db25
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f47ae14
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [ebp - 8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f35c28f
mov dword [esp + 0x18], 0x3f1c28f6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 4], 0x43070000
movss dword [esp], xmm0
push 0x11762
call eax
cvttss2si edi, dword [ebp - 0x10]
add esp, 0x30
mov ecx, 0x101888b0
push 0xf1
call fcn.1003ad30
push eax
push 0
push 1
push 0x32
push 0x8e
push edi
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
cvttss2si ebx, dword [ebp - 8]
push 0x1027a69f
push 0
push 3
cvttss2si eax, dword [ebp - 4]
push ebx
push 0x8e
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x30
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
cmp byte [0x1027a6fe], 1
jne 0x1005dc2c
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f47ae14
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [ebp - 8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f35c28f
mov dword [esp + 0x18], 0x3f1c28f6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm0
push 0x11762
call eax
add esp, 0x30
mov ecx, 0x101888b0
push 0xf5
call fcn.1003ad30
push eax
push 0
push 1
push 0x32
push 0xa7
push edi
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
cvttss2si eax, dword [ebp - 4]
push 0x1027a6ff
push 0
push 3
push ebx
push 0xa7
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x30
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
cmp byte [0x1027a75e], 1
jne 0x1005dd29
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f47ae14
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [ebp - 8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f35c28f
mov dword [esp + 0x18], 0x3f1c28f6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 4], 0x43390000
movss dword [esp], xmm0
push 0x11762
call eax
add esp, 0x30
mov ecx, 0x101888b0
push 0xf6
call fcn.1003ad30
push eax
push 0
push 1
push 0x32
push 0xc0
push edi
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
cvttss2si eax, dword [ebp - 4]
push 0x1027a75f
push 0
push 3
push ebx
push 0xc0
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x30
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
cmp byte [0x1027a7be], 1
jne 0x1005de26
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f47ae14
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [ebp - 8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f35c28f
mov dword [esp + 0x18], 0x3f1c28f6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 4], 0x43520000
movss dword [esp], xmm0
push 0x11762
call eax
add esp, 0x30
mov ecx, 0x101888b0
push 0xf7
call fcn.1003ad30
push eax
push 0
push 1
push 0x32
push 0xd9
push edi
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
cvttss2si eax, dword [ebp - 4]
push 0x1027a7bf
push 0
push 3
push ebx
push 0xd9
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x30
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
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 0x1005dfff
movaps xmm0, xmm2
jmp 0x1005e007
push 0x17
push edi
push 0xa0
push ebx
mov eax, 0x799756
call eax
add esp, 0x10
test al, al
je 0x1005df6f
push 0x100cd26b
mov byte [0x1027a69e], 0
mov byte [0x1027a6fe], 1
mov byte [0x1027a75e], 0
mov byte [0x1027a7be], 0
push 0x1027a6ff
jmp 0x1005daf0
push 0x17
push edi
push 0xb9
push ebx
mov eax, 0x799756
call eax
add esp, 0x10
test al, al
je 0x1005dfb1
push 0x100cd26b
mov byte [0x1027a69e], 0
mov byte [0x1027a6fe], 0
mov byte [0x1027a75e], 1
mov byte [0x1027a7be], 0
push 0x1027a75f
jmp 0x1005daf0
push 0x17
push edi
push 0xd2
push ebx
mov eax, 0x799756
call eax
add esp, 0x10
mov byte [0x1027a69e], 0
mov byte [0x1027a6fe], 0
mov byte [0x1027a75e], 0
test al, al
je 0x1005dff3
push 0x100cd26b
mov byte [0x1027a7be], 1
push 0x1027a7bf
jmp 0x1005daf0
mov byte [0x1027a7be], 0
jmp 0x1005db25
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1cac]
ucomiss xmm3, xmm1
addss xmm0, dword [ebp - 0xc]
lahf
divss xmm0, xmm2
movss dword [ebp - 8], xmm0
test ah, 0x44
jnp 0x1005e02b
movaps xmm1, xmm2
jmp 0x1005e033
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1c88]
mov eax, 0x799756
push 0x14
cvttss2si ebx, xmm0
divss xmm1, xmm2
cvttss2si edi, xmm1
movss dword [ebp - 0xc], xmm1
push edi
push 0xf0
push ebx
call eax
add esp, 0x10
test al, al
je 0x1005e131
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1005e131
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10846748]
cmp eax, 0x1f4
jbe 0x1005e131
movss xmm0, dword [ebp - 0xc]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e69d18c
mov dword [esp + 0x18], 0x3f341b1a
mov dword [esp + 0x14], 0x3f07ae14
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
mov dword [esp + 4], 0x43700000
movss dword [esp], xmm0
push 0xf06e
call eax
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10846748], eax
call fcn.1005e210
sub esp, 0xc
mov dword [0x10846744], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
jmp 0x1005e1b5
push 0x14
push edi
push 0xf0
push ebx
mov eax, 0x799756
call eax
movss xmm0, dword [ebp - 0xc]
add esp, 0x10
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
test al, al
mov eax, 0x631289
mov dword [esp + 0x1c], 0x3e69d18c
mov dword [esp + 0x18], 0x3f341b1a
je 0x1005e17b
mov dword [esp + 0x14], 0x3ca3d70a
jmp 0x1005e183
mov dword [esp + 0x14], 0x3e8963a7
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
mov dword [esp + 4], 0x43700000
movss dword [esp], xmm0
push 0xf06e
call eax
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 esi
push 0xe4
mov ecx, 0x8499de0
mov eax, 0x436d31
call eax
push eax
push 0
push 3
push edi
push 0xf6
push ebx
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret