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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015dba3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x101e6b6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102b823d
call fcn.10124b2c
movss xmm0, dword [0x101eb470]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100ce3b1
push 0
lea eax, [ebp - 0xb0]
push 0x101eb480
push eax
call fcn.1011a8c0
mov edi, dword [0x10261dc4]
add esp, 0xc
mov eax, dword [0x10261dc8]
add eax, edi
mov dword [ebp - 0x34], eax
cmp edi, eax
je 0x100ce3b1
nop word [eax + eax]
mov ecx, dword [0x10261dc0]
mov eax, dword [0x10261dbc]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x1016ca38]
divss xmm0, dword [0x101eb474]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x30], esi
movss dword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
movss xmm2, dword [ebp - 0x14]
sub ecx, eax
movss xmm3, dword [ebp - 0x18]
add ecx, 0x4b0
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x9c], xmm3
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101672c0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101eb47c]
mulss xmm0, dword [0x10193ffc]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [0x10192ba4]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x98], xmm0
xorps xmm1, xmm1
mov dword [ebp - 4], 0
movss dword [ebp - 0x10], xmm1
nop dword [eax]
movss xmm2, dword [ebp - 0x1c]
movaps xmm0, xmm1
addss xmm2, xmm1
movaps xmm1, xmm2
call fcn.101256d0
movss xmm3, dword [ebp - 0x24]
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
movaps xmm2, xmm0
mulss xmm1, xmm3
shufps xmm2, xmm0, 0xe
mulss xmm0, xmm3
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x68], xmm1
movss xmm1, dword [ebp - 0x28]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [ebp - 0x18]
addss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x74], xmm0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1011a2d0
add esp, 8
test al, al
je 0x100ce2a6
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.1011a2d0
add esp, 8
test al, al
je 0x100ce2a6
mov ecx, dword [0x101e88b0]
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
movss xmm0, dword [0x101eb478]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0xb0]
mov esi, dword [eax + 0x264]
lea eax, [ebp - 0xc0]
push eax
movups xmmword [ebp - 0xc0], xmm0
call fcn.10011370
movss xmm2, dword [0x10168a88]
mov edx, eax
movss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm2
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm2
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movss dword [ebp - 0x4c], xmm1
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x44]
addss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss dword [ebp - 0x54], xmm1
movd xmm0, eax
lea eax, [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
push edx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10027600
movss xmm1, dword [ebp - 0x10]
movss xmm0, dword [0x1016ca38]
comiss xmm0, xmm1
ja 0x100ce120
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
cmp eax, 0x12c
ja 0x100ce3a0
movss xmm1, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x14]
movaps xmm0, xmm1
addss xmm0, dword [0x10168aec]
movss xmm3, dword [ebp - 0x18]
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x78], xmm0
subss xmm1, dword [0x10168aec]
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm3
movss dword [ebp - 0x84], xmm1
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1011a2d0
add esp, 8
test al, al
je 0x100ce3a0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1011a2d0
add esp, 8
test al, al
je 0x100ce3a0
movss xmm3, dword [ebp - 0x58]
sub esp, 0x10
movss xmm2, dword [ebp - 0x5c]
movaps xmm1, xmm3
subss xmm1, dword [ebp - 0x90]
mov eax, esp
sub esp, 0x10
movaps xmm0, xmm1
mulss xmm0, dword [0x10168a88]
subss xmm2, xmm0
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [eax], xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm3
movss dword [esp], xmm2
call fcn.100d13b0
add esp, 0x20
inc edi
mov dword [ebp - 4], 0xffffffff
cmp edi, dword [ebp - 0x34]
jne 0x100ce050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret