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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x102bd3fd], 0
jne 0x10022cf7
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 [0x102bd5d8]
cmp byte [0x102bd3fd], 0
mov edi, dword [ebp + 8]
je 0x10022d8c
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bd5c8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022d8c
comiss xmm1, dword [0x102bd5d0]
ja 0x10022d8c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bd5cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022d8c
comiss xmm1, dword [0x102bd5d4]
ja 0x10022d8c
cmp edi, 0x201
jne 0x10022d66
mov byte [0x102bd5dc], 1
jmp 0x10022d8c
mov byte [0x102bd5dc], 0
cmp eax, 0x1f4
jb 0x10022d8c
call esi
mov dword [0x102bd5d8], eax
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bd638]
cmp byte [0x102bd3fd], 0
je 0x10022e38
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bd628]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022e38
comiss xmm1, dword [0x102bd630]
ja 0x10022e38
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bd62c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022e38
comiss xmm1, dword [0x102bd634]
ja 0x10022e38
cmp edi, 0x201
jne 0x10022df4
mov byte [0x102bd63c], 1
jmp 0x10022e38
mov byte [0x102bd63c], 0
cmp eax, 0x1f4
jb 0x10022e38
call esi
mov dword [0x102bd638], 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.100c6fd0
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bd698]
cmp byte [0x102bd3fd], 0
je 0x10022ef1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bd688]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022ef1
comiss xmm1, dword [0x102bd690]
ja 0x10022ef1
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bd68c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022ef1
comiss xmm1, dword [0x102bd694]
ja 0x10022ef1
cmp dword [0x102e16c4], 2
jb 0x10022ef1
cmp edi, 0x201
jne 0x10022ead
mov byte [0x102bd69c], 1
jmp 0x10022ef1
mov byte [0x102bd69c], 0
cmp eax, 0x1f4
jb 0x10022ef1
call esi
mov dword [0x102bd698], 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.100c6fd0
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bd6f8]
cmp byte [0x102bd3fd], 0
je 0x10022fb6
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bd6e8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022fb6
comiss xmm1, dword [0x102bd6f0]
ja 0x10022fb6
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bd6ec]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10022fb6
comiss xmm1, dword [0x102bd6f4]
ja 0x10022fb6
cmp dword [0x102e16c4], 3
jb 0x10022fb6
cmp edi, 0x201
jne 0x10022f72
pop edi
mov byte [0x102bd6fc], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x102bd6fc], 0
cmp eax, 0x1f4
jb 0x10022fb6
call esi
mov dword [0x102bd6f8], 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.100c6fd0
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4