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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, 6
cmp dword [eax + 0x597dc], ecx
push edi
je 0x1002f2fd
fldz
xor edi, edi
fst dword [esi + 0x48]
mov dword [esi + 0x38], edi
fst dword [esi + 0x44]
fstp dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 0x597e0], ecx
mov ebp, dword [eax + 0x59774]
mov dword [esp + 0x14], ebp
je 0x1002f33e
mov edi, dword [esi + 0x30]
cmp dword [esi + 0x2c], edi
lea ebx, [esi + 0x28]
jbe 0x1002f31f
call fcn.10067664
mov ebp, dword [ebx + 4]
cmp ebp, dword [ebx + 8]
jbe 0x1002f32c
call fcn.10067664
push edi
push ebx
push ebp
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.10015220
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0xa4], edi
jne 0x1002f425
cmp dword [ebp + 0xa8], edi
jne 0x1002f425
mov eax, dword [esi + 0x2c]
cmp eax, edi
lea ebx, [esi + 0x28]
je 0x1002f36c
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 4
jne 0x1002f376
mov ecx, esi
call fcn.1002f520
mov dword [esi + 0x24], edi
mov edx, dword [esi + 0x14]
cmp dword [edx + 0x634], edi
je 0x1002f44c
push 0x3c
call fcn.1004b2a0
test eax, eax
je 0x1002f434
cmp dword [ebp + 0xa4], edi
jne 0x1002f41a
cmp dword [ebp + 0xa8], edi
jne 0x1002f41a
cmp dword [esi + 0x88], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, 1
jne 0x1002f3f1
mov eax, dword [esp + 0x14]
push eax
call fcn.10004080
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1009a210]
mov dword [esi + 0x88], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 0x3b
call eax
call ebx
cmp dword [esi + 0x88], edi
mov dword [esi + 0x84], eax
je 0x1002f40e
call ebx
sub eax, dword [esi + 0x84]
cmp eax, 0x2710
jbe 0x1002f40e
mov dword [esi + 0x88], edi
call ebx
mov dword [esi + 0x84], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x88], edi
je 0x1002f44c
mov edx, esi
mov dword [esi + 0x88], edi
call fcn.1002f750
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
call fcn.1001c380
mov ebp, 1
cmp eax, ebp
jne 0x1002f50e
mov eax, ebx
call fcn.10014ae0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10004080
mov eax, dword [esi + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 6
call fcn.100053d0
mov dword [eax], edi
mov ebx, dword [esi + 0x14]
add ebx, 0x597a8
call fcn.1001f090
mov edx, dword [esi + 0x14]
mov dword [edx + 0x59824], ebp
mov eax, dword [esi + 0x14]
mov dword [eax + 0x59828], edi
mov eax, dword [esi + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 7
call fcn.100053d0
push edi
mov dword [eax], ebp
call fcn.1003a730
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0xb2990], edi
mov edx, dword [esi + 0x14]
mov dword [edx + 0xb2994], edi
mov esi, dword [esi + 0x14]
add esp, 4
cmp dword [esi + 0x34], ebp
mov dword [0x1009a1e4], ebp
je 0x1002f4f9
cmp dword [esi + 0x15c], edi
je 0x1002f50e
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x98]
push str.ResetInstances__
call edx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4