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

Disassembly:
mov eax, 0x2009d725
call fcn.2007d394
sub esp, 0x1f8
mov eax, dword [0x200cc84c]
push esi
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov esi, ecx
call edi
mov ecx, dword [esi + 0x4c]
add ecx, dword [esi + 0x48]
cmp eax, ecx
jae 0x2002c8a8
xor al, al
jmp 0x2002cacb
call edi
lea ecx, [ebp - 0x1b8]
mov dword [esi + 0x48], eax
call fcn.2002c016
mov al, byte [esi + 0x1c]
mov byte [ebp - 0x1b4], al
push 0x14
lea eax, [esi + 8]
push eax
xor edi, edi
lea eax, [ebp - 0x1b2]
inc edi
push eax
mov dword [ebp - 0x1b8], edi
mov byte [ebp - 0x1b3], 0x14
call fcn.2007ca70
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 4]
test al, al
je 0x2002c90c
mov ecx, dword [esi + 0x20]
or dword [ebp - 0x170], edi
call fcn.2002bd67
push eax
lea ecx, [ebp - 0x16c]
call fcn.2002d316
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
je 0x2002c933
mov ecx, dword [esi + 0x28]
or dword [ebp - 0x170], 2
call fcn.2002bd95
push eax
lea ecx, [ebp - 0xf8]
call fcn.2002d3c6
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
je 0x2002c95a
mov ecx, dword [esi + 0x38]
or dword [ebp - 0x170], 4
call fcn.2002bd67
push eax
lea ecx, [ebp - 0x98]
call fcn.2002d6a4
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
je 0x2002c97e
mov ecx, dword [esi + 0x40]
or dword [ebp - 0x170], 8
call fcn.2002bd67
push eax
lea ecx, [ebp - 0x5c]
call fcn.2002d76a
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
je 0x2002c9a2
mov ecx, dword [esi + 0x30]
or dword [ebp - 0x170], 0x10
call fcn.2002bd67
push eax
lea ecx, [ebp - 0x48]
call fcn.2002d7a9
push ebx
mov edi, 0x400
push edi
call fcn.2008f9f9
mov ebx, eax
pop ecx
mov dword [ebp - 0x1e8], ebx
and dword [ebp - 4], 0
push edi
push ebx
lea ecx, [ebp - 0x1e0]
call fcn.200030b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.2002e0cd
pop ecx
pop ecx
lea ecx, [ebp - 0x1c4]
call fcn.2002bffe
add esi, 0x50
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1d8]
mov ecx, eax
sub eax, dword [ebp - 0x1dc]
sub ecx, dword [ebp - 0x1dc]
push eax
push dword [ebp - 0x1dc]
add ecx, 0xc
mov word [ebp - 0x1c4], cx
mov word [ebp - 0x1bc], 0x2101
call fcn.2002d8de
mov esi, 0x500
push esi
mov word [ebp - 0x1ba], ax
call fcn.2008f9f9
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x1e4], edi
mov byte [ebp - 4], 2
push esi
push edi
lea ecx, [ebp - 0x204]
call fcn.200030b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.2002d914
mov eax, dword [ebp - 0x1d8]
sub eax, dword [ebp - 0x1dc]
pop ecx
pop ecx
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x204]
call fcn.20001383
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x204]
call fcn.200030f4
mov byte [ebp - 4], 1
push edi
call fcn.2008f9fe
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e0]
call fcn.200030f4
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.2008f9fe
pop ecx
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.2007c9ae
leave
ret