Function at 0x1029d990
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16f4
call fcn.10451050
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push 0x11cd6ac8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x11cd6aa4], esi
jne 0x1029dc83
push 4
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x1029dc78
mov dword [eax], 0x1122b020
push 0x16e8
mov dword [0x11cd6aa4], eax
call fcn.10450898
add esp, 4
mov dword [0x11cd6aa8], eax
test eax, eax
je 0x1029dc68
push 0x16e8
push eax
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov esi, eax
test esi, esi
jns 0x1029da48
push dword [0x11cd6aa8]
call fcn.10450877
mov ecx, dword [0x11cd6aa4]
add esp, 4
mov dword [0x11cd6aa8], 0
test ecx, ecx
je 0x1029da39
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x11cd6aa4], 0
jmp 0x1029dc83
push 0x112370d8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x11cd6ab8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x11cd6abc]
mov ecx, dword [0x11cd6ab8]
call fcn.104511a0
mulsd xmm0, qword [0x1122d448]
mov edx, dword [0x112370dc]
mov ecx, dword [0x112370d8]
movsd qword [ebp - 0x16f4], xmm0
call fcn.104511a0
movsd xmm1, qword [ebp - 0x16f4]
lea eax, [ebp - 0x16c2]
divsd xmm1, xmm0
mov esi, dword [0x11cd6aa8]
push 0xb6
push 0
push eax
mov dword [0x11cd6aa0], esi
movsd qword [0x11cd6ac0], xmm1
call fcn.10425c00
push 0x1604
lea eax, [ebp - 0x1608]
push 0
push eax
call fcn.10425c00
movups xmm0, xmmword [0x1049b678]
add esp, 0x18
movups xmmword [ebp - 0x16ec], xmm0
test esi, esi
jne 0x1029daf0
xorps xmm1, xmm1
jmp 0x1029db43
lea eax, [ebp - 0x16f4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x16f0]
mov ecx, dword [ebp - 0x16f4]
call fcn.104511a0
mulsd xmm0, qword [0x1122d448]
mov edx, dword [0x112370dc]
mov ecx, dword [0x112370d8]
movsd qword [ebp - 0x16f4], xmm0
call fcn.104511a0
movsd xmm1, qword [ebp - 0x16f4]
divsd xmm1, xmm0
subsd xmm1, qword [0x11cd6ac0]
mov ax, word [0x10455de8]
movq xmm0, qword [0x10455de0]
mov word [ebp - 0x16c4], ax
lea eax, [ebx + 0xadb7]
movsd qword [ebp - 0x16dc], xmm1
mov dword [ebp - 0x16d4], 0xdb1e
mov dword [ebp - 0x16d0], 0
movq qword [ebp - 0x16cc], xmm0
test eax, eax
je 0x1029dbb3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x168c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x167c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x166c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x165c], xmm0
jmp 0x1029dbd6
push 0x40
lea eax, [ebp - 0x168c]
push 0
push eax
call fcn.10425c00
add esp, 0xc
call fcn.1043a2d6
mov dword [eax], 0x16
call fcn.1043a1d8
lea eax, [ebp - 0x14e4]
push 0x14e0
test edi, edi
je 0x1029dbf1
push edi
push eax
call fcn.10425d60
add esp, 0xc
jmp 0x1029dc0c
push 0
push eax
call fcn.10425c00
add esp, 0xc
call fcn.1043a2d6
mov dword [eax], 0x16
call fcn.1043a1d8
mov ecx, dword [ebp - 0x14ec]
mov eax, dword [ebx + 0x36dc]
xor eax, ecx
mov dword [ebp - 0x160c], 0
movzx eax, al
xor ecx, eax
mov dword [ebp - 0x14ec], ecx
test esi, esi
jne 0x1029dc4f
call fcn.1043a2d6
mov dword [eax], 0x16
call fcn.1043a1d8
mov esi, 0x80004005
call fcn.1029dda0
jmp 0x1029dc83
push 0x16e8
lea eax, [ebp - 0x16ec]
push eax
push esi
call fcn.10425d60
add esp, 0xc
xor esi, esi
jmp 0x1029dc83
mov ecx, dword [0x11cd6aa4]
test ecx, ecx
je 0x1029dc78
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x11cd6aa4], esi
mov esi, 0x8007000e
push 0x11cd6ac8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc