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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x102792bd], 0
je 0x1001d8c4
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
xorps xmm3, xmm3
movd xmm1, dword [0x100dbb48]
comiss xmm0, xmm2
cvtdq2ps xmm1, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm1, xmm2
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1001d5e2
movaps xmm0, xmm2
jmp 0x1001d5ea
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c20]
ucomiss xmm4, xmm3
subss xmm1, xmm0
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x1001d609
movaps xmm0, xmm2
jmp 0x1001d611
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c14]
mov eax, 0x62f75b
push esi
push edi
push 1
divss xmm0, xmm2
movss dword [ebp - 4], xmm0
call eax
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
add esp, 4
cmp dword [0x106a5238], 1
jne 0x1001d665
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call edi
jmp 0x1001d6b6
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x106a5260]
cmp eax, 0x2bc
jae 0x1001d6a0
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f53d07d
mov dword [esp + 4], 0x3f53d07d
mov dword [esp], 0x3f53d07d
call edi
jmp 0x1001d6b6
call esi
sub eax, dword [0x106a5260]
cmp eax, 0x578
jbe 0x1001d6b6
call esi
mov dword [0x106a5260], eax
movss xmm0, dword [ebp - 4]
mov esi, 0x631289
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
divss xmm0, dword [0x11b3794]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call esi
movd xmm0, dword [0x8b156ec]
add esp, 0x30
movss xmm1, dword [0x102792a8]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001d89e
comiss xmm0, dword [0x102792b0]
ja 0x1001d89e
movd xmm2, dword [0x8b156f0]
movss xmm0, dword [0x102792ac]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1001d89e
comiss xmm2, dword [0x102792b4]
ja 0x1001d89e
addss xmm0, dword [0x100d1bec]
subss xmm1, dword [0x100d1c1c]
push str.Open
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
push 0x10276e38
call fcn.10071680
add esp, 0x10
cmp byte [0x102792bc], 0
je 0x1001d814
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
divss xmm0, dword [0x11b3794]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call esi
add esp, 0x30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call edi
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
divss xmm0, dword [0x11b3794]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call esi
add esp, 0x30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret