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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp byte [0x101e79d5], 0
je 0x10067b92
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x10317828]
mov esi, eax
movss xmm0, dword [0x101e7b00]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006792c
comiss xmm1, dword [0x101e7b08]
ja 0x1006792c
movd xmm1, dword [0x10317830]
movss xmm0, dword [0x101e7b04]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006792c
comiss xmm1, dword [0x101e7b0c]
ja 0x1006792c
cmp ebx, 0x201
jne 0x10067902
pop edi
pop esi
mov byte [0x101e7b14], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
sub eax, dword [0x101e7b10]
mov byte [0x101e7b14], 0
cmp eax, 0x1f4
jb 0x10067b8f
call edi
mov dword [0x101e7b10], eax
call fcn.10067850
mov ecx, dword [0x10317828]
movss xmm0, dword [0x101e78c0]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100679b8
comiss xmm1, dword [0x101e78c8]
ja 0x100679b8
movd xmm1, dword [0x10317830]
movss xmm0, dword [0x101e78c4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100679b8
comiss xmm1, dword [0x101e78cc]
ja 0x100679b8
mov eax, dword [0x105981fc]
inc eax
cmp eax, 1
jle 0x100679b8
cmp ebx, 0x201
jne 0x1006798d
pop edi
pop esi
mov byte [0x101e78d4], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
mov byte [0x101e78d4], 0
sub eax, dword [0x101e78d0]
cmp eax, 0x64
jb 0x10067b8f
call edi
dec dword [0x105981fc]
mov ecx, dword [0x10317828]
mov dword [0x101e78d0], eax
movss xmm0, dword [0x101e7900]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10067a35
comiss xmm1, dword [0x101e7908]
ja 0x10067a35
movd xmm1, dword [0x10317830]
movss xmm0, dword [0x101e7904]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10067a35
comiss xmm1, dword [0x101e790c]
ja 0x10067a35
mov eax, dword [0x105981fc]
inc eax
cmp eax, dword [0x10598200]
jge 0x10067a35
cmp ebx, 0x201
je 0x10067b88
mov eax, esi
mov byte [0x101e7914], 0
sub eax, dword [0x101e7910]
cmp eax, 0x64
jb 0x10067b8f
call edi
inc dword [0x105981fc]
mov dword [0x101e7910], eax
xor esi, esi
cmp dword [0x105981f8], esi
jle 0x10067b8f
mov eax, 0x879340c
mov eax, dword [eax]
sub eax, 0x198
cmp eax, 0x10
ja 0x10067b7a
movss xmm0, dword [0x101e79c4]
lea eax, [esi + esi*4]
addss xmm0, dword [0x1018d2ac]
shl eax, 2
mov ecx, dword [0x8793410]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jl 0x10067b7a
addss xmm1, dword [0x1018d168]
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jg 0x10067b7a
cmp ebx, 0x201
je 0x10067b88
mov eax, dword [ebp - 4]
sub eax, dword [0x101e7910]
mov byte [0x101e7914], 0
cmp eax, 0x64
jb 0x10067b8f
mov eax, dword [0x105981fc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x10596dd8], 0
je 0x10067b8f
call edi
mov dword [0x101e7910], eax
mov eax, dword [0x105981fc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x10596dd3], 0
je 0x10067b1f
call fcn.10067850
mov eax, dword [0x105981fc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x10598204], eax
call fcn.10068000
jmp 0x10067b74
push edi
mov ecx, 0x10596da8
call fcn.100680b0
mov ecx, eax
test ecx, ecx
je 0x10067b74
mov dword [0x10598204], edi
mov dl, 0x24
movq xmm0, qword [ecx + 4]
mov ax, word [ecx + 0xc]
movq qword [ebp - 0x24], xmm0
xorps xmm0, xmm0
mov word [ebp - 0x1c], ax
mov al, byte [ecx + 0xe]
lea ecx, [ebp - 0x28]
movzx edx, dl
mov dword [ebp - 0x28], 0x5ff24c1
mov byte [ebp - 0x1a], al
movups xmmword [ebp - 0x19], xmm0
mov dword [ebp - 9], 0
mov byte [ebp - 5], 0
call fcn.100bae10
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc esi
cmp esi, dword [0x105981f8]
jge 0x10067b8f
jmp 0x10067a43
mov byte [0x101e7914], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4