Function at 0x102eded
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
pop edi
test esi, esi
je 0x102ee33
cmp dword [esi + 0x240], 0
je 0x102ee33
mov ebx, dword [ebp + 8]
mov eax, ebx
sub eax, edi
je 0x102ee2f
sub eax, edi
je 0x102ee2a
sub eax, 4
je 0x102ee26
sub eax, 8
jne 0x102ee36
push 4
jmp 0x102ee2c
mov ebx, edi
jmp 0x102ee36
push 0x10
pop ebx
jmp 0x102ee36
push 8
jmp 0x102ee2c
mov ebx, dword [ebp + 8]
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x24]
neg eax
sbb eax, eax
and eax, 0x2000
xor ecx, ecx
cmp dword [ebp + 0x20], ecx
push 0x1c
setne cl
or eax, ecx
mov ecx, dword [ebp + 0x28]
neg ecx
sbb ecx, ecx
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
and ecx, 0xfffd0000
add ecx, 0x40000
or eax, ecx
or eax, ebx
or eax, 0xc000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
and eax, 0x7f
or eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
test esi, esi
je 0x102eee2
mov ecx, esi
call fcn.010070dd
cmp eax, 1
jne 0x102eee2
cmp dword [ebp + 0x20], 0
je 0x102eee2
movzx ecx, word [esi + 0x3c4]
movzx edx, word [esi + 0x3c0]
mov eax, dword [esi + 0x9c]
shl ecx, 0x10
or ecx, edx
push ecx
and eax, 1
push eax
push 0x2cc
call fcn.010015fd
mov ecx, eax
call fcn.010022b0
mov ecx, dword [0x10489ac]
test byte [ecx + 0x1c], 0x20
je 0x102efd4
mov eax, ebx
sub eax, 0
je 0x102f023
sub eax, edi
je 0x102f017
sub eax, edi
je 0x102f00b
sub eax, 4
je 0x102efff
sub eax, 8
je 0x102eff3
sub eax, 0x10
je 0x102efe7
sub eax, 0x20
je 0x102efdb
mov dword [ebp + 8], 0x101cb64
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0x102f09c
test esi, esi
je 0x102ef99
mov eax, dword [esi + 0x4a4]
test eax, eax
je 0x102ef99
cmp ecx, 0x10489ac
je 0x102ef84
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call edi
xor edx, edx
mov ecx, 0x2710
div ecx
mov eax, dword [0x10489ac]
push edx
push 0x102f120
push ebx
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ed63
call edi
and dword [esi + 0x4a4], 0
mov dword [esi + 0x4a8], eax
mov ecx, dword [0x10489ac]
cmp ecx, 0x10489ac
je 0x102efd4
test byte [ecx + 0x1c], 0x20
je 0x102efd4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
xor edx, edx
mov ecx, 0x2710
div ecx
mov eax, dword [0x10489ac]
push edx
push 0x102f120
push ebx
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ecb8
pop edi
pop esi
pop ebx
leave
ret 0x24
mov dword [ebp + 8], 0x102f10c
jmp 0x102ef38
mov dword [ebp + 8], 0x102f0f4
jmp 0x102ef38
mov dword [ebp + 8], 0x102f0e4
jmp 0x102ef38
mov dword [ebp + 8], 0x102f0d0
jmp 0x102ef38
mov dword [ebp + 8], 0x102f0c0
jmp 0x102ef38
mov dword [ebp + 8], 0x102f0ac
jmp 0x102ef38
test esi, esi
je 0x102efd4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [esi + 0x4a4]
call ebx
mov edi, eax
sub eax, dword [esi + 0x4a8]
cmp eax, 0x3e8
jbe 0x102efd4
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x102f08a
test byte [eax + 0x1c], 0x20
je 0x102f08a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0x4a4]
call ebx
xor edx, edx
mov ecx, 0x2710
div ecx
mov eax, dword [0x10489ac]
push edx
push 0x102f120
push 0x102f09c
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ed63
and dword [esi + 0x4a4], 0
mov dword [esi + 0x4a8], edi
jmp 0x102efd4