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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [0x1001fa04], 0
push ebx
push esi
push edi
je 0x10002efa
cmp dword [0x1001f77c], 0
je 0x10002c39
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1001f77c]
cmp eax, 0x1f4
jb 0x10002efa
mov esi, dword [0x1001facc]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x10002c52
mov eax, dword [esi]
jmp 0x10002c54
xor eax, eax
lea esi, [eax + 0x438]
push 4
push esi
call edi
test eax, eax
jne 0x10002c77
mov eax, dword [esi]
cmp eax, 0x12
je 0x10002efa
cmp eax, 6
je 0x10002efa
mov ebx, dword [0x1001facc]
mov eax, dword [0x1001fa9c]
mov ecx, dword [ebx]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x1001fa98]
movss dword [esp + 0x10], xmm0
movd xmm0, dword [0x1001f784]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [ecx + eax]
subss xmm0, xmm1
movss dword [esp + 0x18], xmm1
movsd xmm1, qword [0x10018b40]
cvtps2pd xmm0, xmm0
call fcn.10011150
mov esi, dword [0x1001f788]
movsd qword [esp + 0x20], xmm0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm1, dword [esp + 0x10]
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10018b40]
call fcn.10011150
addsd xmm0, qword [esp + 0x20]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10002cfc
sqrtsd xmm0, xmm0
jmp 0x10002d01
call fcn.10011ca0
cvttsd2si eax, xmm0
test esi, esi
je 0x10002da3
cmp eax, 0x23
jg 0x10002d1f
cmp byte [0x1001f780], 0
je 0x10002da3
cmp eax, 5
push 4
push ebx
setge byte [0x1001f780]
call edi
test eax, eax
jne 0x10002d3d
mov eax, dword [ebx]
add eax, 0x10c0
je 0x10002d48
jmp 0x10002d42
mov eax, 0x10c0
mov dword [eax], 1
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002d5b
mov eax, dword [esi]
jmp 0x10002d5d
xor eax, eax
movd xmm0, dword [0x1001f788]
cvtdq2ps xmm0, xmm0
push 4
movss dword [eax + 0x10cc], xmm0
mov esi, dword [0x1001facc]
push esi
call edi
test eax, eax
jne 0x10002d91
movd xmm0, dword [0x1001f784]
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
jmp 0x10002ec1
movd xmm0, dword [0x1001f784]
xor eax, eax
cvtdq2ps xmm0, xmm0
jmp 0x10002ec1
push 4
push ebx
mov byte [0x1001f780], 0
call edi
test eax, eax
jne 0x10002db7
mov ecx, dword [ebx]
jmp 0x10002db9
xor ecx, ecx
mov esi, dword [0x1001fac4]
add esi, ecx
push 4
push esi
call edi
test eax, eax
jne 0x10002dce
mov ecx, dword [esi]
jmp 0x10002dd0
xor ecx, ecx
call fcn.10001590
test eax, eax
je 0x10002efa
mov ecx, dword [0x1001fa9c]
movsd xmm1, qword [0x10018b40]
movss xmm0, dword [ecx + eax]
mov ecx, dword [0x1001fa98]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + eax]
movss dword [esp + 0x20], xmm0
subss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
call fcn.10011150
movss xmm2, dword [esp + 0x14]
subss xmm2, dword [esp + 0x10]
movsd xmm1, qword [0x10018b40]
movsd qword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm2
call fcn.10011150
addsd xmm0, qword [esp + 0x18]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10002e4c
sqrtsd xmm0, xmm0
jmp 0x10002e51
call fcn.10011ca0
cvttsd2si eax, xmm0
cmp eax, 2
jle 0x10002efa
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002e78
mov eax, dword [esi]
add eax, 0x10c0
je 0x10002e83
jmp 0x10002e7d
mov eax, 0x10c0
mov dword [eax], 1
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002e96
mov eax, dword [esi]
jmp 0x10002e98
xor eax, eax
movss xmm0, dword [esp + 0x14]
movss dword [eax + 0x10cc], xmm0
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002eb9
mov eax, dword [esi]
jmp 0x10002ebb
xor eax, eax
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x10d4], xmm0
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002ee3
mov eax, dword [esi]
add eax, 0x444
je 0x10002eee
jmp 0x10002ee8
mov eax, 0x444
mov dword [eax], 2
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov dword [0x1001f77c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret