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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a659
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ecx, 0x100aa321
mov dword [ebp - 0x1c], 0
call fcn.10066665
cmp dword [esi + 0x18], 0
jne 0x100121ed
xor eax, eax
jmp 0x100123ff
push 0x30
call fcn.10064185
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.10002200
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 4]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x14]
mov byte [ebp - 4], 2
mov eax, dword [esi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x10012240
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov ecx, dword [eax + ecx*4]
mov eax, 1
mov dword [ebp - 0x1c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
movups xmm0, xmmword [ecx]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x28], eax
movq xmm0, qword [ecx + 0x10]
add dword [esi + 0x18], 0xffffffff
movq qword [ebp - 0x48], xmm0
movq qword [ebp - 0x30], xmm0
jne 0x1001228f
mov dword [esi + 0x14], 0
jmp 0x10012292
inc dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x40], 2
call esi
mov ecx, dword [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x34]
add ecx, 0x44
push dword [ebp - 0x38]
call fcn.10004f10
call esi
sub eax, edi
cmp eax, 0x3e8
jae 0x100122df
mov ecx, 0x3e8
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
test ecx, ecx
je 0x1001237c
cmp ecx, 0x10000
mov eax, 5
mov edx, 0xa
cmove eax, edx
inc dword [esi + 4]
mov dword [ebp - 0x3c], eax
cmp ecx, 0x10000
jne 0x10012310
or dword [esi], ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x24]
inc eax
cmp ecx, eax
ja 0x10012327
push ecx
lea ecx, [esi + 0x1c]
call fcn.10014110
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 1]
and dword [esi + 0x28], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
add ecx, dword [esi + 0x28]
dec eax
and ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], ecx
cmp dword [eax + ecx*4], 0
jne 0x1001235d
push 0x1c
call fcn.10064185
mov ecx, dword [esi + 0x20]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
movq xmm1, qword [ebp - 0x48]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
mov dword [eax + 0x18], ecx
inc dword [esi + 0x2c]
jmp 0x10012383
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
movups xmmword [edi + 0x14], xmm0
push eax
movq xmm0, qword [ebp - 0x30]
movq qword [edi + 0x24], xmm0
mov dword [edi + 0x2c], ecx
mov ecx, esi
call fcn.100127f0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x48], eax
test ecx, ecx
jne 0x100123bc
lea eax, [ecx + 0x64]
jmp 0x100123ea
movsd xmm0, qword [0x10087fa8]
mov eax, ecx
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x10088000]
divsd xmm0, xmm1
addsd xmm0, qword [0x10087f98]
cvttsd2si eax, xmm0
test ecx, ecx
sete byte [ebp - 0x4c]
movq xmm0, qword [ebp - 0x4c]
movq qword [edi + 8], xmm0
mov dword [edi + 0x10], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006413c
mov esp, ebp
pop ebp
ret