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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
shl eax, 6
push ebx
mov ebx, eax
cmp byte [ebx + 0x10155ae1], 0
je 0x10005ab0
fld dword [ebp + 0x10]
push esi
push edi
mov dword [0xe8cb3c], 1
call fcn.10019450
fld dword [ebp + 0x18]
mov edi, eax
call fcn.10019450
fld dword [ebp + 0x14]
push eax
call fcn.10019450
fld dword [ebp + 0xc]
push eax
push edi
call fcn.10019450
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x100055ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
add eax, 0x1f4
mov dword [ecx + 0x20], eax
fld dword [ebp + 0x14]
push 1
fld qword [0x1001acd0]
mov edx, 0x635fd0
fld st(0)
fdivrp st(2)
fld dword [0xe7c3d4]
fdivp st(2)
fxch st(1)
fstp dword [ebp - 4]
fdiv dword [ebp + 0x18]
fdiv dword [0xe7c3d8]
fstp dword [ebp + 8]
call edx
fld1
fst dword [esp]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
fld dword [ebp + 8]
sub esp, 0x28
fstp dword [esp + 0x24]
fld dword [ebp - 4]
fstp dword [esp + 0x20]
fld dword [0x1001acc8]
fst dword [esp + 0x1c]
fld dword [0x1001ac44]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fstp dword [esp]
call fcn.10004b70
fld dword [ebp + 0xc]
fld st(0)
fld qword [0x1001acc0]
fadd st(1), st(0)
fxch st(1)
call fcn.10019450
mov dword [ebp + 8], eax
fild dword [ebp + 8]
mov esi, 0xa
fstp dword [ebp - 4]
fld dword [ebp + 0x14]
faddp st(2)
fxch st(1)
fst qword [ebp - 0x10]
fld st(0)
fsub st(2)
fst qword [ebp - 0x18]
fld dword [ebp - 4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10005746
fstp st(2)
fstp st(0)
fld dword [ebp + 0x10]
fadd dword [ebp + 0x18]
fsub qword [0x1001acb8]
fstp dword [ebp + 0x14]
fldz
sub esp, 0x18
fstp dword [esp + 0x14]
mov eax, 0x790e40
fld dword [0x1001acb0]
fstp dword [esp + 0x10]
fld dword [0x1001acac]
fstp dword [esp + 0xc]
fld dword [0x1001ab20]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fstp dword [esp]
push 0x7a79
call eax
fldz
fstp dword [esp + 0x18]
add esp, 4
fld dword [0x1001acb0]
mov ecx, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x1001aca8]
fstp dword [esp + 0xc]
fld dword [0x1001ab20]
fstp dword [esp + 8]
fld dword [ebp + 0x14]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0x7a7d
call ecx
add dword [ebp + 8], esi
fild dword [ebp + 8]
add esp, 0x1c
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcom qword [ebp - 0x18]
fnstsw ax
test ah, 5
jnp 0x1000569f
fstp st(0)
fld qword [0x1001acc0]
fld qword [ebp - 0x10]
jmp 0x10005748
fstp st(0)
fld dword [ebp + 0x10]
fld st(0)
fadd st(3)
call fcn.10019450
mov dword [ebp + 0x14], eax
fild dword [ebp + 0x14]
fstp dword [ebp + 8]
fld st(0)
fadd dword [ebp + 0x18]
fst qword [ebp - 8]
fsubrp st(3)
fxch st(2)
fst qword [ebp - 0x18]
fld dword [ebp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x1000581e
fstp st(2)
fsub qword [0x1001aca0]
fstp dword [ebp + 0x18]
fldz
sub esp, 0x18
fst dword [esp + 0x14]
mov edx, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x1001ab20]
fstp dword [esp + 0xc]
fld dword [0x1001ab2c]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fstp dword [esp]
push 0x7a7b
call edx
fldz
fst dword [esp + 0x18]
add esp, 4
fstp dword [esp + 0x10]
mov eax, 0x790e40
fld dword [0x1001ab20]
fstp dword [esp + 0xc]
fld dword [0x1001ab2c]
fstp dword [esp + 8]
fld dword [ebp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0x18]
fstp dword [esp]
push 0x7a7c
call eax
add dword [ebp + 0x14], esi
fild dword [ebp + 0x14]
add esp, 0x1c
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcom qword [ebp - 0x18]
fnstsw ax
test ah, 5
jnp 0x10005789
fstp st(0)
fld dword [ebp + 0x10]
jmp 0x10005822
fstp st(0)
fstp st(0)
fldz
sub esp, 0x18
fst dword [esp + 0x14]
mov ecx, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x1001acac]
fstp dword [esp + 0xc]
fld dword [0x1001acb0]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fstp dword [esp]
push 0x7a79
call ecx
fld qword [ebp - 0x10]
fsub qword [0x1001ac98]
add esp, 4
mov edx, 0x790e40
fstp dword [ebp + 0x18]
fldz
fstp dword [esp + 0x14]
fld dword [0x1001ac90]
fstp dword [esp + 0x10]
fld dword [0x1001acac]
fstp dword [esp + 0xc]
fld dword [0x1001acb0]
fstp dword [esp + 8]
fld dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp + 0x18]
fstp dword [esp]
push 0x7a79
call edx
fld qword [ebp - 8]
fsub qword [0x1001acb8]
add esp, 4
mov eax, 0x790e40
fstp dword [ebp + 0x14]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1001aca8]
fstp dword [esp + 0xc]
fld dword [0x1001acb0]
fstp dword [esp + 8]
fld dword [ebp + 0x14]
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fstp dword [esp]
push 0x7a7d
call eax
fldz
fstp dword [esp + 0x18]
add esp, 4
fld dword [0x1001ac90]
mov ecx, 0x790e40
fstp dword [esp + 0x10]
fld dword [0x1001aca8]
fstp dword [esp + 0xc]
fld dword [0x1001acb0]
fstp dword [esp + 8]
fld dword [ebp + 0x14]
fstp dword [esp + 4]
fld dword [ebp + 0x18]
fstp dword [esp]
push 0x7a7d
call ecx
fld qword [ebp - 0x10]
fsub qword [0x1001ac88]
call fcn.10019450
mov dword [ebp + 0x18], edi
fild dword [ebp + 0x18]
mov esi, eax
mov dword [ebp + 0x14], esi
add esp, 0xc
fstp dword [ebp + 0x18]
fild dword [ebp + 0x14]
fstp dword [ebp + 0x14]
fld dword [0x1001ab3c]
fstp dword [esp + 0xc]
fld dword [0x1001ac80]
fstp dword [esp + 8]
mov edx, 0x790b50
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7ec5
call edx
push 0x24
push 0x24
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x24
cmp al, 1
jne 0x10005a68
push 1
mov ecx, 0x791070
call ecx
add esp, 4
test al, al
je 0x100059f5
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x10155adc]
cmp eax, 0x12c
jbe 0x100059f5
push 0
push 0
push 0x19
mov edx, 0x6d6c20
call edx
fldz
fst dword [esp + 8]
fstp dword [esp + 4]
fld1
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
xor byte [ebx + 0x10155ae1], 1
call esi
mov dword [ebx + 0x10155adc], eax
mov dword [0xe8cb3c], 0
push 0x82
push 0x14
push 0xcc
push 0xff
mov eax, 0x412d20
call eax
fldz
add esp, 0x10
push eax
sub esp, 0x18
fst dword [esp + 0x14]
mov ecx, 0x790f20
fstp dword [esp + 0x10]
fld dword [0x1001ab3c]
fstp dword [esp + 0xc]
fld dword [0x1001ac80]
fstp dword [esp + 8]
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push 0x7ec5
call ecx
mov edx, dword [0x8793410]
mov eax, dword [0x879340c]
push str.Close
push edx
add eax, 0x14
push eax
call fcn.10004b00
add esp, 0x2c
mov ecx, dword [ebp + 0x1c]
fld dword [ebp + 0x10]
fadd qword [0x1001ac78]
push ecx
push 3
call fcn.10019450
fld dword [ebp + 0xc]
fadd qword [0x1001ac70]
mov esi, eax
call fcn.10019450
mov edi, dword [0xe8c58c]
push eax
xor ebx, ebx
mov ecx, esi
call fcn.10004c40
mov edx, 0x635f50
call edx
push ebx
mov eax, 0x635fd0
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18