Function at 0x10022b00
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 [0x102a3178]
cmp byte [0x102a2f9d], 0
mov edi, dword [ebp + 8]
je 0x10022b9b
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a3168]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022b9b
comiss xmm1, dword [0x102a3170]
ja 0x10022b9b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a316c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022b9b
comiss xmm1, dword [0x102a3174]
ja 0x10022b9b
cmp edi, 0x201
jne 0x10022b75
mov byte [0x102a317c], 1
jmp 0x10022b9b
mov byte [0x102a317c], 0
cmp eax, 0x1f4
jb 0x10022b9b
call esi
mov dword [0x102a3178], eax
mov byte [0x102a2f9d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102a31d8]
cmp byte [0x102a2f9d], 0
je 0x10022c47
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a31c8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022c47
comiss xmm1, dword [0x102a31d0]
ja 0x10022c47
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a31cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022c47
comiss xmm1, dword [0x102a31d4]
ja 0x10022c47
cmp edi, 0x201
jne 0x10022c03
mov byte [0x102a31dc], 1
jmp 0x10022c47
mov byte [0x102a31dc], 0
cmp eax, 0x1f4
jb 0x10022c47
call esi
mov dword [0x102a31d8], 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.100b5120
mov byte [0x102a2f9d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102a3238]
cmp byte [0x102a2f9d], 0
je 0x10022d00
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a3228]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022d00
comiss xmm1, dword [0x102a3230]
ja 0x10022d00
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a322c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022d00
comiss xmm1, dword [0x102a3234]
ja 0x10022d00
cmp dword [0x102c71b4], 2
jb 0x10022d00
cmp edi, 0x201
jne 0x10022cbc
mov byte [0x102a323c], 1
jmp 0x10022d00
mov byte [0x102a323c], 0
cmp eax, 0x1f4
jb 0x10022d00
call esi
mov dword [0x102a3238], 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.100b5120
mov byte [0x102a2f9d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102a3298]
cmp byte [0x102a2f9d], 0
je 0x10022dc5
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a3288]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022dc5
comiss xmm1, dword [0x102a3290]
ja 0x10022dc5
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a328c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022dc5
comiss xmm1, dword [0x102a3294]
ja 0x10022dc5
cmp dword [0x102c71b4], 3
jb 0x10022dc5
cmp edi, 0x201
jne 0x10022d81
pop edi
mov byte [0x102a329c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x102a329c], 0
cmp eax, 0x1f4
jb 0x10022dc5
call esi
mov dword [0x102a3298], 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.100b5120
mov byte [0x102a2f9d], 0
mov dword [0xe8cb3c], 0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4