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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x106b9c68], 0
push esi
push edi
jl 0x10043e96
movss xmm1, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
xorps xmm3, xmm3
movss xmm2, dword [0x11b3798]
comiss xmm0, xmm1
movaps xmm4, xmm2
mulss xmm4, dword [0x100d1be4]
setae al
divss xmm4, xmm2
movd xmm6, eax
cvtdq2ps xmm6, xmm6
ucomiss xmm6, xmm3
lahf
test ah, 0x44
jnp 0x10043b9c
movaps xmm0, xmm1
jmp 0x10043b9f
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1d7c]
movaps xmm5, xmm1
mulss xmm5, dword [0x100d1edc]
ucomiss xmm6, xmm3
divss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10043bc2
movaps xmm2, xmm1
mulss xmm2, dword [0x100d1d88]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
subss xmm5, xmm2
push 1
sub esp, 0x20
divss xmm5, xmm1
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f5eb852
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm0
movd xmm0, dword [0x104f9dcc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0
addss xmm5, xmm0
movss dword [esp], xmm5
push 0x787e
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
mov ecx, dword [0x106b9c74]
sub eax, dword [0x106b9c78]
inc ecx
mov dword [0x106b9c74], ecx
cmp eax, 0x3e8
jbe 0x10043c71
mov dword [0x106b9c70], ecx
mov dword [0x106b9c74], 0
call esi
mov dword [0x106b9c78], eax
movss xmm0, dword [0x11b3794]
xor eax, eax
movss xmm1, dword [0x100d183c]
xorps xmm3, xmm3
comiss xmm1, xmm0
movss dword [ebp - 0xc], xmm0
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x10043ca6
movaps xmm1, xmm0
jmp 0x10043cae
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1ce4]
movaps xmm2, xmm0
mulss xmm2, dword [0x100d1edc]
ucomiss xmm4, xmm3
divss xmm1, xmm0
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jp 0x10043cdb
movss xmm0, dword [0x11b3798]
push dword [0x106b9c68]
mov ecx, 0x101888b0
movss dword [ebp - 4], xmm0
push 0xae
cvttss2si esi, xmm1
call fcn.1003ad30
push eax
push 0
push 1
push esi
push 4
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [0x100d1d64]
movss xmm1, dword [ebp - 8]
subss xmm1, xmm0
movd xmm0, dword [0x104f9dcc]
cvtdq2ps xmm0, xmm0
divss xmm1, dword [ebp - 0xc]
addss xmm1, xmm0
cvttss2si eax, xmm1
push eax
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
movss xmm2, dword [0x11b3794]
xor eax, eax
movaps xmm0, xmm2
movss dword [ebp - 8], xmm2
mulss xmm0, dword [0x100d1edc]
add esp, 0x24
xorps xmm1, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [0x100d183c]
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10043d89
movss dword [ebp - 4], xmm2
jmp 0x10043d96
movss xmm0, dword [0x11b3798]
movss dword [ebp - 4], xmm0
push dword [0x106b9c60]
mov ecx, 0x101888b0
push 0xaf
call fcn.1003ad30
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [0x100d1ce4]
push eax
movss xmm1, dword [ebp - 0xc]
push 0
subss xmm1, xmm0
movd xmm0, dword [0x104f9dcc]
cvtdq2ps xmm0, xmm0
push 1
push esi
push 4
divss xmm1, dword [ebp - 8]
addss xmm1, xmm0
cvttss2si eax, xmm1
push eax
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
movss xmm2, dword [0x11b3794]
xor eax, eax
movaps xmm0, xmm2
movss dword [ebp - 8], xmm2
mulss xmm0, dword [0x100d1edc]
add esp, 0x24
xorps xmm1, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [0x100d183c]
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10043e3b
movss dword [ebp - 4], xmm2
jmp 0x10043e48
movss xmm0, dword [0x11b3798]
movss dword [ebp - 4], xmm0
push dword [0x106b9c70]
mov ecx, 0x101888b0
push 0xb0
call fcn.1003ad30
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [0x100d1c4c]
push eax
movss xmm1, dword [ebp - 0xc]
push 0
subss xmm1, xmm0
movd xmm0, dword [0x104f9dcc]
cvtdq2ps xmm0, xmm0
push 1
push esi
divss xmm1, dword [ebp - 8]
addss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10043faf
cmp dword [0x102c4e50], 2
jne 0x10043fc4
push 1
mov edi, 0x62f75b
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
movd xmm0, dword [0x104f9dcc]
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
addss xmm0, dword [0x100d1ed8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42480000
mov dword [esp + 4], 0
movss dword [esp], xmm0
call eax
mov eax, 0x62f7f0
call eax
lea eax, [edi - 0x7a]
call eax
add esp, 8
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
push 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call esi
mov ecx, dword [0x106b9c74]
sub eax, dword [0x106b9c78]
inc ecx
mov dword [0x106b9c74], ecx
cmp eax, 0x3e8
jbe 0x10043f89
mov dword [0x106b9c70], ecx
mov dword [0x106b9c74], 0
call esi
mov dword [0x106b9c78], eax
push dword [0x106b9c70]
mov ecx, 0x101888b0
push 0xb0
call fcn.1003ad30
push eax
mov eax, dword [0x104f9dcc]
push 0
push 1
push 0x64
add eax, 0x258
push 4
push eax
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
add esp, 0x24
pop edi
pop esi
mov esp, ebp
pop ebp
ret