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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x102c7360], 0
push ebx
push esi
push edi
je 0x1001fac4
push 0x10
mov esi, 0x861110
call esi
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x1001f03f
cmp byte [0x102a7b5d], 1
jne 0x1001fac4
mov byte [0x102a7b5d], al
mov dword [0xe8cb3c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
mov edx, 0x861440
mov ecx, eax
call edx
push 0x14
push 0x46
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x78]
push eax
push ecx
mov eax, 0x790b10
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
jne 0x1001f0dc
push 1
call edi
test ax, ax
jns 0x1001f0dc
call esi
sub eax, dword [0x1084837c]
cmp eax, 0xc8
jbe 0x1001f0dc
mov byte [0x102a7b5d], 1
push 0x100ed2ab
mov dword [0xe8cb3c], 1
push 0x102a7d3f
mov byte [0x102a7d3e], 1
call fcn.1001ef90
add esp, 8
mov dword [0x10848380], 0
call esi
push 0
mov dword [0x1084837c], eax
mov eax, 0x6d6c20
push 0
push 0x1c
call eax
add esp, 0xc
push 0x14
push 0x46
lea eax, [ebx + 0xaf]
push eax
push dword [ebp - 4]
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1001f15b
push 1
call edi
test ax, ax
jns 0x1001f15b
call esi
sub eax, dword [0x1084837c]
cmp eax, 0xc8
jbe 0x1001f15b
mov byte [0x102a7b5d], 1
push 0x100ed2ab
mov dword [0xe8cb3c], 1
push 0x102a7d3f
mov byte [0x102a7d3e], 1
call fcn.1001ef90
add esp, 8
mov dword [0x10848380], 1
call esi
push 0
mov dword [0x1084837c], eax
mov eax, 0x6d6c20
push 0
push 0x1c
call eax
add esp, 0xc
push 0x14
push 0x46
lea eax, [ebx + 0xf0]
push eax
push dword [ebp - 4]
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1001f1da
push 1
call edi
test ax, ax
jns 0x1001f1da
call esi
sub eax, dword [0x1084837c]
cmp eax, 0xc8
jbe 0x1001f1da
mov byte [0x102a7b5d], 1
push 0x100ed2ab
mov dword [0xe8cb3c], 1
push 0x102a7d3f
mov byte [0x102a7d3e], 1
call fcn.1001ef90
add esp, 8
mov dword [0x10848380], 2
call esi
push 0
mov dword [0x1084837c], eax
mov eax, 0x6d6c20
push 0
push 0x1c
call eax
add esp, 0xc
push 0x14
push 0x46
lea eax, [ebx + 0x127]
push eax
push dword [ebp - 4]
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1001f259
push 1
call edi
test ax, ax
jns 0x1001f259
call esi
sub eax, dword [0x1084837c]
cmp eax, 0xc8
jbe 0x1001f259
mov byte [0x102a7b5d], 1
push 0x100ed2ab
mov dword [0xe8cb3c], 1
push 0x102a7d3f
mov byte [0x102a7d3e], 1
call fcn.1001ef90
add esp, 8
mov dword [0x10848380], 3
call esi
push 0
mov dword [0x1084837c], eax
mov eax, 0x6d6c20
push 0
push 0x1c
call eax
add esp, 0xc
mov eax, dword [0x107e7d48]
movzx eax, byte [eax + 0xb]
push eax
mov eax, 0x405230
call eax
add esp, 4
cmp al, 4
jne 0x1001f2f0
push 0x14
push 0x46
lea eax, [ebx + 0x15e]
push eax
push dword [ebp - 4]
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1001f2f0
push 1
call edi
test ax, ax
jns 0x1001f2f0
call esi
sub eax, dword [0x1084837c]
cmp eax, 0xc8
jbe 0x1001f2f0
mov byte [0x102a7b5d], 1
push 0x100ed2ab
mov dword [0xe8cb3c], 1
push 0x102a7d3f
mov byte [0x102a7d3e], 1
call fcn.1001ef90
add esp, 8
mov dword [0x10848380], 4
call esi
push 0
mov dword [0x1084837c], eax
mov eax, 0x6d6c20
push 0
push 0x1c
call eax
add esp, 0xc
cmp byte [0x102a7b5d], 0
je 0x1001fac4
mov eax, dword [0x100fac74]
cdq
sub eax, edx
sar eax, 1
cmp dword [0x107e7d48], 0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm3, dword [0x100f1e4c]
movss dword [ebp - 4], xmm3
je 0x1001fac4
cmp dword [0x107e7d4c], 0
je 0x1001fac4
movss xmm2, dword [0x102a7b40]
movaps xmm0, xmm3
movss xmm1, dword [0x102a7b44]
addss xmm0, xmm2
sub esp, 0x10
movss dword [0x102a7b48], xmm3
mov ebx, 0x790b50
mov dword [0x102a7b4c], 0x42cc0000
movss dword [0x102a7b50], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1e20]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42cc0000
movss dword [esp], xmm3
push dword [0x102a7b3c]
movss dword [0x102a7b54], xmm0
call ebx
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102a7ba0]
movaps xmm0, xmm3
movss xmm1, dword [0x102a7ba4]
addss xmm0, xmm2
movss dword [0x102a7ba8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42c80000
movss dword [0x102a7bb0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1e18]
movss dword [esp], xmm3
push dword [0x102a7b9c]
mov dword [0x102a7bac], 0x42c80000
movss dword [0x102a7bb4], xmm0
call ebx
movss xmm0, dword [0x102a7c04]
add esp, 4
movss xmm3, dword [ebp - 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102a7c00]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x43270000
movss dword [esp], xmm3
push dword [0x102a7bfc]
call ebx
movss xmm4, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102a7c60]
movaps xmm0, xmm4
movss xmm3, dword [0x102a7c04]
addss xmm0, xmm2
addss xmm3, dword [0x100f1ef8]
movss xmm1, dword [0x102a7c64]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [0x102a7c70], xmm0
movaps xmm0, xmm3
movss dword [esp + 4], xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x102a7c5c]
movss dword [0x102a7c68], xmm4
movss dword [0x102a7c6c], xmm3
movss dword [0x102a7c74], xmm0
call ebx
movss xmm3, dword [ebp - 4]
add esp, 4
addss xmm3, dword [0x100f1f8c]
movss xmm2, dword [0x102a7cc0]
movss xmm1, dword [0x102a7cc4]
mov dword [0x102a7ccc], 0x42c60000
subss xmm3, xmm2
addss xmm3, dword [0x100f1740]
movaps xmm0, xmm3
movss dword [0x102a7cc8], xmm3
addss xmm0, xmm2
movss dword [0x102a7cd0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1e14]
movss dword [0x102a7cd4], xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42c60000
movss dword [esp], xmm3
push dword [0x102a7cbc]
call ebx
movd xmm2, dword [0x879340c]
add esp, 0x14
movss xmm3, dword [0x102a7cc8]
mov edi, 0x790f20
movss xmm1, dword [0x100f2170]
mov esi, 0x402320
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
ja 0x1001f673
comiss xmm2, dword [0x102a7cd0]
ja 0x1001f673
movd xmm0, dword [0x8793410]
movss xmm2, dword [0x102a7ccc]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001f673
comiss xmm0, dword [0x102a7cd4]
ja 0x1001f673
cmp byte [0x102a7cdc], 0
mov eax, 0x96323232
movss xmm4, dword [0x102a7cc4]
mov ecx, 0x64d3d3d3
movss xmm5, dword [0x102a7cc0]
cmovne ecx, eax
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1001f5db
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1001f5f9
movaps xmm0, xmm3
addss xmm0, xmm5
movss dword [0x102a7cd0], xmm0
movaps xmm0, xmm2
addss xmm0, xmm4
movss dword [0x102a7cd4], xmm0
push ecx
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
push dword [0x102a7cbc]
call edi
add esp, 0x20
mov ecx, 0x8128adc
push 0x184
call esi
movss xmm0, dword [0x102a7ccc]
addss xmm0, dword [0x100f1d00]
push eax
cvttss2si eax, xmm0
movss xmm0, dword [0x102a7cc8]
addss xmm0, dword [0x100f1c90]
push eax
cvttss2si eax, xmm0
push eax
push 0x102a22b0
call fcn.1006cdd0
add esp, 0x10
push 0x104
mov ecx, 0x101b3888
call fcn.10042330
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1cac]
push eax
push 3
push 0xd2
push 0x6e
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
movss xmm4, dword [ebp - 4]
add esp, 0xc
addss xmm4, dword [0x100f1d18]
movss xmm2, dword [0x102a7d20]
movss xmm3, dword [0x102a7b4c]
addss xmm3, dword [0x100f1d5c]
movss xmm1, dword [0x102a7d24]
movaps xmm0, xmm4
movss dword [esp + 0xc], xmm1
addss xmm0, xmm2
movss dword [esp + 8], xmm2
movss dword [ebp - 8], xmm4
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [0x102a7d1c]
movss dword [0x102a7d30], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [0x102a7d28], xmm4
movss dword [0x102a7d2c], xmm3
movss dword [0x102a7d34], xmm0
call ebx
add esp, 0x14
cmp byte [0x102a7d3e], 1
jne 0x1001f7fd
movss xmm0, dword [0x102a7d28]
movss xmm1, dword [0x100f2170]
movss xmm2, dword [0x102a7b4c]
addss xmm2, dword [0x100f1d5c]
movss xmm3, dword [0x102a7d24]
movss xmm4, dword [0x102a7d20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001f789
movss xmm0, dword [0x102a7d2c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001f7be
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102a7d28], xmm1
addss xmm0, xmm4
movss dword [0x102a7d2c], xmm2
movss dword [0x102a7d30], xmm0
movaps xmm0, xmm2
addss xmm0, xmm3
movss dword [0x102a7d34], xmm0
jmp 0x1001f7c3
movss xmm1, dword [ebp - 8]
push 0x64d3d3d3
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [0x102a7d1c]
call edi
add esp, 0x20
mov eax, dword [0x10848380]
test eax, eax
jne 0x1001f80d
push 0xa6
jmp 0x1001f83b
cmp eax, 1
jne 0x1001f819
push 0xa7
jmp 0x1001f83b
cmp eax, 2
jne 0x1001f825
push 0xa9
jmp 0x1001f83b
cmp eax, 3
jne 0x1001f831
push 0xa8
jmp 0x1001f83b
cmp eax, 4
jne 0x1001f880
push 0x6ca
mov ecx, 0x8128adc
call esi
movss xmm0, dword [0x102a7b4c]
addss xmm0, dword [0x100f1d74]
push eax
push 1
push 0xc8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d4c]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
movss xmm0, dword [0x102a7b4c]
addss xmm0, dword [0x100f1d74]
push 0x102a7d3f
push 3
push 0xc8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d6c]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006c9b0
movss xmm1, dword [0x102a7b40]
add esp, 0x1c
mulss xmm1, dword [0x100f14a4]
movss xmm4, dword [0x102a7d80]
movss xmm2, dword [0x100f2170]
movaps xmm0, xmm4
addss xmm1, dword [ebp - 4]
mulss xmm0, dword [0x100f14a4]
movss xmm3, dword [0x102a7b4c]
addss xmm3, dword [0x100f1de8]
movss xmm5, dword [0x102a7d84]
subss xmm1, xmm0
movss xmm0, dword [0x102a7d88]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001f930
movss xmm0, dword [0x102a7d8c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001f95e
movaps xmm0, xmm1
movss dword [0x102a7d88], xmm1
addss xmm0, xmm4
movss dword [0x102a7d8c], xmm3
movss dword [0x102a7d90], xmm0
movaps xmm0, xmm3
addss xmm0, xmm5
movss dword [0x102a7d94], xmm0
sub esp, 0x18
mov esi, 0x790e40
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm3
movss dword [esp], xmm1
push dword [0x102a7d7c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm5, dword [0x102a7d88]
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x1001fac4
comiss xmm0, dword [0x102a7d90]
ja 0x1001fac4
movd xmm0, dword [0x8793410]
movss xmm4, dword [0x102a7d8c]
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm0
ja 0x1001fac4
comiss xmm0, dword [0x102a7d94]
ja 0x1001fac4
movss xmm1, dword [0x102a7b40]
mov eax, 0x3c
mulss xmm1, dword [0x100f14a4]
mov ecx, 0x1e
cmp byte [0x102a7d9c], 0
movss xmm3, dword [0x102a7d80]
movss xmm2, dword [0x102a7b4c]
movaps xmm0, xmm3
addss xmm1, dword [ebp - 4]
mulss xmm0, dword [0x100f14a4]
cmovne ecx, eax
addss xmm2, dword [0x100f1de8]
subss xmm1, xmm0
movss xmm0, dword [0x100f2170]
ucomiss xmm5, xmm0
movss xmm5, dword [0x102a7d84]
lahf
test ah, 0x44
jnp 0x1001fa5c
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x1001fa8a
movaps xmm0, xmm1
movss dword [0x102a7d88], xmm1
addss xmm0, xmm3
movss dword [0x102a7d8c], xmm2
movss dword [0x102a7d90], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [0x102a7d94], xmm0
sub esp, 0x18
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm3
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [0x102a7d7c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret