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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10167e92
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
cmp eax, dword [edx + 4]
jne 0x100c1ee3
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
and ecx, 0x7ff
cmp ecx, dword [ebx + 0x14]
jne 0x100c1ee3
mov eax, dword [ebx + 8]
inc dword [eax + 8]
test byte [0x10219a00], 0x80
je 0x100c1edc
mov eax, dword [ebx + 8]
mov edx, 0x101b4088
push dword [eax + 0xc]
push dword [eax + 8]
push ebx
call fcn.100c252b
xor eax, eax
jmp 0x100c2063
mov ecx, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x28], eax
xor al, al
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x21], al
mov ecx, dword [ecx]
jmp 0x100c1efb
mov al, byte [ebp - 0x21]
mov esi, ecx
mov edx, ecx
and esi, 0x7ff
cmp esi, 0x7fb
je 0x100c1f2c
test esi, esi
je 0x100c1f2c
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x22], 0
test al, al
jne 0x100c1f53
and ecx, 0xfffff800
add ecx, 0x800
or ecx, esi
jmp 0x100c1f53
mov eax, dword [ebx + 0x14]
xor eax, ecx
mov byte [ebp - 0x22], 1
and eax, 0x7ff
xor ecx, eax
cmp byte [ebp - 0x21], 0
je 0x100c1f53
mov eax, ecx
and ecx, 0x7ff
shr eax, 0xb
dec eax
shl eax, 0xb
or ecx, eax
mov edi, dword [ebx + 8]
mov eax, edx
lock cmpxchg dword [edi], ecx
mov ecx, eax
cmp ecx, edx
jne 0x100c1ef8
cmp byte [ebp - 0x22], 0
mov eax, dword [ebx + 8]
jne 0x100c2026
mov eax, dword [eax]
and eax, 0xfffff800
cmp eax, 0x28f5800
jb 0x100c1f8f
mov eax, dword [0x10210270]
mov ecx, 0x10210270
push 0x1c124c
call dword [eax + 4]
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100c1fc7
cmp byte [ebp - 0x21], 0
jne 0x100c1fae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x28], edi
test esi, esi
jne 0x100c1fc7
jmp 0x100c1fb1
mov edi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, edi
cmp ecx, esi
jae 0x100c1fec
sub esi, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp + 8], esi
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x1c], esi
call fcn.100c2081
mov ecx, dword [ebx + 8]
mov al, byte [ebp - 0x21]
mov ecx, dword [ecx]
jmp 0x100c1efb
mov eax, dword [ebx + 8]
mov eax, dword [eax]
nop dword [eax]
nop word [eax + eax]
mov esi, dword [ebx + 8]
mov ecx, eax
shr ecx, 0xb
mov edx, eax
dec ecx
and eax, 0x7ff
shl ecx, 0xb
or ecx, eax
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x100c2000
mov eax, 0x102
jmp 0x100c2063
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 8]
mov dword [eax + 8], 1
test byte [0x10219a00], 0x80
je 0x100c2053
mov eax, dword [ebx + 8]
mov edx, 0x101b4088
push dword [eax + 0xc]
push dword [eax + 8]
push ebx
call fcn.100c252b
xor eax, eax
mov ecx, 0x80
cmp esi, 0x7fb
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8