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

Disassembly:
mov ecx, dword [0x100bef94]
mov eax, dword [0x100bab18]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100278a3
cmp dword [0x100bf3e4], 0
je 0x100278a3
mov eax, dword [0x100bab18]
push esi
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c03dc]
mov ecx, dword [eax + ecx]
call fcn.1001c410
mov esi, eax
test esi, esi
je 0x10027897
mov ecx, dword [0x100bef94]
push 0x100c07e0
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10027897
mov edx, dword [0x100bf57c]
add edx, eax
cmp edx, eax
jbe 0x10027897
mov ecx, esi
call edx
test eax, eax
jle 0x10027897
mov eax, dword [0x100bab18]
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c03dc]
mov ecx, dword [eax + ecx]
call fcn.1001c410
test eax, eax
je 0x10027637
mov edx, dword [0x100bab18]
movss xmm0, dword [0x100a64cc]
mov ecx, dword [edx + 0x2b4]
comiss xmm0, dword [eax + ecx]
ja 0x10027660
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c2ab4], 0x10017d00
call fcn.10017d00
mov edx, dword [0x100bab18]
mov dword [0x100be2fc], 0
mov ecx, dword [edx + 0x2fc]
mov eax, dword [0x100c03dc]
mov esi, dword [eax + ecx]
call fcn.1001b7f0
mov edx, dword [0x100bab18]
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 0x10027829
mov ecx, dword [0x100bf3e4]
cmp ecx, 1
jne 0x100276c5
mov dword [0x100c4624], 0x1f4
jmp 0x1002771e
cmp ecx, 2
jne 0x100276d6
mov dword [0x100c4624], 0xc8
jmp 0x1002771e
cmp ecx, 3
jne 0x100276e7
mov dword [0x100c4624], 0x96
jmp 0x1002771e
cmp ecx, 4
jne 0x100276f8
mov dword [0x100c4624], 0x64
jmp 0x1002771e
cmp ecx, 5
jne 0x10027709
mov dword [0x100c4624], 0x32
jmp 0x1002771e
mov eax, dword [0x100c4624]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100c4624], eax
push 2
mov dword [0x100bf69c], 0x10017d60
call fcn.10017d60
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10027779
cmp byte [0x100c2c00], 0
je 0x10027759
cmp dword [0x100c2c04], 0
je 0x10027780
call esi
cmp dword [0x100c2c04], eax
ja 0x10027780
mov byte [0x100c2c00], 1
call esi
add eax, dword [0x100c4624]
mov dword [0x100bf5d4], eax
mov dword [0x100be2fc], 1
jmp 0x10027780
mov byte [0x100c2c00], 0
call esi
cmp dword [0x100bf5d4], eax
ja 0x100277c0
cmp dword [0x100be2fc], 1
jne 0x100277c0
push 0
push 0
push 0
push 0
push 2
mov dword [0x100c2ab4], 0x10017d00
call fcn.10017d00
call esi
add eax, 0x32
mov dword [0x100be2fc], 2
mov dword [0x100bf5d4], eax
call esi
cmp dword [0x100bf5d4], eax
mov eax, dword [0x100be2fc]
ja 0x10027803
cmp eax, 2
jne 0x10027803
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c2ab4], 0x10017d00
call fcn.10017d00
call esi
add eax, 0x64
mov dword [0x100be2fc], 3
mov dword [0x100bf5d4], eax
jmp 0x10027808
cmp eax, 3
jne 0x1002782b
push 0
push 1
push 0x45
push 0x33
mov dword [0x100baab0], 0x10017d30
call fcn.10017d30
mov dword [0x100be2fc], 4
pop esi
ret
cmp eax, 4
jne 0x10027853
push 0
push 3
push 0x45
push 0x33
mov dword [0x100baab0], 0x10017d30
call fcn.10017d30
mov dword [0x100be2fc], 5
jmp 0x10027858
cmp eax, 5
jne 0x1002787b
push 0
push 1
push 0x45
push 0x31
mov dword [0x100baab0], 0x10017d30
call fcn.10017d30
mov dword [0x100be2fc], 6
pop esi
ret
cmp eax, 6
jne 0x10027829
push 0
push 3
push 0x45
push 0x31
mov dword [0x100baab0], 0x10017d30
call fcn.10017d30
mov dword [0x100be2fc], 0
pop esi
ret
mov dword [0x100be2fc], 0
ret