Function at 0x10002c30
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 0x10002f2a
cmp dword [0x1001f77c], 0
je 0x10002c69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1001f77c]
cmp eax, 0x1f4
jb 0x10002f2a
mov esi, dword [0x1001facc]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x10002c82
mov eax, dword [esi]
jmp 0x10002c84
xor eax, eax
lea esi, [eax + 0x438]
push 4
push esi
call edi
test eax, eax
jne 0x10002ca7
mov eax, dword [esi]
cmp eax, 0x12
je 0x10002f2a
cmp eax, 6
je 0x10002f2a
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.10011180
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.10011180
addsd xmm0, qword [esp + 0x20]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10002d2c
sqrtsd xmm0, xmm0
jmp 0x10002d31
call fcn.10011cd0
cvttsd2si eax, xmm0
test esi, esi
je 0x10002dd3
cmp eax, 0x23
jg 0x10002d4f
cmp byte [0x1001f780], 0
je 0x10002dd3
cmp eax, 5
push 4
push ebx
setge byte [0x1001f780]
call edi
test eax, eax
jne 0x10002d6d
mov eax, dword [ebx]
add eax, 0x10c0
je 0x10002d78
jmp 0x10002d72
mov eax, 0x10c0
mov dword [eax], 1
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002d8b
mov eax, dword [esi]
jmp 0x10002d8d
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 0x10002dc1
movd xmm0, dword [0x1001f784]
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
jmp 0x10002ef1
movd xmm0, dword [0x1001f784]
xor eax, eax
cvtdq2ps xmm0, xmm0
jmp 0x10002ef1
push 4
push ebx
mov byte [0x1001f780], 0
call edi
test eax, eax
jne 0x10002de7
mov ecx, dword [ebx]
jmp 0x10002de9
xor ecx, ecx
mov esi, dword [0x1001fac4]
add esi, ecx
push 4
push esi
call edi
test eax, eax
jne 0x10002dfe
mov ecx, dword [esi]
jmp 0x10002e00
xor ecx, ecx
call fcn.100015c0
test eax, eax
je 0x10002f2a
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.10011180
movss xmm2, dword [esp + 0x14]
subss xmm2, dword [esp + 0x10]
movsd xmm1, qword [0x10018b40]
movsd qword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm2
call fcn.10011180
addsd xmm0, qword [esp + 0x18]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10002e7c
sqrtsd xmm0, xmm0
jmp 0x10002e81
call fcn.10011cd0
cvttsd2si eax, xmm0
cmp eax, 2
jle 0x10002f2a
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002ea8
mov eax, dword [esi]
add eax, 0x10c0
je 0x10002eb3
jmp 0x10002ead
mov eax, 0x10c0
mov dword [eax], 1
mov esi, dword [0x1001facc]
push 4
push esi
call edi
test eax, eax
jne 0x10002ec6
mov eax, dword [esi]
jmp 0x10002ec8
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 0x10002ee9
mov eax, dword [esi]
jmp 0x10002eeb
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 0x10002f13
mov eax, dword [esi]
add eax, 0x444
je 0x10002f1e
jmp 0x10002f18
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