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

Disassembly:
push 0xffffffffffffffff
push 0x1002c8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x70]
test ecx, ecx
push edi
lea edi, [ebp + 0x70]
mov dword [esp + 8], edi
je 0x10008dde
mov eax, dword [ecx]
call dword [eax + 0x20]
push edi
call fcn.1001c270
add esp, 4
mov dword [edi], 0
call fcn.1001e880
test eax, eax
mov dword [edi], eax
je 0x10008ffe
mov edx, dword [eax]
push 0x10
push str.C9A87C58_9683_4644_80BC_90D8462CE326
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 1
push 1
push 0
push 0
call dword [eax + 0x14]
test eax, eax
mov ecx, dword [edi]
je 0x10008fea
mov eax, dword [ecx]
push esi
lea edx, [ebp + 4]
push edx
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0xa0], 0
mov esi, eax
je 0x10008fe3
cmp dword [ebp + 0xd0], 0
je 0x10008fe3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi + 0x3e8]
cmp eax, ecx
jbe 0x10008fb9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea eax, [ebp + 0xa4]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x9c]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x24], 0
je 0x10008f99
jmp 0x10008e90
cmp dword [ebp + 0xd0], 0
je 0x10008fd0
mov ax, word [esi + 0x14]
cmp ax, 0x80
jbe 0x10008eff
cmp byte [esi + 0x19], 0
mov ecx, esi
jne 0x10008ee9
mov eax, dword [esi + 8]
cmp byte [eax + 0x19], 0
jne 0x10008ece
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
jne 0x10008ee9
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
je 0x10008ec2
jmp 0x10008ee9
mov eax, dword [esi + 4]
cmp byte [eax + 0x19], 0
jne 0x10008ee7
cmp esi, dword [eax + 8]
jne 0x10008ee7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x19], 0
je 0x10008ed7
mov esi, eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebp + 0x98]
call fcn.100082e0
jmp 0x10008f89
movzx eax, ax
mov edi, eax
shl edi, 6
sub edi, eax
add edi, edi
sub edi, eax
add edi, edi
add edi, edi
add edi, edi
cmp edi, 0x7530
jbe 0x10008f20
mov edi, 0x7530
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10]
add ecx, edi
cmp eax, ecx
jbe 0x10008f49
add word [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov dx, word [esi + 0xc]
mov ecx, ebp
push edx
call fcn.10005370
cmp byte [esi + 0x19], 0
jne 0x10008f89
mov eax, dword [esi + 8]
cmp byte [eax + 0x19], 0
jne 0x10008f6e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
jne 0x10008f89
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x19], 0
je 0x10008f62
jmp 0x10008f89
mov eax, dword [esi + 4]
cmp byte [eax + 0x19], 0
jne 0x10008f87
cmp esi, dword [eax + 8]
jne 0x10008f87
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x19], 0
je 0x10008f77
mov esi, eax
cmp esi, dword [ebp + 0x9c]
mov edi, dword [esp + 0xc]
jne 0x10008e90
cmp dword [ebp + 0xd0], 0
je 0x10008fd0
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x14]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xa0], 0
jne 0x10008e33
jmp 0x10008fe3
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi]
test ecx, ecx
pop esi
je 0x10008ffe
mov edx, dword [ecx]
call dword [edx + 0x20]
push edi
call fcn.1001c270
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret