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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x10298128]
cmp byte [0x10297f4d], 0
mov edi, dword [ebp + 8]
je 0x1002157b
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298118]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002157b
comiss xmm1, dword [0x10298120]
ja 0x1002157b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029811c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002157b
comiss xmm1, dword [0x10298124]
ja 0x1002157b
cmp edi, 0x201
jne 0x10021555
mov byte [0x1029812c], 1
jmp 0x1002157b
mov byte [0x1029812c], 0
cmp eax, 0x1f4
jb 0x1002157b
call esi
mov dword [0x10298128], eax
mov byte [0x10297f4d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x10298188]
cmp byte [0x10297f4d], 0
je 0x10021627
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298178]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10021627
comiss xmm1, dword [0x10298180]
ja 0x10021627
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029817c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10021627
comiss xmm1, dword [0x10298184]
ja 0x10021627
cmp edi, 0x201
jne 0x100215e3
mov byte [0x1029818c], 1
jmp 0x10021627
mov byte [0x1029818c], 0
cmp eax, 0x1f4
jb 0x10021627
call esi
mov dword [0x10298188], eax
lea ecx, [ebp - 8]
xor eax, eax
mov dword [ebp - 7], eax
mov dword [ebp - 8], 0xf0f308c1
mov dword [ebp - 4], 1
lea edx, [eax + 8]
call fcn.100aba10
mov byte [0x10297f4d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102981e8]
cmp byte [0x10297f4d], 0
je 0x100216e0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102981d8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100216e0
comiss xmm1, dword [0x102981e0]
ja 0x100216e0
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102981dc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100216e0
comiss xmm1, dword [0x102981e4]
ja 0x100216e0
cmp dword [0x102bc124], 2
jb 0x100216e0
cmp edi, 0x201
jne 0x1002169c
mov byte [0x102981ec], 1
jmp 0x100216e0
mov byte [0x102981ec], 0
cmp eax, 0x1f4
jb 0x100216e0
call esi
mov dword [0x102981e8], eax
lea ecx, [ebp - 8]
xor eax, eax
mov dword [ebp - 7], eax
mov dword [ebp - 8], 0xf0f308c1
mov dword [ebp - 4], 2
lea edx, [eax + 8]
call fcn.100aba10
mov byte [0x10297f4d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x10298248]
cmp byte [0x10297f4d], 0
je 0x100217a5
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298238]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100217a5
comiss xmm1, dword [0x10298240]
ja 0x100217a5
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029823c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100217a5
comiss xmm1, dword [0x10298244]
ja 0x100217a5
cmp dword [0x102bc124], 3
jb 0x100217a5
cmp edi, 0x201
jne 0x10021761
pop edi
mov byte [0x1029824c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x1029824c], 0
cmp eax, 0x1f4
jb 0x100217a5
call esi
mov dword [0x10298248], eax
lea ecx, [ebp - 8]
xor eax, eax
mov dword [ebp - 7], eax
mov dword [ebp - 8], 0xf0f308c1
mov dword [ebp - 4], 3
lea edx, [eax + 8]
call fcn.100aba10
mov byte [0x10297f4d], 0
mov dword [0xe8cb3c], 0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4