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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
fld dword [ebp + 0x10]
push ebx
push esi
push edi
call fcn.100ac0e0
fld dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x10], edi
call fcn.100ac0e0
fld dword [ebp + 8]
mov esi, eax
call fcn.100ac0e0
fld dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x14], ebx
call fcn.100ac0e0
push eax
push edi
push esi
push ebx
mov eax, 0x790b10
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
cmp al, 1
jne 0x100217f9
call ebx
add eax, 0x1f4
mov dword [0x1073ef54], eax
fld dword [ebp + 0x10]
push 1
fld qword [0x100b7f50]
mov ecx, 0x635fd0
fld st(0)
fdivrp st(2)
fld dword [0xe7c3d4]
fdivp st(2)
fxch st(1)
fstp dword [ebp - 4]
fdiv dword [ebp + 0x14]
fdiv dword [0xe7c3d8]
fstp dword [ebp - 0xc]
call ecx
fld1
fst dword [esp]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
fld dword [ebp - 0xc]
sub esp, 0x28
fstp dword [esp + 0x24]
fld dword [ebp - 4]
fstp dword [esp + 0x20]
fld dword [0x100b7f4c]
fst dword [esp + 0x1c]
fld dword [0x100b7254]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
call fcn.100216d0
fld dword [ebp + 8]
fld st(0)
fld qword [0x100b6f28]
fadd st(1), st(0)
fxch st(1)
call fcn.100ac0e0
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov edi, 0xa
fstp dword [ebp - 0xc]
fld dword [ebp + 0x10]
faddp st(2)
fxch st(1)
fst qword [ebp - 0x1c]
fld st(0)
fsub st(2)
fst qword [ebp - 0x24]
fld dword [ebp - 0xc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10021985
fstp st(2)
fstp st(0)
fld dword [ebp + 0xc]
fadd dword [ebp + 0x14]
fsub qword [0x100b71a0]
fstp dword [ebp + 0x10]
fldz
sub esp, 0x18
fstp dword [esp + 0x14]
mov edx, 0x790e40
fld dword [0x100b7144]
fstp dword [esp + 0x10]
fld dword [0x100b77b4]
fstp dword [esp + 0xc]
fld dword [0x100b70d4]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fstp dword [esp]
push 0x7a79
call edx
fldz
fstp dword [esp + 0x18]
add esp, 4
fld dword [0x100b7144]
mov eax, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x100b7438]
fstp dword [esp + 0xc]
fld dword [0x100b70d4]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 0xc]
fstp dword [esp]
push 0x7a7d
call eax
add dword [ebp - 4], edi
fild dword [ebp - 4]
add esp, 0x1c
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcom qword [ebp - 0x24]
fnstsw ax
test ah, 5
jnp 0x100218de
fstp st(0)
fld qword [0x100b6f28]
fld qword [ebp - 0x1c]
jmp 0x10021987
fstp st(0)
fld dword [ebp + 0xc]
fld st(0)
fadd st(3)
call fcn.100ac0e0
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
fstp dword [ebp - 0xc]
fld st(0)
fadd dword [ebp + 0x14]
fst qword [ebp - 8]
fsubrp st(3)
fxch st(2)
fst qword [ebp - 0x24]
fld dword [ebp - 0xc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10021a5d
fstp st(2)
fsub qword [0x100b72c8]
fstp dword [ebp + 0x14]
fldz
sub esp, 0x18
fst dword [esp + 0x14]
mov ecx, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x100b70d4]
fstp dword [esp + 0xc]
fld dword [0x100b7350]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push 0x7a7b
call ecx
fldz
fst dword [esp + 0x18]
add esp, 4
fstp dword [esp + 0x10]
mov edx, 0x790e40
fld dword [0x100b70d4]
fstp dword [esp + 0xc]
fld dword [0x100b7350]
fstp dword [esp + 8]
fld dword [ebp - 0xc]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7a7c
call edx
add dword [ebp + 0x10], edi
fild dword [ebp + 0x10]
add esp, 0x1c
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcom qword [ebp - 0x24]
fnstsw ax
test ah, 5
jnp 0x100219c8
fstp st(0)
fld dword [ebp + 0xc]
jmp 0x10021a61
fstp st(0)
fstp st(0)
fldz
sub esp, 0x18
fst dword [esp + 0x14]
mov eax, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x100b77b4]
fstp dword [esp + 0xc]
fld dword [0x100b7144]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push 0x7a79
call eax
fld qword [ebp - 0x1c]
fsub qword [0x100b6f48]
add esp, 4
mov ecx, 0x790e40
fstp dword [ebp + 0x14]
fldz
fstp dword [esp + 0x14]
fld dword [0x100b7f48]
fstp dword [esp + 0x10]
fld dword [0x100b77b4]
fstp dword [esp + 0xc]
fld dword [0x100b7144]
fstp dword [esp + 8]
fld dword [ebp + 0xc]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7a79
call ecx
fld qword [ebp - 8]
fsub qword [0x100b71a0]
add esp, 4
mov edx, 0x790e40
fstp dword [ebp + 0x10]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x100b7438]
fstp dword [esp + 0xc]
fld dword [0x100b7144]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
push 0x7a7d
call edx
fldz
fstp dword [esp + 0x18]
add esp, 4
fld dword [0x100b7f48]
mov eax, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x100b7438]
fstp dword [esp + 0xc]
fld dword [0x100b7144]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7a7d
call eax
fld qword [ebp - 0x1c]
fsub qword [0x100b7ac8]
call fcn.100ac0e0
mov dword [ebp + 8], esi
fild dword [ebp + 8]
mov edi, eax
mov dword [ebp + 0x14], edi
add esp, 0xc
fstp dword [ebp + 8]
fild dword [ebp + 0x14]
fstp dword [ebp + 0x14]
fld dword [0x100b734c]
fstp dword [esp + 0xc]
fld dword [0x100b7290]
fstp dword [esp + 8]
mov ecx, 0x790b50
fld dword [ebp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7ec5
call ecx
push 0x24
push 0x24
push esi
push edi
mov edx, 0x790b10
call edx
add esp, 0x24
cmp al, 1
jne 0x10021cbb
push 1
mov eax, 0x791070
call eax
add esp, 4
test al, al
je 0x10021c48
mov esi, dword [ebp + 0x18]
shl esi, 6
call ebx
sub eax, dword [esi + 0x10123dd0]
cmp eax, 0x12c
jbe 0x10021c48
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10021c48
push 0
push 0
push 0x19
mov edx, 0x6d6c20
call edx
fldz
fst dword [esp + 8]
fstp dword [esp + 4]
fld1
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
call ebx
xor byte [esi + 0x10123dd5], 1
add eax, 0x1f4
mov dword [0x1073ef54], eax
call ebx
mov dword [esi + 0x10123dd0], eax
push 0x82
push 0x14
push 0xcc
push 0xff
mov eax, 0x412d20
call eax
fldz
add esp, 0x10
push eax
sub esp, 0x18
fst dword [esp + 0x14]
mov ecx, 0x790f20
fstp dword [esp + 0x10]
fld dword [0x100b734c]
fstp dword [esp + 0xc]
fld dword [0x100b7290]
fstp dword [esp + 8]
fld dword [ebp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7ec5
call ecx
mov edx, dword [0x106868bc]
mov eax, dword [0x106868b4]
push str.Close
push edx
add eax, 0x14
push eax
call fcn.10051100
add esp, 0x2c
mov ecx, dword [ebp + 0x1c]
fld dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
fadd qword [0x100b6f98]
push ecx
push edx
call fcn.100ac0e0
mov ecx, dword [ebp - 0x14]
push ecx
push 0xff38ffac
mov ebx, 3
mov ecx, eax
call fcn.10050e40
mov edx, 0x635f50
call edx
push 0
mov eax, 0x635fd0
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18