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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008c378
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x20], ebp
jle 0x10019de8
mov ecx, dword [esi + 0x28]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0x1c], ebp
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jl 0x10019dd6
mov eax, dword [esi + 0x34]
xor edi, edi
cmp eax, ebp
jle 0x10019e08
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
push eax
call fcn.10088e50
mov eax, dword [esi + 0x34]
add esp, 4
inc edi
cmp edi, eax
jl 0x10019df1
mov eax, dword [esi + 0x3c]
cmp eax, ebp
je 0x10019e18
push eax
call fcn.10088e50
add esp, 4
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], ebp
mov ecx, dword [esi + 0x20]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x10], eax
jle 0x1001a042
push ebx
jmp 0x10019e37
xor ebp, ebp
mov ecx, dword [esi + 0x28]
mov edi, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.1003a840
lea edx, [edi + 4]
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x48], ebp
call fcn.1003aac0
lea eax, [esp + 0x20]
lea ecx, [esi + 0x40]
push eax
call fcn.1002d800
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x18], ebx
je 0x1001a01c
push ebx
mov ecx, esi
call fcn.1001a340
cmp eax, ebp
jne 0x1001a012
push 0x70
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10019edc
lea ebx, [ebp + 0x10]
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
lea ebx, [ebp + 0x40]
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
jmp 0x10019ee8
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x18], ebp
cmp ebp, eax
je 0x1001a01c
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov ecx, dword [esi + 0x190]
cmp ecx, eax
je 0x10019f1f
mov edi, dword [ecx + 0x10]
test edi, edi
jbe 0x10019f1f
mov ecx, dword [ecx + 0x14]
lea edx, [ecx + 4]
cmp dword [edx], ebx
je 0x10019f4b
inc eax
add edx, 0x10
cmp eax, edi
jb 0x10019f13
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x10019f5d
mov edi, dword [ecx + 0x10]
xor eax, eax
test edi, edi
jbe 0x10019f5d
mov ecx, dword [ecx + 0x14]
lea edx, [ecx + 4]
cmp dword [edx], ebx
je 0x10019f54
inc eax
add edx, 0x10
cmp eax, edi
jb 0x10019f3d
jmp 0x10019f5d
shl eax, 4
mov eax, dword [eax + ecx + 8]
jmp 0x10019f21
shl eax, 4
mov eax, dword [eax + ecx + 0xc]
jmp 0x10019f5f
xor eax, eax
mov dword [ebp + 0xc], eax
mov ecx, dword [esi + 0x30]
cmp dword [esi + 0x34], ecx
jl 0x10019fe8
mov eax, dword [esi + 0x38]
test eax, eax
jg 0x10019f7c
mov eax, ecx
test eax, eax
jg 0x10019f7c
mov eax, 0x100
lea ebx, [ecx + eax]
lea ecx, [ebx*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10019fac
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [esp + 0x10]
push ebp
call fcn.10088e50
add esp, 4
jmp 0x1001a01c
mov edi, dword [esi + 0x34]
cmp ebx, edi
jge 0x10019fb5
mov edi, ebx
xor eax, eax
test edi, edi
jle 0x10019fcb
mov edx, dword [esi + 0x3c]
inc eax
cmp eax, edi
mov ecx, dword [edx + eax*4 - 4]
mov dword [ebp + eax*4 - 4], ecx
jl 0x10019fbb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10019fdb
push eax
call fcn.10088e50
add esp, 4
mov dword [esi + 0x3c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
mov dword [eax + edx*4], ebp
mov edx, dword [esi + 0x34]
inc edx
mov eax, edx
mov dword [esi + 0x34], edx
dec eax
test eax, eax
jge 0x1001a00a
push ebp
call fcn.10088e50
add esp, 4
jmp 0x1001a01c
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.1003a860
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10019e35
pop ebx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret