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

Disassembly:
mov ecx, dword [0x10070afc]
mov eax, dword [0x10073044]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10021071
cmp dword [0x10070f44], 0
je 0x10021071
mov eax, dword [0x10073044]
push esi
mov ecx, dword [eax + 0x298]
mov eax, dword [0x100719b0]
mov ecx, dword [eax + ecx]
call fcn.10014a20
mov esi, eax
test esi, esi
je 0x10021065
mov ecx, dword [0x10070afc]
push 0x10071db4
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10021065
mov edx, dword [0x100710b8]
add edx, eax
cmp edx, eax
jbe 0x10021065
mov ecx, esi
call edx
test eax, eax
jle 0x10021065
mov eax, dword [0x10073044]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x100719b0]
mov ecx, dword [eax + ecx]
call fcn.10014a20
test eax, eax
je 0x10020e07
mov edx, dword [0x10073044]
movss xmm0, dword [0x10060e24]
mov ecx, dword [edx + 0x258]
comiss xmm0, dword [eax + ecx]
ja 0x10020e30
push 0
push 0
push 0
push 0
push 4
mov dword [0x10072810], 0x10011c80
call fcn.10011c80
mov edx, dword [0x10073044]
mov dword [0x10070278], 0
mov ecx, dword [edx + 0x298]
mov eax, dword [0x100719b0]
mov esi, dword [eax + ecx]
call fcn.10014080
mov edx, dword [0x10073044]
mov ecx, dword [edx + 0x290]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x294]
xor edx, edx
mov eax, dword [eax + ecx + 0x9c]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x10020ff7
mov ecx, dword [0x10070f44]
cmp ecx, 1
jne 0x10020e93
mov dword [0x100747d8], 0x1f4
jmp 0x10020eec
cmp ecx, 2
jne 0x10020ea4
mov dword [0x100747d8], 0xc8
jmp 0x10020eec
cmp ecx, 3
jne 0x10020eb5
mov dword [0x100747d8], 0x96
jmp 0x10020eec
cmp ecx, 4
jne 0x10020ec6
mov dword [0x100747d8], 0x64
jmp 0x10020eec
cmp ecx, 5
jne 0x10020ed7
mov dword [0x100747d8], 0x32
jmp 0x10020eec
mov eax, dword [0x100747d8]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100747d8], eax
push 2
mov dword [0x100711d4], 0x10011ce0
call fcn.10011ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10020f47
cmp byte [0x100731b8], 0
je 0x10020f27
cmp dword [0x100731bc], 0
je 0x10020f4e
call esi
cmp dword [0x100731bc], eax
ja 0x10020f4e
mov byte [0x100731b8], 1
call esi
add eax, dword [0x100747d8]
mov dword [0x10071110], eax
mov dword [0x10070278], 1
jmp 0x10020f4e
mov byte [0x100731b8], 0
call esi
cmp dword [0x10071110], eax
ja 0x10020f8e
cmp dword [0x10070278], 1
jne 0x10020f8e
push 0
push 0
push 0
push 0
push 2
mov dword [0x10072810], 0x10011c80
call fcn.10011c80
call esi
add eax, 0x32
mov dword [0x10070278], 2
mov dword [0x10071110], eax
call esi
cmp dword [0x10071110], eax
mov eax, dword [0x10070278]
ja 0x10020fd1
cmp eax, 2
jne 0x10020fd1
push 0
push 0
push 0
push 0
push 4
mov dword [0x10072810], 0x10011c80
call fcn.10011c80
call esi
add eax, 0x64
mov dword [0x10070278], 3
mov dword [0x10071110], eax
jmp 0x10020fd6
cmp eax, 3
jne 0x10020ff9
push 0
push 1
push 0x45
push 0x33
mov dword [0x10072fdc], 0x10011cb0
call fcn.10011cb0
mov dword [0x10070278], 4
pop esi
ret
cmp eax, 4
jne 0x10021021
push 0
push 3
push 0x45
push 0x33
mov dword [0x10072fdc], 0x10011cb0
call fcn.10011cb0
mov dword [0x10070278], 5
jmp 0x10021026
cmp eax, 5
jne 0x10021049
push 0
push 1
push 0x45
push 0x31
mov dword [0x10072fdc], 0x10011cb0
call fcn.10011cb0
mov dword [0x10070278], 6
pop esi
ret
cmp eax, 6
jne 0x10020ff7
push 0
push 3
push 0x45
push 0x31
mov dword [0x10072fdc], 0x10011cb0
call fcn.10011cb0
mov dword [0x10070278], 0
pop esi
ret
mov dword [0x10070278], 0
ret