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

Disassembly:
mov ecx, dword [0x100ba5e8]
mov eax, dword [0x100bed18]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100252a3
cmp dword [0x100baa44], 0
je 0x100252a3
mov eax, dword [0x100bed18]
push esi
mov ecx, dword [eax + 0x2d4]
mov eax, dword [0x100bb918]
mov ecx, dword [eax + ecx]
call fcn.1001a6d0
mov esi, eax
test esi, esi
je 0x10025297
mov ecx, dword [0x100ba5e8]
push 0x100bbd1c
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10025297
mov edx, dword [0x100babd4]
add edx, eax
cmp edx, eax
jbe 0x10025297
mov ecx, esi
call edx
test eax, eax
jle 0x10025297
mov eax, dword [0x100bed18]
mov ecx, dword [eax + 0x2d4]
mov eax, dword [0x100bb918]
mov ecx, dword [eax + ecx]
call fcn.1001a6d0
test eax, eax
je 0x10025037
mov edx, dword [0x100bed18]
movss xmm0, dword [0x100a3424]
mov ecx, dword [edx + 0x28c]
comiss xmm0, dword [eax + ecx]
ja 0x10025060
push 0
push 0
push 0
push 0
push 4
mov dword [0x100be480], 0x100171a0
call fcn.100171a0
mov edx, dword [0x100bed18]
mov dword [0x100b9938], 0
mov ecx, dword [edx + 0x2d4]
mov eax, dword [0x100bb918]
mov esi, dword [eax + ecx]
call fcn.10019bf0
mov edx, dword [0x100bed18]
mov ecx, dword [edx + 0x2c4]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x2e8]
add eax, dword [edx + 0x2c8]
xor edx, edx
mov eax, dword [eax + ecx]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x10025229
mov ecx, dword [0x100baa44]
cmp ecx, 1
jne 0x100250c5
mov dword [0x100c0a28], 0x1f4
jmp 0x1002511e
cmp ecx, 2
jne 0x100250d6
mov dword [0x100c0a28], 0xc8
jmp 0x1002511e
cmp ecx, 3
jne 0x100250e7
mov dword [0x100c0a28], 0x96
jmp 0x1002511e
cmp ecx, 4
jne 0x100250f8
mov dword [0x100c0a28], 0x64
jmp 0x1002511e
cmp ecx, 5
jne 0x10025109
mov dword [0x100c0a28], 0x32
jmp 0x1002511e
mov eax, dword [0x100c0a28]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100c0a28], eax
push 2
mov dword [0x100bacf0], 0x10017200
call fcn.10017200
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10025179
cmp byte [0x100befa0], 0
je 0x10025159
cmp dword [0x100befa4], 0
je 0x10025180
call esi
cmp dword [0x100befa4], eax
ja 0x10025180
mov byte [0x100befa0], 1
call esi
add eax, dword [0x100c0a28]
mov dword [0x100bac2c], eax
mov dword [0x100b9938], 1
jmp 0x10025180
mov byte [0x100befa0], 0
call esi
cmp dword [0x100bac2c], eax
ja 0x100251c0
cmp dword [0x100b9938], 1
jne 0x100251c0
push 0
push 0
push 0
push 0
push 2
mov dword [0x100be480], 0x100171a0
call fcn.100171a0
call esi
add eax, 0x32
mov dword [0x100b9938], 2
mov dword [0x100bac2c], eax
call esi
cmp dword [0x100bac2c], eax
mov eax, dword [0x100b9938]
ja 0x10025203
cmp eax, 2
jne 0x10025203
push 0
push 0
push 0
push 0
push 4
mov dword [0x100be480], 0x100171a0
call fcn.100171a0
call esi
add eax, 0x64
mov dword [0x100b9938], 3
mov dword [0x100bac2c], eax
jmp 0x10025208
cmp eax, 3
jne 0x1002522b
push 0
push 1
push 0x45
push 0x33
mov dword [0x100beca4], 0x100171d0
call fcn.100171d0
mov dword [0x100b9938], 4
pop esi
ret
cmp eax, 4
jne 0x10025253
push 0
push 3
push 0x45
push 0x33
mov dword [0x100beca4], 0x100171d0
call fcn.100171d0
mov dword [0x100b9938], 5
jmp 0x10025258
cmp eax, 5
jne 0x1002527b
push 0
push 1
push 0x45
push 0x31
mov dword [0x100beca4], 0x100171d0
call fcn.100171d0
mov dword [0x100b9938], 6
pop esi
ret
cmp eax, 6
jne 0x10025229
push 0
push 3
push 0x45
push 0x31
mov dword [0x100beca4], 0x100171d0
call fcn.100171d0
mov dword [0x100b9938], 0
pop esi
ret
mov dword [0x100b9938], 0
ret