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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x10124018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, 0x80f8e0
call eax
cmp dword [0xe609e8], 5
jne 0x10068293
call fcn.1000c9f0
test al, al
je 0x10067f14
mov eax, 0x79dea0
mov word [ebp - 0x14c], 0x8c1
mov ecx, 0xebb848
mov byte [ebp - 0x14a], 0x88
call eax
mov edx, 8
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x14c]
call fcn.10067d00
cmp dword [0x1012f704], 1
jne 0x10068293
cmp byte [0x1012f580], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10067f8e
mov dword [0x1012f704], 2
mov dword [0x1012f6b0], 0
call esi
mov dword [0x1012f700], eax
call esi
mov dword [0x1012f6fc], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1012f6f4], 0
cmp byte [0x10124eae], 1
cmove eax, ecx
mov ecx, 0x8793750
mov dword [0x1012f6f8], eax
mov eax, 0x63a180
call eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073eeb
mov esp, ebp
pop ebp
ret
cmp dword [0x1012f6f4], 0
jne 0x10067fa4
xorps xmm0, xmm0
movss dword [ebp - 0x148], xmm0
jmp 0x10067ff5
call esi
sub eax, dword [0x1012f6fc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1011ab90]
mov eax, dword [0x1012f6f4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
mulss xmm1, dword [0x1011a908]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1011ab90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x148], xmm1
sub esp, 0x10
mov edi, 0x790b50
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0x43700000
push 0x7a65
call edi
movss xmm0, dword [0x1011a908]
add esp, 4
minss xmm0, dword [ebp - 0x148]
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42d20000
mov dword [esp], 0x43750000
push 0x7a66
call edi
mov eax, dword [0x1012f6b0]
add esp, 0x14
cmp eax, 3
ja case.default.0x10068067
jmp dword [eax*4 + 0x100682a4]
push 1
jmp 0x1006807c
push 2
jmp 0x1006807c
push 3
jmp 0x1006807c
push 4
mov ecx, 0x10125d68
call fcn.1001d520
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 3
push 0
push 0xffffffffffffffff
push 0
push 0xa0
push 0x69
lea eax, [ebp - 0x108]
push 0xf0
push eax
mov eax, 0x7d04d0
call eax
add esp, 0x28
call esi
sub eax, dword [0x1012f6fc]
cmp eax, dword [0x1012f6f4]
ja 0x10067f30
call esi
sub eax, dword [0x1012f700]
cmp eax, dword [0x1012f6f8]
jb 0x10068293
mov eax, dword [0x1012f6b0]
sub eax, 0
je 0x10068287
sub eax, 1
jne 0x1006828c
mov eax, dword [0x1012f6f0]
test eax, eax
jne 0x1006828c
mov al, byte [0x1012f6d4]
xor al, 0xfc
mov dword [0x1012f6f0], 1
mov byte [ebp - 0x140], al
mov al, byte [0x1012f6d5]
xor al, 0xcf
mov dword [ebp - 0x144], 0x1f13bc3
mov byte [ebp - 0x13f], al
mov al, byte [0x1012f6d6]
xor al, 0xab
mov byte [ebp - 0x13e], al
mov al, byte [0x1012f6d7]
xor al, 0xfc
mov byte [ebp - 0x13d], al
mov al, byte [0x1012f6d8]
xor al, 0xcf
mov byte [ebp - 0x13c], al
mov al, byte [0x1012f6d9]
xor al, 0xab
mov byte [ebp - 0x13b], al
mov al, byte [0x1012f6da]
xor al, 0xfc
mov byte [ebp - 0x13a], al
mov al, byte [0x1012f6db]
xor al, 0xcf
mov byte [ebp - 0x139], al
mov al, byte [0x1012f6dc]
xor al, 0xab
mov byte [ebp - 0x138], al
mov al, byte [0x1012f6dd]
xor al, 0xfc
mov byte [ebp - 0x137], al
mov al, byte [0x1012f6e0]
xor al, 0xfc
mov byte [ebp - 0x136], al
mov al, byte [0x1012f6e1]
xor al, 0xcf
mov byte [ebp - 0x135], al
mov al, byte [0x1012f6e2]
xor al, 0xab
mov byte [ebp - 0x134], al
mov al, byte [0x1012f6e3]
xor al, 0xfc
mov byte [ebp - 0x133], al
mov al, byte [0x1012f6e4]
xor al, 0xcf
mov byte [ebp - 0x132], al
mov al, byte [0x1012f6e5]
xor al, 0xab
mov byte [ebp - 0x131], al
mov al, byte [0x1012f6e6]
xor al, 0xfc
mov byte [ebp - 0x130], al
mov al, byte [0x1012f6e7]
xor al, 0xcf
mov byte [ebp - 0x12f], al
mov al, byte [0x1012f6e8]
xor al, 0xab
mov byte [ebp - 0x12e], al
mov al, byte [0x1012f6e9]
xor al, 0xfc
mov byte [ebp - 0x12d], al
call esi
mov dword [ebp - 0x122], eax
mov al, byte [0xe61f68]
dec al
mov byte [ebp - 0x11e], al
mov al, byte [0xe61f69]
sub al, 2
mov byte [ebp - 0x11d], al
mov al, byte [0xe61f6a]
sub al, 3
mov byte [ebp - 0x11c], al
mov al, byte [0xe61f6b]
sub al, 4
mov byte [ebp - 0x11b], al
mov al, byte [0xe61f6c]
sub al, 5
mov byte [ebp - 0x11a], al
mov eax, 0xe61f70
movups xmm0, xmmword [eax]
mov edx, 0x3b
lea ecx, [ebp - 0x144]
movups xmmword [ebp - 0x119], xmm0
call fcn.10067d00
jmp 0x1006828c
call fcn.100682c0
call esi
mov dword [0x1012f700], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10073eeb
mov esp, ebp
pop ebp
ret