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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
mov byte [ebp - 1], 1
call fcn.10018dc0
movzx eax, al
cmp eax, 1
jne 0x1001a720
mov al, byte [ebp - 1]
jmp 0x1001aa3d
call fcn.10018570
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 0
push 4
push 0x2d64ca8
call fcn.10003990
test eax, eax
jne 0x1001a748
mov ecx, dword [0x2d64ca8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jbe 0x1001aa2b
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x1001a786
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14f
jg 0x1001aa1b
call fcn.10018a80
movzx ecx, al
cmp ecx, 1
jne 0x1001a7a8
mov al, byte [ebp - 1]
jmp 0x1001aa3d
call fcn.10018a90
mov edx, dword [0x1006be60]
cmp dword [edx + 0xb4], 0
jne 0x1001a7c6
jmp 0x1001aa30
call fcn.100183a0
imul eax, dword [ebp - 8], 0x48
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10003990
test eax, eax
jne 0x1001a81b
lea edx, [ebp - 0x30]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x10], 0
jmp 0x1001a803
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1001a81b
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1001a7fa
cmp dword [ebp - 0x30], 1
jne 0x1001aa16
mov ecx, dword [ebp - 8]
add ecx, 1
mov eax, dword [ebp - 8]
add eax, 1
cdq
mov esi, 0xe
idiv esi
sub ecx, edx
mov eax, ecx
cdq
mov ecx, 0xe
idiv ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
add eax, 1
cdq
mov ecx, 0xe
idiv ecx
test edx, edx
jle 0x1001a863
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 1
cdq
mov ecx, 0xe
idiv ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x1001a881
mov dword [ebp - 0x1c], 0xe
mov edx, dword [ebp - 0xc]
push edx
call fcn.10018f60
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xa
jne 0x1001aa16
mov eax, dword [ebp - 0xc]
add eax, 0x2c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10003990
test eax, eax
jne 0x1001a8e9
lea edx, [ebp - 0x38]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x14], 0
jmp 0x1001a8d1
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1001a8e9
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1001a8c8
cmp dword [ebp - 0x38], 0
jne 0x1001aa16
mov dword [ebp - 0x24], 0
mov ecx, dword [0x1006be60]
cmp dword [ecx + 0x1cc], 1
jne 0x1001a912
mov dword [ebp - 0x24], 5
jmp 0x1001a919
mov dword [ebp - 0x24], 2
mov edx, dword [ebp - 0xc]
sub edx, 8
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], 0
push 1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.10003990
test eax, eax
jne 0x1001a968
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x18], 0
jmp 0x1001a950
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jge 0x1001a968
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1001a947
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x24]
je 0x1001a980
cmp dword [ebp - 0x44], 5
jne 0x1001aa16
mov edx, dword [ebp - 0x1c]
shl edx, 5
add edx, 0x20
push edx
mov eax, dword [ebp - 0x20]
shl eax, 5
add eax, 0x80
push eax
call fcn.10005ab0
add esp, 8
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
push 3
call fcn.100184e0
add esp, 4
mov edx, dword [0x1006bdc8]
cmp edx, dword [ebp - 8]
je 0x1001a9da
mov eax, dword [ebp - 8]
mov dword [0x1006bdc8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bd94], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bde4], eax
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x1c]
shl ecx, 5
add ecx, 0x20
push ecx
mov edx, dword [ebp - 0x20]
shl edx, 5
add edx, 0x80
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x258
call fcn.1001a550
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x1001aa16
mov al, byte [ebp - 1]
jmp 0x1001aa3d
jmp 0x1001a77d
cmp dword [ebp - 0x28], 1
jne 0x1001aa2b
push 0
call fcn.100184e0
add esp, 4
mov al, byte [ebp - 1]
jmp 0x1001aa3d
push 0
call fcn.100184e0
add esp, 4
mov al, byte [ebp - 1]
pop esi
mov esp, ebp
pop ebp
ret