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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x102bb45d], 0
jne 0x10022617
xor al, al
mov esp, ebp
pop ebp
ret 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x102bb638]
cmp byte [0x102bb45d], 0
mov edi, dword [ebp + 8]
je 0x100226ac
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bb628]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100226ac
comiss xmm1, dword [0x102bb630]
ja 0x100226ac
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bb62c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100226ac
comiss xmm1, dword [0x102bb634]
ja 0x100226ac
cmp edi, 0x201
jne 0x10022686
mov byte [0x102bb63c], 1
jmp 0x100226ac
mov byte [0x102bb63c], 0
cmp eax, 0x1f4
jb 0x100226ac
call esi
mov dword [0x102bb638], eax
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bb698]
cmp byte [0x102bb45d], 0
je 0x10022758
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bb688]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022758
comiss xmm1, dword [0x102bb690]
ja 0x10022758
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bb68c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022758
comiss xmm1, dword [0x102bb694]
ja 0x10022758
cmp edi, 0x201
jne 0x10022714
mov byte [0x102bb69c], 1
jmp 0x10022758
mov byte [0x102bb69c], 0
cmp eax, 0x1f4
jb 0x10022758
call esi
mov dword [0x102bb698], 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.100c4ca0
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bb6f8]
cmp byte [0x102bb45d], 0
je 0x10022811
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bb6e8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022811
comiss xmm1, dword [0x102bb6f0]
ja 0x10022811
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bb6ec]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022811
comiss xmm1, dword [0x102bb6f4]
ja 0x10022811
cmp dword [0x102df724], 2
jb 0x10022811
cmp edi, 0x201
jne 0x100227cd
mov byte [0x102bb6fc], 1
jmp 0x10022811
mov byte [0x102bb6fc], 0
cmp eax, 0x1f4
jb 0x10022811
call esi
mov dword [0x102bb6f8], 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.100c4ca0
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bb758]
cmp byte [0x102bb45d], 0
je 0x100228d6
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bb748]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100228d6
comiss xmm1, dword [0x102bb750]
ja 0x100228d6
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bb74c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100228d6
comiss xmm1, dword [0x102bb754]
ja 0x100228d6
cmp dword [0x102df724], 3
jb 0x100228d6
cmp edi, 0x201
jne 0x10022892
pop edi
mov byte [0x102bb75c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x102bb75c], 0
cmp eax, 0x1f4
jb 0x100228d6
call esi
mov dword [0x102bb758], 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.100c4ca0
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4