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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2ac]
cmp ecx, 1
jne 0x100c5aa4
mov ecx, dword [ebp - 8]
call fcn.10009a90
movzx edx, al
test edx, edx
je 0x100c5937
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2a0]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
lea ecx, [edx + ecx + 0x1e8]
call fcn.1003f1c0
cmp eax, 0xe
jbe 0x100c5937
push 0xfc
push 0xb4
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x101a1fb0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 8]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101a1dd8]
cvttss2si eax, xmm0
push eax
mov ecx, 0x101ba6c8
call fcn.10130470
movzx ecx, al
test ecx, ecx
je 0x100c590f
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2cc]
call fcn.100b7ef0
fstp dword [ebp - 0xc]
cmp dword [0x879337c], 0
jg 0x100c58b6
cmp dword [0x879337c], 0
jge 0x100c58b4
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x101a18d8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
comisd xmm0, xmmword [0x101a1998]
jbe 0x100c589b
movss xmm0, dword [0x101a1844]
movss dword [ebp - 0xc], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2cc]
call fcn.100b7f90
jmp 0x100c590f
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
subsd xmm0, qword [0x101a18d8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
movsd xmm1, qword [0x101a1480]
comisd xmm1, xmm0
jbe 0x100c58f6
movss xmm0, dword [0x101a1478]
movss dword [ebp - 0xc], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x2cc]
call fcn.100b7f90
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2cc]
call fcn.100b7fe0
movzx eax, al
test eax, eax
je 0x100c5929
jmp 0x100c5aa4
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x2cc]
call fcn.100b8000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x2b0]
cmp eax, 0x3e8
jbe 0x100c5aa4
mov dword [ebp - 0x10], 0
jmp 0x100c5963
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x100c5a95
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0xc
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x1e8]
call fcn.10009e10
jmp 0x100c5996
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.1003f5a0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
imul eax, eax, 0xc
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 0x1e8]
call fcn.10009e40
push eax
lea ecx, [ebp - 4]
call fcn.10002600
movzx edx, al
test edx, edx
je 0x100c5a90
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax + 4], 0
jne 0x100c5a62
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 6
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 8
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 9
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 0xa
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 0xb
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 0x12
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 0x13
je 0x100c5a3d
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 0x14
jne 0x100c5a42
jmp 0x100c5988
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax], 5
jne 0x100c5a62
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax + 8], 0
jge 0x100c5a62
jmp 0x100c5988
lea ecx, [ebp - 4]
call fcn.1000a3f0
cmp dword [eax + 8], 0
jle 0x100c5a8b
lea ecx, [ebp - 4]
call fcn.1000a3f0
add eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
sub ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
jmp 0x100c5988
jmp 0x100c595a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2b0], eax
mov esp, ebp
pop ebp
ret