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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x20], 0
push 4
push 0x12bfd78
call fcn.10003990
test eax, eax
jne 0x10024095
mov eax, dword [0x12bfd78]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x100242da
mov dword [ebp - 0x24], 0
push 4
mov edx, dword [ebp - 4]
push edx
call fcn.10003990
test eax, eax
jne 0x100240c3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jbe 0x100242da
mov eax, dword [ebp - 4]
add eax, 0x1cc
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10003a80
test eax, eax
jne 0x1002411d
mov dword [ebp - 0x28], 0
push 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.10003990
test eax, eax
jne 0x1002410b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x10100
je 0x1002411d
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x10100
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, 1
test eax, eax
je 0x1002428f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
cmp eax, 0x14
jbe 0x10024146
jmp 0x1002428f
push 1
push 0x2d5636c
call fcn.10003a80
test eax, eax
jne 0x1002423f
mov dword [ebp - 0x2c], 0
push 1
push 0x2d5636c
call fcn.10003990
test eax, eax
jne 0x100241a2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc], 0
jmp 0x10024189
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jge 0x100241a2
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x2d5636c]
mov byte [eax], dl
jmp 0x10024180
cmp dword [ebp - 0x2c], 1
je 0x1002423f
mov dword [ebp - 8], 0
mov eax, 1
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], al
mov eax, 1
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x14], al
mov edx, 1
shr edx, 0x10
and edx, 0xff
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], dl
mov ecx, 1
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x14], cl
mov dword [ebp - 8], 0
jmp 0x10024227
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jge 0x1002423f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov cl, byte [ebp + eax - 0x14]
mov byte [edx + 0x2d5636c], cl
jmp 0x1002421e
mov edx, dword [ebp - 4]
add edx, 0x1cc
mov dword [ebp - 0x18], edx
push 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.10003a80
test eax, eax
jne 0x1002428a
mov dword [ebp - 0x30], 0
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10003990
test eax, eax
jne 0x10024278
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x10100
je 0x1002428a
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x10100
jmp 0x10024126
mov edx, dword [ebp - 4]
add edx, 0x1cc
mov dword [ebp - 0x1c], edx
push 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10003a80
test eax, eax
jne 0x100242da
mov dword [ebp - 0x34], 0
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10003990
test eax, eax
jne 0x100242c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x10100
je 0x100242da
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x10100
mov esp, ebp
pop ebp
ret