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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
call fcn.1001b980
movzx eax, al
cmp eax, 1
jne 0x1001c8f9
jmp 0x1001cc45
mov dword [ebp - 0x28], 0
push 4
push 0x2cc5ebc
call fcn.10003990
test eax, eax
jne 0x1001c919
mov ecx, dword [0x2cc5ebc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jbe 0x1001cc39
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
jmp 0x1001c942
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4f
jg 0x1001cc29
mov ecx, dword [ebp - 0x18]
add ecx, 0x194
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
push 4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10003990
test eax, eax
jne 0x1001c976
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 1
jne 0x1001c981
jmp 0x1001cc45
mov edx, dword [ebp - 0x18]
add edx, 0x3c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], 0
push 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.10003990
test eax, eax
jne 0x1001c9a8
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 1
jne 0x1001c9b3
jmp 0x1001cc45
mov eax, dword [ebp - 0x18]
add eax, 0x38
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
push 4
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.10003990
test eax, eax
jne 0x1001c9da
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jne 0x1001c9e5
jmp 0x1001cc45
mov dword [ebp - 0x44], 0
push 4
push 1
call fcn.10003990
test eax, eax
jne 0x1001ca02
mov ecx, dword [1]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 1
jne 0x1001ca0d
jmp 0x1001cc45
call fcn.10018e70
movzx edx, al
test edx, edx
jne 0x1001ca1e
jmp 0x1001cc45
mov eax, dword [0x1006be60]
cmp dword [eax + 0xb4], 0
jne 0x1001ca36
jmp 0x1001cc3b
call fcn.100183a0
call fcn.1001bd60
imul ecx, dword [ebp - 4], 0x2c
add ecx, 0x211
mov dword [ebp - 8], ecx
mov dword [ebp - 0x48], 0
push 1
mov edx, dword [ebp - 8]
push edx
call fcn.10003990
test eax, eax
jne 0x1001ca93
lea eax, [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xc], 0
jmp 0x1001ca7b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 1
jge 0x1001ca93
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1001ca72
cmp dword [ebp - 0x48], 1
jne 0x1001cc24
mov ecx, dword [ebp - 4]
add ecx, 1
mov eax, dword [ebp - 4]
add eax, 1
cdq
mov esi, 0xa
idiv esi
sub ecx, edx
mov eax, ecx
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
add eax, 1
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jle 0x1001cadb
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
add eax, 1
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x1001caf9
mov dword [ebp - 0x20], 0xa
mov edx, dword [ebp - 8]
push edx
call fcn.1001bfe0
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xa
jne 0x1001cc24
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 1
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10003990
test eax, eax
jne 0x1001cb61
lea edx, [ebp - 0x50]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x10], 0
jmp 0x1001cb49
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1001cb61
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1001cb40
cmp dword [ebp - 0x50], 0
jne 0x1001cc24
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], 0
push 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.10003990
test eax, eax
jne 0x1001cbba
lea eax, [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], 0
jmp 0x1001cba2
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x1001cbba
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1001cb99
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0
je 0x1001cbcc
cmp dword [ebp - 0x5c], 3
jne 0x1001cc24
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bd94], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bde4], eax
push 2
call fcn.1001c100
add esp, 4
mov ecx, dword [ebp - 0x1c]
shl ecx, 5
add ecx, 0xa0
push ecx
mov edx, dword [ebp - 0x20]
shl edx, 5
add edx, 0x160
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x258
call fcn.1001c750
add esp, 0x14
jmp 0x1001c939
cmp dword [ebp - 0x24], 1
jne 0x1001cc39
push 0
call fcn.1001c100
add esp, 4
jmp 0x1001cc45
push 0
call fcn.1001c100
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret