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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x20], 0
push 4
push 0x10205e0
call fcn.10003990
test eax, eax
jne 0x10024305
mov eax, dword [0x10205e0]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x1002454a
mov dword [ebp - 0x24], 0
push 4
mov edx, dword [ebp - 4]
push edx
call fcn.10003990
test eax, eax
jne 0x10024333
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 0x1002454a
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 0x1002438d
mov dword [ebp - 0x28], 0
push 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.10003990
test eax, eax
jne 0x1002437b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x10100
je 0x1002438d
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 0x100244ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
cmp eax, 0x14
jbe 0x100243b6
jmp 0x100244ff
push 1
push 0x2d5636d
call fcn.10003a80
test eax, eax
jne 0x100244af
mov dword [ebp - 0x2c], 0
push 1
push 0x2d5636d
call fcn.10003990
test eax, eax
jne 0x10024412
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc], 0
jmp 0x100243f9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jge 0x10024412
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x2d5636d]
mov byte [eax], dl
jmp 0x100243f0
cmp dword [ebp - 0x2c], 1
je 0x100244af
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 0x10024497
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jge 0x100244af
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov cl, byte [ebp + eax - 0x14]
mov byte [edx + 0x2d5636d], cl
jmp 0x1002448e
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 0x100244fa
mov dword [ebp - 0x30], 0
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10003990
test eax, eax
jne 0x100244e8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x10100
je 0x100244fa
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x10100
jmp 0x10024396
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 0x1002454a
mov dword [ebp - 0x34], 0
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10003990
test eax, eax
jne 0x10024538
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x10100
je 0x1002454a
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x10100
mov esp, ebp
pop ebp
ret