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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10017280
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1001d018]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x1001d018]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
cmp dword [0x10022edc], 0
mov esi, ecx
jne 0x1000f526
mov ecx, dword [0x10020210]
mov edx, dword [0x10022ce0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x1c
push edx
call eax
cmp dword [eax], 0
je 0x1000f526
mov edi, fcn.10005ca0
push 0x2d
mov dword [0x1001f7cc], edi
call fcn.10005ca0
movsx ecx, ax
shr ecx, 0x10
test ecx, ecx
je 0x1000f26f
cmp byte [0x10021380], 0
je 0x1000f261
cmp dword [0x10021384], 0
je 0x1000f276
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10021384], eax
ja 0x1000f276
mov byte [0x10021380], 1
mov eax, 1
jmp 0x1000f278
mov byte [0x10021380], 0
xor eax, eax
test al, 1
jne 0x1000f2ce
push 0x2e
mov dword [0x1001f7cc], edi
call fcn.10005ca0
movsx edx, ax
shr edx, 0x10
test edx, edx
je 0x1000f2c1
cmp byte [0x10021388], 0
je 0x1000f2b3
cmp dword [0x1002138c], 0
je 0x1000f2c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1002138c], eax
ja 0x1000f2c8
mov byte [0x10021388], 1
mov eax, 1
jmp 0x1000f2ca
mov byte [0x10021388], 0
xor eax, eax
test al, 1
je 0x1000f2ef
xor eax, eax
cmp dword [0x1001d270], eax
sete al
xor ecx, ecx
cmp dword [0x10022edc], ecx
sete cl
mov dword [0x1001d270], eax
mov dword [0x10022edc], ecx
cmp dword [0x1001d270], 0
je 0x1000f526
fld dword [0x1001ad28]
push 0xff000000
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1001ad24]
fstp dword [esp + 8]
fld dword [0x1001ad20]
fstp dword [esp + 4]
fld dword [0x1001ad1c]
fstp dword [esp]
call fcn.10005f00
fld dword [0x1001ad18]
mov edi, 0xffff0000
fstp dword [esp + 0x10]
fld dword [0x1001ad28]
fstp dword [esp + 0xc]
fld dword [0x1001ad24]
fstp dword [esp + 8]
fld dword [0x1001ad20]
fstp dword [esp + 4]
fld dword [0x1001ad1c]
fstp dword [esp]
call fcn.10008b60
add esp, 0x14
mov edi, 0x596d760c
lea esi, [esp + 0x10]
call fcn.100151d0
push eax
mov dword [esp + 0x4c], 0
mov esi, dword [0x10022cd4]
push 0xfffd0067
push 0x134
mov ecx, 0x2f6
call fcn.10005e40
add esp, 0xc
mov edi, 0x5d3265f1
lea esi, [esp + 0x10]
call fcn.10015210
push eax
mov dword [esp + 0x4c], 1
mov esi, dword [0x10022cd4]
push 0xffccffff
push 0x141
mov ecx, 0x2f6
call fcn.10005e40
mov edi, 0x1001a574
add esp, 0xc
sub edi, 0x447d2172
lea esi, [esp + 0x10]
call fcn.10015250
push eax
mov dword [esp + 0x4c], 2
mov esi, dword [0x10022cd4]
push 0xffccffff
push 0x14e
mov ecx, 0x2f6
call fcn.10005e40
add esp, 0xc
mov edi, 0x3e095092
lea esi, [esp + 0x10]
call fcn.10015290
push eax
mov dword [esp + 0x4c], 3
mov esi, dword [0x10022cd4]
push 0xffccffff
push 0x15b
mov ecx, 0x2f6
call fcn.10005e40
add esp, 0xc
mov edi, 0x22188533
lea esi, [esp + 0x10]
call fcn.100152d0
push eax
push 0xffccffff
mov dword [esp + 0x50], 4
push 0x168
mov esi, dword [0x10022cd4]
mov ecx, 0x2f6
call fcn.10005e40
mov edi, 0x1001a5dc
add esp, 0xc
sub edi, 0x48e3add2
lea esi, [esp + 0x10]
call fcn.10015310
push eax
mov dword [esp + 0x4c], 5
mov esi, dword [0x10022cd4]
push 0xffccffff
push 0x175
mov ecx, 0x2f6
call fcn.10005e40
mov edi, 0x1001a5f4
add esp, 0xc
sub edi, 0x3cb3b5e9
lea esi, [esp + 0x10]
call fcn.10015350
push eax
mov dword [esp + 0x4c], 6
mov esi, dword [0x10022cd4]
push 0xffccffff
push 0x182
mov ecx, 0x2f6
call fcn.10005e40
mov edi, 0x1001a61c
add esp, 0xc
sub edi, 0x499bab86
lea esi, [esp + 0x10]
call fcn.10015390
push eax
mov dword [esp + 0x4c], 7
mov esi, dword [0x10022cd4]
push 0xff800080
push 0x18f
mov ecx, 0x2f6
call fcn.10005e40
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1001660c
mov esp, ebp
pop ebp
ret