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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
call fcn.1001b980
movzx eax, al
cmp eax, 1
jne 0x1001c3d9
jmp 0x1001c748
mov dword [ebp - 0x28], 0
push 4
push 0x2cc5ebc
call fcn.10003990
test eax, eax
jne 0x1001c3f9
mov ecx, dword [0x2cc5ebc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jbe 0x1001c73c
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
jmp 0x1001c422
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4f
jg 0x1001c72c
mov ecx, dword [ebp - 8]
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 0x1001c456
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 1
jne 0x1001c461
jmp 0x1001c748
mov edx, dword [ebp - 8]
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 0x1001c488
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 1
jne 0x1001c493
jmp 0x1001c748
mov eax, dword [ebp - 8]
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 0x1001c4ba
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jne 0x1001c4c5
jmp 0x1001c748
mov dword [ebp - 0x44], 0
push 4
push 1
call fcn.10003990
test eax, eax
jne 0x1001c4e2
mov ecx, dword [1]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 1
jne 0x1001c4ed
jmp 0x1001c748
call fcn.10018e70
movzx edx, al
test edx, edx
jne 0x1001c4fe
jmp 0x1001c748
mov eax, dword [0x1006be60]
cmp dword [eax + 0xa4], 0
jne 0x1001c516
jmp 0x1001c73e
call fcn.100183a0
call fcn.1001bd60
imul ecx, dword [ebp - 4], 0x2c
add ecx, 0x211
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x48], 0
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.10003990
test eax, eax
jne 0x1001c573
lea eax, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], 0
jmp 0x1001c55b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x1001c573
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1001c552
cmp dword [ebp - 0x48], 1
jne 0x1001c727
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 0x1001c5bb
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 0x1001c5d9
mov dword [ebp - 0x20], 0xa
mov edx, dword [ebp - 0xc]
push edx
call fcn.1001bfe0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
je 0x1001c727
cmp dword [ebp - 0x10], 0
jle 0x1001c727
mov eax, dword [ebp - 0xc]
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 0x1001c64b
lea edx, [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x18], 0
jmp 0x1001c633
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1001c64b
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1001c62a
cmp dword [ebp - 0x50], 0
jne 0x1001c727
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
call fcn.10005ab0
add esp, 8
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 0x64
push 0xa
call fcn.1001bbf0
add esp, 8
push 0x64
push 0xa
call fcn.1001ba80
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1001c100
add esp, 4
cmp dword [ebp - 0x10], 3
je 0x1001c6f4
mov edx, dword [ebp - 0x1c]
shl edx, 5
add edx, 0xa0
push edx
mov eax, dword [ebp - 0x20]
shl eax, 5
add eax, 0x160
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x258
call fcn.1001c180
add esp, 0x18
jmp 0x1001c727
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 - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x190
call fcn.1001c180
add esp, 0x18
jmp 0x1001c419
cmp dword [ebp - 0x24], 1
jne 0x1001c73c
push 0
call fcn.1001c100
add esp, 4
jmp 0x1001c748
push 0
call fcn.1001c100
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret