Function at 0x102edc5
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 0x102ee0b
cmp dword [esi + 0x240], 0
je 0x102ee0b
mov ebx, dword [ebp + 8]
mov eax, ebx
sub eax, edi
je 0x102ee07
sub eax, edi
je 0x102ee02
sub eax, 4
je 0x102edfe
sub eax, 8
jne 0x102ee0e
push 4
jmp 0x102ee04
mov ebx, edi
jmp 0x102ee0e
push 0x10
pop ebx
jmp 0x102ee0e
push 8
jmp 0x102ee04
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 0x102eeba
mov ecx, esi
call fcn.010070e5
cmp eax, 1
jne 0x102eeba
cmp dword [ebp + 0x20], 0
je 0x102eeba
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 0x102efac
mov eax, ebx
sub eax, 0
je 0x102effb
sub eax, edi
je 0x102efef
sub eax, edi
je 0x102efe3
sub eax, 4
je 0x102efd7
sub eax, 8
je 0x102efcb
sub eax, 0x10
je 0x102efbf
sub eax, 0x20
je 0x102efb3
mov dword [ebp + 8], 0x101cbdc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0x102f074
test esi, esi
je 0x102ef71
mov eax, dword [esi + 0x4a4]
test eax, eax
je 0x102ef71
cmp ecx, 0x10489ac
je 0x102ef5c
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 0x102f0f8
push ebx
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ed3b
call edi
and dword [esi + 0x4a4], 0
mov dword [esi + 0x4a8], eax
mov ecx, dword [0x10489ac]
cmp ecx, 0x10489ac
je 0x102efac
test byte [ecx + 0x1c], 0x20
je 0x102efac
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 0x102f0f8
push ebx
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ec90
pop edi
pop esi
pop ebx
leave
ret 0x24
mov dword [ebp + 8], 0x102f0e4
jmp 0x102ef10
mov dword [ebp + 8], 0x102f0cc
jmp 0x102ef10
mov dword [ebp + 8], 0x102f0bc
jmp 0x102ef10
mov dword [ebp + 8], 0x102f0a8
jmp 0x102ef10
mov dword [ebp + 8], 0x102f098
jmp 0x102ef10
mov dword [ebp + 8], 0x102f084
jmp 0x102ef10
test esi, esi
je 0x102efac
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 0x102efac
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x102f062
test byte [eax + 0x1c], 0x20
je 0x102f062
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 0x102f0f8
push 0x102f074
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ed3b
and dword [esi + 0x4a4], 0
mov dword [esi + 0x4a8], edi
jmp 0x102efac