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

Disassembly:
mov ecx, dword [0x100befa4]
mov eax, dword [0x100bab2c]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10028143
cmp dword [0x100bf3f4], 0
je 0x10028143
mov eax, dword [0x100bab2c]
push esi
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c03f8]
mov ecx, dword [eax + ecx]
call fcn.1001ca60
mov esi, eax
test esi, esi
je 0x10028137
mov ecx, dword [0x100befa4]
push 0x100c0800
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10028137
mov edx, dword [0x100bf58c]
add edx, eax
cmp edx, eax
jbe 0x10028137
mov ecx, esi
call edx
test eax, eax
jle 0x10028137
mov eax, dword [0x100bab2c]
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c03f8]
mov ecx, dword [eax + ecx]
call fcn.1001ca60
test eax, eax
je 0x10027ed7
mov edx, dword [0x100bab2c]
movss xmm0, dword [0x100a64f0]
mov ecx, dword [edx + 0x2b4]
comiss xmm0, dword [eax + ecx]
ja 0x10027f00
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c43e0], 0x10017fc0
call fcn.10017fc0
mov edx, dword [0x100bab2c]
mov dword [0x100be30c], 0
mov ecx, dword [edx + 0x2fc]
mov eax, dword [0x100c03f8]
mov esi, dword [eax + ecx]
call fcn.1001be40
mov edx, dword [0x100bab2c]
mov ecx, dword [edx + 0x2ec]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x310]
add eax, dword [edx + 0x2f0]
xor edx, edx
mov eax, dword [eax + ecx]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x100280c9
mov ecx, dword [0x100bf3f4]
cmp ecx, 1
jne 0x10027f65
mov dword [0x100c5f4c], 0x1f4
jmp 0x10027fbe
cmp ecx, 2
jne 0x10027f76
mov dword [0x100c5f4c], 0xc8
jmp 0x10027fbe
cmp ecx, 3
jne 0x10027f87
mov dword [0x100c5f4c], 0x96
jmp 0x10027fbe
cmp ecx, 4
jne 0x10027f98
mov dword [0x100c5f4c], 0x64
jmp 0x10027fbe
cmp ecx, 5
jne 0x10027fa9
mov dword [0x100c5f4c], 0x32
jmp 0x10027fbe
mov eax, dword [0x100c5f4c]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100c5f4c], eax
push 2
mov dword [0x100bf6ac], 0x10018020
call fcn.10018020
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10028019
cmp byte [0x100c4558], 0
je 0x10027ff9
cmp dword [0x100c455c], 0
je 0x10028020
call esi
cmp dword [0x100c455c], eax
ja 0x10028020
mov byte [0x100c4558], 1
call esi
add eax, dword [0x100c5f4c]
mov dword [0x100bf5e4], eax
mov dword [0x100be30c], 1
jmp 0x10028020
mov byte [0x100c4558], 0
call esi
cmp dword [0x100bf5e4], eax
ja 0x10028060
cmp dword [0x100be30c], 1
jne 0x10028060
push 0
push 0
push 0
push 0
push 2
mov dword [0x100c43e0], 0x10017fc0
call fcn.10017fc0
call esi
add eax, 0x32
mov dword [0x100be30c], 2
mov dword [0x100bf5e4], eax
call esi
cmp dword [0x100bf5e4], eax
mov eax, dword [0x100be30c]
ja 0x100280a3
cmp eax, 2
jne 0x100280a3
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c43e0], 0x10017fc0
call fcn.10017fc0
call esi
add eax, 0x64
mov dword [0x100be30c], 3
mov dword [0x100bf5e4], eax
jmp 0x100280a8
cmp eax, 3
jne 0x100280cb
push 0
push 1
push 0x45
push 0x33
mov dword [0x100baac4], 0x10017ff0
call fcn.10017ff0
mov dword [0x100be30c], 4
pop esi
ret
cmp eax, 4
jne 0x100280f3
push 0
push 3
push 0x45
push 0x33
mov dword [0x100baac4], 0x10017ff0
call fcn.10017ff0
mov dword [0x100be30c], 5
jmp 0x100280f8
cmp eax, 5
jne 0x1002811b
push 0
push 1
push 0x45
push 0x31
mov dword [0x100baac4], 0x10017ff0
call fcn.10017ff0
mov dword [0x100be30c], 6
pop esi
ret
cmp eax, 6
jne 0x100280c9
push 0
push 3
push 0x45
push 0x31
mov dword [0x100baac4], 0x10017ff0
call fcn.10017ff0
mov dword [0x100be30c], 0
pop esi
ret
mov dword [0x100be30c], 0
ret