Function at 0x100ad0d0
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 + 0x2a4]
cmp ecx, 1
jne 0x100ad3d4
mov ecx, dword [ebp - 8]
call fcn.10009810
movzx edx, al
test edx, edx
je 0x100ad267
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x298]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
lea ecx, [edx + ecx + 0x1e0]
call fcn.10033ad0
cmp eax, 0xe
jbe 0x100ad267
push 0xfc
push 0xb4
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x10184750]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 8]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x10184580]
cvttss2si eax, xmm0
push eax
mov ecx, 0x1019b6a0
call fcn.10115c40
movzx ecx, al
test ecx, ecx
je 0x100ad23f
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2bc]
call fcn.1009fc50
fstp dword [ebp - 0xc]
cmp dword [0x879337c], 0
jg 0x100ad1e6
cmp dword [0x879337c], 0
jge 0x100ad1e4
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x10184070]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
comisd xmm0, xmmword [0x10184130]
jbe 0x100ad1cb
movss xmm0, dword [0x10183fe0]
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 + 0x2bc]
call fcn.1009fc20
jmp 0x100ad23f
mov dword [0x879337c], 0
cvtss2sd xmm0, dword [ebp - 0xc]
subsd xmm0, qword [0x10184070]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
movsd xmm1, qword [0x10183c28]
comisd xmm1, xmm0
jbe 0x100ad226
movss xmm0, dword [0x10183c20]
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 + 0x2bc]
call fcn.1009fc20
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2bc]
call fcn.1009fc90
movzx eax, al
test eax, eax
je 0x100ad259
jmp 0x100ad3d4
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x2bc]
call fcn.1009fcb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x2a8]
cmp eax, 0x3e8
jbe 0x100ad3d4
mov dword [ebp - 0x10], 0
jmp 0x100ad293
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x100ad3c5
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0xc
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x1e0]
call fcn.10009b90
jmp 0x100ad2c6
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.10033c40
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
imul eax, eax, 0xc
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 0x1e0]
call fcn.10009bc0
push eax
lea ecx, [ebp - 4]
call fcn.100024e0
movzx edx, al
test edx, edx
je 0x100ad3c0
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax + 4], 0
jne 0x100ad392
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 6
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 8
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 9
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 0xa
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 0xb
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 0x12
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 0x13
je 0x100ad36d
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 0x14
jne 0x100ad372
jmp 0x100ad2b8
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax], 5
jne 0x100ad392
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax + 8], 0
jge 0x100ad392
jmp 0x100ad2b8
lea ecx, [ebp - 4]
call fcn.1000a170
cmp dword [eax + 8], 0
jle 0x100ad3bb
lea ecx, [ebp - 4]
call fcn.1000a170
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 0x100ad2b8
jmp 0x100ad28a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2a8], eax
mov esp, ebp
pop ebp
ret