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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2ac]
cmp ecx, 1
jne 0x100e1694
mov ecx, dword [ebp - 8]
call fcn.1000a520
movzx edx, al
test edx, edx
je 0x100e1527
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2a0]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
lea ecx, [edx + ecx + 0x1e8]
call fcn.10048f70
cmp eax, 0xe
jbe 0x100e1527
push 0xfc
push 0xb4
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x101c94d8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 8]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c9300]
cvttss2si eax, xmm0
push eax
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx ecx, al
test ecx, ecx
je 0x100e14ff
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2cc]
call fcn.100d38d0
fstp dword [ebp - 0xc]
cmp dword [0x879337c], 0
jg 0x100e14a6
cmp dword [0x879337c], 0
jge 0x100e14a4
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x101c8dc8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
comisd xmm0, xmmword [0x101c8e90]
jbe 0x100e148b
movss xmm0, dword [0x101c8d34]
movss dword [ebp - 0xc], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2cc]
call fcn.100d3940
jmp 0x100e14ff
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
subsd xmm0, qword [0x101c8dc8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
movsd xmm1, qword [0x101c8950]
comisd xmm1, xmm0
jbe 0x100e14e6
movss xmm0, dword [0x101c8948]
movss dword [ebp - 0xc], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x2cc]
call fcn.100d3940
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2cc]
call fcn.100d3970
movzx eax, al
test eax, eax
je 0x100e1519
jmp 0x100e1694
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x2cc]
call fcn.100d3990
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x2b0]
cmp eax, 0x3e8
jbe 0x100e1694
mov dword [ebp - 0x10], 0
jmp 0x100e1553
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x100e1685
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0xc
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x1e8]
call fcn.10001110
jmp 0x100e1586
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.10049350
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
imul eax, eax, 0xc
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 0x1e8]
call fcn.10001140
push eax
lea ecx, [ebp - 4]
call fcn.10001350
movzx edx, al
test edx, edx
je 0x100e1680
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax + 4], 0
jne 0x100e1652
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 6
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 8
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 9
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 0xa
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 0xb
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 0x12
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 0x13
je 0x100e162d
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 0x14
jne 0x100e1632
jmp 0x100e1578
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax], 5
jne 0x100e1652
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax + 8], 0
jge 0x100e1652
jmp 0x100e1578
lea ecx, [ebp - 4]
call fcn.100012e0
cmp dword [eax + 8], 0
jle 0x100e167b
lea ecx, [ebp - 4]
call fcn.100012e0
add eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
sub ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
jmp 0x100e1578
jmp 0x100e154a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2b0], eax
mov esp, ebp
pop ebp
ret