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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017109d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101b2820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 4]
cmp ecx, 0xff
je 0x100b3987
mov edx, dword [ebp - 0x3c]
cvtss2sd xmm0, dword [edx + 0x48]
comisd xmm0, xmmword [0x1019f0f0]
jbe 0x100b3938
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 4]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.100b2a80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 4]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.100b31e0
mov byte [ebp - 0x3d], al
lea ecx, [ebp - 0x38]
call fcn.100062d0
cmp eax, 1
jae 0x100b35c2
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x2c], 0xff
push 0x1017de4a
mov ecx, dword [ebp - 0x3c]
add ecx, 0x30
call fcn.1001c010
mov eax, dword [ebp - 0x3c]
mov byte [eax + 4], 0xff
mov ecx, dword [ebp - 0x3c]
movss xmm0, dword [0x1019f3f8]
movss dword [ecx + 0x48], xmm0
mov edx, dword [ebp - 0x3c]
movss xmm0, dword [0x1019f4b4]
movss dword [edx + 0x4c], xmm0
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10009a40
jmp 0x100b3987
movss xmm0, dword [0x1019f0e8]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x1019f0e8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x1019f0e8]
movss dword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x3c]
movss xmm0, dword [edx + 0x48]
movss dword [ebp - 0x14], xmm0
push ecx
movss xmm0, dword [0x1019faf0]
movss dword [esp], xmm0
mov eax, dword [0x101b3ba8]
mov dword [ebp - 0x48], eax
cvtsi2sd xmm0, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101a00d0]
movsd qword [ebp - 0x64], xmm0
cvtsd2ss xmm0, qword [ebp - 0x64]
push ecx
movss dword [esp], xmm0
lea edx, [ebp - 0x20]
push edx
push ecx
movss xmm0, dword [0x1019fd80]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb4f0
push ecx
movss xmm0, dword [0x1019f4b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f4b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f4b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f4b4]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov ecx, dword [0x104e1554]
call fcn.100bb6c0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb810
mov al, byte [ebp - 0x3d]
mov byte [ebp - 0x44], al
cmp byte [ebp - 0x44], 2
je 0x100b374f
cmp byte [ebp - 0x44], 3
je 0x100b3797
cmp byte [ebp - 0x44], 4
je 0x100b37dc
mov ecx, dword [ebp - 0x3c]
push ecx
movss xmm0, dword [ecx + 0x4c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f168]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f3b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f4b4]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb6f0
jmp 0x100b381f
mov edx, dword [ebp - 0x3c]
push ecx
movss xmm0, dword [edx + 0x4c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f47c]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb6f0
jmp 0x100b381f
mov eax, dword [ebp - 0x3c]
push ecx
movss xmm0, dword [eax + 0x4c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f1e4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f3f8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb6f0
jmp 0x100b381f
mov ecx, dword [ebp - 0x3c]
push ecx
movss xmm0, dword [ecx + 0x4c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f47c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f330]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb6f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x38]
push edx
call fcn.100010b0
mov dword [ebp - 0x54], eax
push ecx
movss xmm0, dword [0x1019f748]
movss dword [esp], xmm0
mov eax, dword [0x101b3ba8]
mov dword [ebp - 0x4c], eax
cvtsi2sd xmm0, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101a00d0]
movsd qword [ebp - 0x5c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x5c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019fd9c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
mov ecx, dword [0x104e1554]
call fcn.100bb890
mov edx, dword [ebp - 0x3c]
movzx eax, byte [edx + 0x54]
test eax, eax
jne 0x100b38d2
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x50], 0
jne 0x100b38b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x50], eax
jmp 0x100b38d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ecx + 0x50]
cmp eax, 0x5dc
jbe 0x100b38d0
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x54], 1
jmp 0x100b3927
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ecx + 0x50]
cmp eax, 0x32
jbe 0x100b3927
mov edx, dword [ebp - 0x3c]
cvtss2sd xmm0, dword [edx + 0x48]
subsd xmm0, qword [0x1019f4f8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x3c]
movss dword [eax + 0x48], xmm0
mov ecx, dword [ebp - 0x3c]
cvtss2sd xmm0, dword [ecx + 0x4c]
subsd xmm0, qword [0x1019f508]
cvtsd2ss xmm0, xmm0
mov edx, dword [ebp - 0x3c]
movss dword [edx + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x50], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10009a40
jmp 0x100b3987
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x2c], 0xff
push 0x1017de4b
mov ecx, dword [ebp - 0x3c]
add ecx, 0x30
call fcn.1001c010
mov eax, dword [ebp - 0x3c]
mov byte [eax + 4], 0xff
mov ecx, dword [ebp - 0x3c]
movss xmm0, dword [0x1019f38c]
movss dword [ecx + 0x48], xmm0
mov edx, dword [ebp - 0x3c]
movss xmm0, dword [0x1019f4b4]
movss dword [edx + 0x4c], xmm0
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061790
mov esp, ebp
pop ebp
ret