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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push 2
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
push 0x39
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
push 0x48
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
push 0xd
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100ce0e7
push 0x4d
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100ce0e7
push 0xe
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
push 0xd
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100ce12d
push 8
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100ce12d
push 0x4e
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100ce89b
mov ebx, dword [0x10a8891c]
cmp byte [ebx + 0x29], 0
jne 0x100ce167
cmp dword [0x10a76f50], 0
je 0x100ce14c
mov dword [0x10a76f50], 0
or eax, 0xffffffff
cmp dword [0x10150ed8], eax
je 0x100ce8a5
mov dword [0x10150ed8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [ebx + 0x18]
push 0x109355d0
fstp dword [ebp - 0xc]
fld dword [ebx + 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebx]
fstp dword [ebp - 8]
fld dword [ebx + 4]
fstp dword [ebp - 4]
call fcn.100264b0
add esp, 4
push 1
mov eax, 0x635fd0
call eax
fld1
fst dword [esp]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
fld dword [ebp - 0xc]
mov ecx, dword [0x119208bc]
mov ebx, dword [0x119208c0]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], ecx
call fcn.1012e5b0
fld dword [ebp - 4]
fadd qword [0x1013fd80]
mov esi, eax
fst qword [ebp - 0x58]
fld dword [ebp - 8]
call fcn.1012e5b0
push 0x109347c0
push 0
push esi
push 0
push 0xffddff
mov edi, eax
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push eax
push edi
push edx
mov cl, 3
call fcn.1008a600
fld dword [ebp - 4]
fadd qword [0x101404f8]
add esp, 0x20
push 0x10934a18
push 0
push esi
push 0
push 0xff9100ff
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push edi
push eax
mov cl, 3
call fcn.1008a600
add esp, 0x20
mov ecx, ebx
call fcn.10066c50
fld dword [ebp - 4]
fadd qword [0x1013f7b0]
push eax
push 0x10934c70
push 0
push esi
push 0
push 0x3cff00ff
call fcn.1012e5b0
mov ecx, dword [0x116de53c]
push eax
push edi
push ecx
mov cl, 3
call fcn.1008a600
fldz
add esp, 0x20
fstp dword [esp]
fld dword [0x10140390]
push 0x1092c930
push 0xb
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 4]
fadd qword [0x1013fb00]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [esp + 4]
fld dword [ebp - 0xc]
fmul qword [0x1013f510]
fsub qword [0x1013f750]
fadd dword [ebp - 8]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [esp]
push 0x116dc850
call fcn.10066220
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, al
je 0x100ce2fd
call ebx
sub eax, dword [0x108c93d0]
cmp eax, 0x12c
jbe 0x100ce2fd
call ebx
mov edx, dword [0x10a888c8]
sub eax, dword [edx + 0x30]
cmp eax, 0x12c
jbe 0x100ce2ea
call fcn.10021e80
mov eax, dword [0x10a8891c]
mov byte [eax + 0x29], 0
mov ecx, dword [0x10a88920]
mov byte [ecx + 0x29], 0
fld dword [ebp - 8]
fld qword [0x1013f580]
fadd st(1), st(0)
fxch st(1)
fadd qword [0x1013f6e8]
fstp dword [ebp - 0x10]
fld qword [ebp - 0x58]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fadd qword [0x101405e8]
fstp dword [ebp - 4]
fld dword [ebp - 0xc]
fsub qword [0x1013f600]
fdivrp st(1)
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fld qword [str.333333]
fmul st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x1c]
fsub qword [0x1013f760]
fstp dword [ebp - 0x1c]
fmul qword [0x1013fc20]
fst qword [ebp - 0x58]
fadd qword [0x1013f750]
fst qword [ebp - 0x50]
fld dword [ebp - 4]
call fcn.1012e5b0
fld dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.1012e5b0
mov esi, eax
push 0x10945b60
push 0
mov dword [ebp - 0x24], esi
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push eax
push 0x3a4b3978
push 0xffde26ff
push edi
push esi
push edx
mov cl, 3
call fcn.1008a600
mov eax, dword [0x119208c8]
sub eax, dword [0x119208c4]
mov esi, dword [0x10a76f50]
sar eax, 3
add esp, 0x20
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x100ce45a
push 0x50
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x100ce3da
call fcn.1000f9d0
mov esi, eax
jmp 0x100ce3dc
xor esi, esi
fld dword [ebp - 4]
mov dword [0x10a76f50], esi
fadd qword [0x1013f580]
call fcn.1012e5b0
fld dword [ebp - 8]
fadd dword [ebp - 0xc]
mov edi, eax
fsub qword [0x1013f6d8]
call fcn.1012e5b0
fld dword [ebp - 0x1c]
mov ebx, eax
call fcn.1012e5b0
push ebx
mov edx, edi
mov ecx, esi
call fcn.1000fa50
test esi, esi
je 0x100ce4eb
mov ecx, dword [ebp - 0x18]
cmp ecx, 5
jle 0x100ce43e
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax - 1]
cmp eax, 1
jge 0x100ce443
mov eax, 1
mov dword [esi + 0x48], eax
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.1000faa0
mov edi, dword [ebp - 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10a8891c]
cmp byte [ecx + 0x2a], 0
je 0x100ce49f
fld dword [ebp - 4]
fadd qword [0x1013f580]
call fcn.1012e5b0
fld dword [ebp - 8]
fadd dword [ebp - 0xc]
mov ebx, eax
fsub qword [0x1013f6d8]
call fcn.1012e5b0
mov edx, eax
mov eax, ebx
mov ecx, esi
call fcn.1000faa0
xor ecx, ecx
call fcn.1000ff40
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
fld dword [ebp - 0x1c]
fadd qword [0x1013f580]
call fcn.1012e5b0
fld qword [ebp - 0x58]
push eax
call fcn.1012e5b0
mov edx, dword [ebp - 0x24]
push eax
push edi
push edx
mov eax, 0x790b10
call eax
mov esi, dword [0x10a76f50]
add esp, 0x10
mov byte [esi + 0x4c], al
call fcn.1000fc70
mov eax, dword [0x10a76f50]
call fcn.1000fae0
mov esi, dword [0x10a76f50]
call fcn.1000fbf0
jmp 0x100ce4f1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esi + 0x44]
lea esi, [esi + esi*4]
mov dword [ebp - 0x20], 0
cmp esi, dword [ebp - 0x18]
jge 0x100ce864
fld qword [ebp - 0x50]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x14]
fld st(0)
call fcn.1012e5b0
fld dword [ebp - 0x10]
fadd qword [0x1013f6c0]
mov dword [ebp - 0x34], eax
fld st(0)
call fcn.1012e5b0
fild dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
fmul qword [0x1013f760]
fstp qword [ebp - 0x60]
fst dword [ebp - 8]
faddp st(1)
fld qword [0x1013f6e8]
fadd st(1), st(0)
fxch st(1)
fst dword [ebp - 0x3c]
fld st(0)
call fcn.1012e5b0
fadd qword [0x1013f7c0]
mov dword [ebp - 0x40], eax
faddp st(1)
fst qword [ebp - 0x68]
call fcn.1012e5b0
mov dword [ebp - 0x48], eax
fld dword [0x1013f5cc]
sub esp, 0x20
fstp dword [esp + 0x1c]
fldz
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1013faa8]
fstp dword [esp + 0xc]
fld dword [ebp - 0x24]
fstp dword [esp + 8]
fld dword [ebp - 4]
fadd qword [0x1013f6d8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x10]
fstp dword [esp]
call fcn.100bcd90
mov ecx, dword [0x119208c4]
fld dword [ebp - 4]
fadd qword [0x1013f600]
lea edi, [ecx + esi*8]
mov ecx, dword [edi + 4]
fstp qword [ebp - 0x30]
call fcn.10066c50
mov edx, dword [edi]
fld qword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push edx
push 0x10934ec8
push 0
push eax
push 0
push 0xffde26ff
call fcn.1012e5b0
mov ecx, dword [ebp - 0x38]
mov edx, dword [0x116de538]
push eax
push ecx
push edx
mov cl, 3
call fcn.1008a600
fld qword [ebp - 0x30]
fadd qword [0x10140028]
add esp, 8
fstp dword [ebp - 0x1c]
fld dword [0x1013f674]
fstp dword [esp + 0x1c]
fld1
fstp dword [esp + 0x18]
fldz
fstp dword [esp + 0x14]
fld dword [0x10140f08]
fstp dword [esp + 0x10]
fld dword [0x1013f664]
fstp dword [esp + 0xc]
fld dword [ebp - 0x14]
fstp dword [esp + 8]
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld dword [ebp - 8]
fstp dword [esp]
call fcn.100bcd90
mov eax, dword [0x119208c4]
fild dword [eax + esi*8 + 4]
fdivr qword [ebp - 0x60]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fld dword [ebp - 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fdiv qword [0x1013f760]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100ce687
fstp dword [ebp - 0xc]
jmp 0x100ce689
fstp st(0)
fld1
sub esp, 0x20
fst dword [esp + 0x1c]
fstp dword [esp + 0x18]
fldz
fstp dword [esp + 0x14]
fld dword [0x10140f08]
fstp dword [esp + 0x10]
fld dword [0x1013f664]
fstp dword [esp + 0xc]
fld dword [ebp - 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld dword [ebp - 8]
fstp dword [esp]
call fcn.100bcd90
fld dword [ebp - 4]
fadd qword [0x1013fd80]
push ecx
fstp dword [ebp - 0x1c]
fld dword [0x1013f7a4]
fstp dword [esp]
push 0x10135e74
fld dword [0x1013f910]
push 0xb
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld dword [ebp - 0x3c]
fstp dword [esp]
push 0x116dc850
call fcn.10066220
test al, al
je 0x100ce760
call ebx
mov ecx, eax
mov eax, dword [0x10a88920]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x12c
jbe 0x100ce760
mov edx, dword [0x119208c4]
mov ecx, dword [edx + esi*8]
mov dword [0x10150ed8], ecx
mov byte [eax + 0x29], 1
call ebx
mov edx, dword [0x10a88920]
lea ecx, [ebp - 0x50]
mov dword [edx + 0x30], eax
mov eax, dword [0x10150ed8]
push ecx
mov ecx, 8
mov dword [ebp - 0x50], 0x9bd308c1
mov dword [ebp - 0x4c], eax
call fcn.10100800
add esp, 4
fld dword [ebp - 4]
fadd qword [0x1013fa40]
call fcn.1012e5b0
mov edx, dword [ebp - 0x40]
push 0x10935120
push 0
push 0x26
push 0
mov edi, eax
mov eax, dword [0x116de538]
push 0xffffffffffffffff
push edi
push edx
push eax
mov cl, 3
call fcn.1008a600
mov ecx, dword [0x119208c4]
mov edx, dword [ebp - 0x44]
add esp, 0x20
cmp edx, dword [ecx + esi*8]
jge 0x100ce81f
fld dword [0x1013f7a4]
push ecx
fstp dword [esp]
push 0x10135e74
fld dword [0x1013f910]
push 0xb
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld qword [ebp - 0x68]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
push 0x116dc850
call fcn.10066220
test al, al
je 0x100ce81f
call ebx
mov ecx, dword [0x10a8891c]
sub eax, dword [ecx + 0x30]
cmp eax, 0x12c
jbe 0x100ce81f
call ebx
mov edx, dword [0x10a8891c]
mov dword [edx + 0x30], eax
mov eax, dword [0x119208c4]
mov ecx, dword [eax + esi*8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x54], ecx
push edx
mov ecx, 8
mov dword [ebp - 0x58], 0x9ad308c1
call fcn.10100800
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x116de538]
push 0x10935378
push 0
push 0x26
push 0
push 0xffffffffffffffff
push edi
push eax
push ecx
mov cl, 3
call fcn.1008a600
fld dword [ebp - 4]
mov eax, dword [ebp - 0x20]
fadd qword [0x101405d8]
inc eax
add esp, 0x20
fstp dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp eax, 5
jge 0x100ce864
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x100ce568
mov edx, 0x636070
call edx
mov eax, 0x635f50
call eax
fld1
sub esp, 0xc
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 0
mov ecx, 0x635fd0
call ecx
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10a8891c]
mov byte [edx + 0x29], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret