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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007be6d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f3efc]
mov cl, byte [0x101db6f5]
movss xmm1, dword [0x1008b888]
cmp eax, 0xc8
jbe 0x1002f2fe
test cl, cl
je 0x1002f5fe
movaps xmm0, xmm1
movss dword [ebp - 0x2c], xmm1
jmp 0x1002f323
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x1008b9c4]
movss dword [ebp - 0x2c], xmm0
test cl, cl
jne 0x1002f333
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x40]
push edx
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x3c]
push edx
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x44]
push edx
push 0x8b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x48]
push edx
push 0x8d
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, dword [0x1008b87c]
call fcn.1002f050
mov eax, dword [0x610850]
movss xmm0, dword [ebp - 0x2c]
mov esi, dword [0x101db744]
mulss xmm0, dword [0x1008b9cc]
mov dword [ebp - 0x38], eax
mov eax, dword [0x610854]
mov ebx, dword [0x101db740]
cdq
sub eax, edx
mov dword [0x101f3f00], 0xa
mov ecx, eax
mov dword [0x101f3f08], 0x14
sar ecx, 1
mov eax, 0x51eb851f
imul ecx
lea eax, [ecx - 0x35]
mov dword [ebp - 0x30], ecx
sar edx, 3
mov edi, edx
mov dword [0x101f3f04], eax
shr edi, 0x1f
lea eax, [ecx - 0x1c]
add edi, edx
mov dword [ebp - 0x34], eax
sub esi, dword [0x101db738]
mov dword [0x101f3f0c], eax
cmovs esi, dword [0x101db744]
call fcn.1007b560
shl eax, 0x18
or eax, 0x6698ff
mov dword [ebp - 0x2c], eax
sub ebx, dword [0x101db738]
je 0x1002f484
mov ecx, 0x1f3
nop dword [eax]
test edi, edi
je 0x1002f484
push eax
dec edi
test esi, esi
push 0x120
cmove esi, ecx
mov ecx, dword [0x101db73c]
dec esi
push 0x101f3f00
imul eax, esi, 0xc8
mov edx, dword [ecx]
push 0xffffffffffffffff
add eax, 0x101db750
push eax
push 0
push ecx
call dword [edx + 0x38]
mov eax, dword [0x101f3f04]
mov ecx, 0x1f3
sub eax, 0x19
mov dword [0x101f3f04], eax
add eax, 0x19
mov dword [0x101f3f0c], eax
mov eax, dword [ebp - 0x2c]
sub ebx, 1
jne 0x1002f430
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101f3f04], eax
lea eax, [edi - 3]
mov dword [0x101f3f0c], eax
call esi
sub eax, dword [0x101db748]
cmp eax, 0x258
jbe 0x1002f4c1
call esi
cmp byte [0x101db6f6], 0
mov dword [0x101db748], eax
sete byte [0x101db6f6]
mov ecx, 0x101f3df0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f4e2
sub ecx, edx
push ecx
push 0x101f3df0
lea ecx, [ebp - 0x28]
call fcn.10004a90
mov dword [ebp - 4], 0
cmp byte [0x101db6f6], 0
je 0x1002f516
push 0x1008992c
lea ecx, [ebp - 0x28]
call fcn.10007a20
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [0x101db73c]
cmovae edx, dword [ebp - 0x28]
push esi
push 0x120
mov ecx, dword [eax]
push 0x101f3f00
push 0xffffffffffffffff
push edx
push 0
push eax
call dword [ecx + 0x38]
movd xmm0, dword [ebp - 0x38]
lea edx, [ebp - 0x58]
mov eax, dword [0x101f3f10]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push esi
push 2
mov dword [ebp - 0x58], 0
push edx
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp - 0x54], xmm1
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x3c]
push 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x40]
push 7
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x44]
push 0x8b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x48]
push 0x8d
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002f5fe
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f5f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f5f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
ret