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

Disassembly:
push 0x20c
mov eax, 0x103179bf
call fcn.1027911b
mov edi, ecx
mov esi, dword [ebp + 8]
mov bl, byte [ebp + 0xc]
mov byte [ebp - 0x204], bl
test byte [esi + 0x10f], 2
jne 0x10062008
mov al, 1
jmp 0x100624be
or byte [esi + 0x10e], 0x10
and dword [ebp - 0x218], 0
and dword [ebp - 0x214], 0
cmp dword [edi + 0x70], 0
je 0x10062030
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and dword [ebp - 0x200], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x200]
push eax
push 1
push esi
mov ecx, edi
call fcn.1005eb06
cmp dword [ebp - 0x200], 0
je 0x10062515
mov cl, byte [esi + 0x10e]
xor eax, eax
test bl, bl
lea ebx, [esi + 0x28]
sete al
imul eax, eax, 0x5c
add ebx, eax
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1f4], eax
test cl, 1
je 0x10062091
push 0
push dword [edi + 0x34]
push 1
push eax
call fcn.1005f6d6
jmp 0x10062096
test cl, 0x20
je 0x100620bd
push dword [edi + 0x34]
mov ecx, esi
push dword [ebp - 0x204]
call fcn.1005e846
push 5
pop ecx
push 7
pop edx
test al, al
cmovne ecx, edx
push ecx
push dword [ebp - 0x1f4]
call fcn.10050af5
test byte [esi + 0x10c], 4
je 0x1006242a
and dword [ebp - 0x1f4], 0
push dword [edi + 0x34]
mov byte [ebp - 4], 1
call fcn.1004b9a5
push 0
lea ecx, [ebp - 0x1f4]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x10062500
movd xmm0, dword [ebx + 0x24]
sub esp, 0xc
mov eax, dword [ecx]
cvtdq2pd xmm0, xmm0
and dword [esp + 8], 0
movsd qword [esp], xmm0
call dword [eax + 8]
movd xmm0, dword [ebx + 0x28]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f4]
cvtdq2pd xmm0, xmm0
and dword [esp + 8], 0
mov eax, dword [ecx]
movsd qword [esp], xmm0
call dword [eax + 0xc]
mov eax, dword [ebx + 0x2c]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f4]
neg eax
mov dword [esp + 8], 0x3f800000
mov edx, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [edx + 0x10]
mov eax, dword [ebx + 0x30]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f4]
neg eax
mov dword [esp + 8], 0x3f800000
mov edx, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [edx + 0x14]
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [esi + 0x18]
call fcn.100ab916
mov ecx, dword [esi + 0x14]
push dword [ebp - 0x1f4]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test al, al
je 0x100624fa
push 0x1005d1a2
push 0x1005cd3b
push 5
push 0x60
lea eax, [ebp - 0x1f0]
push eax
call fcn.102799d2
test byte [esi + 0x10c], 2
mov byte [ebp - 4], 2
jne 0x100623f6
test dword [ebx + 0x50], 0x1000000
je 0x100621ea
test byte [ebx + 0x54], 0x40
jne 0x100623f6
push 5
lea eax, [ebp - 0x1f0]
mov ecx, edi
push eax
lea eax, [ebx + 0x24]
push eax
push ebx
call fcn.1005d472
mov dword [ebp - 0x204], eax
test eax, eax
je 0x100623f6
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
push edx
push ecx
mov ecx, dword [edi + 0x68]
call fcn.100838e3
mov ebx, eax
test ebx, ebx
je 0x100624e1
push ebx
push 1
push esi
lea ecx, [ebp - 0x210]
call fcn.1005cc2f
push 2
push ebx
push esi
call fcn.1005e524
test al, al
jne 0x10062250
or byte [esi + 0x10c], 8
lea ecx, [ebp - 0x210]
call fcn.1005d093
push dword [ebp - 0x204]
lea eax, [ebp - 0x1f0]
mov ecx, edi
push eax
push ebx
push esi
call fcn.1005eb7e
test al, al
je 0x100624e1
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x204], 0
jbe 0x100623f6
lea ebx, [ebp - 0x198]
xor ecx, ecx
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 3
cmp dword [ebx], ecx
je 0x100622c2
mov ecx, dword [esi + 0x14]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x90]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10038c76
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
sete al
mov byte [ebp - 0x1f9], al
test al, al
je 0x100622f7
push dword [edi + 0x34]
call fcn.1004b9a5
push 0
lea ecx, [ebp - 0x1f8]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x100624cc
movsd xmm0, qword [ebx - 0x20]
sub esp, 0xc
mov eax, dword [ecx]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movsd xmm0, qword [ebx - 0x40]
movsd qword [esp], xmm0
call dword [eax + 8]
movsd xmm0, qword [ebx - 0x18]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f8]
cvtpd2ps xmm0, xmm0
mov eax, dword [ecx]
movss dword [esp + 8], xmm0
movsd xmm0, qword [ebx - 0x38]
movsd qword [esp], xmm0
call dword [eax + 0xc]
movsd xmm0, qword [ebx - 0x10]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f8]
cvtpd2ps xmm0, xmm0
mov eax, dword [ecx]
movss dword [esp + 8], xmm0
movsd xmm0, qword [ebx - 0x30]
movsd qword [esp], xmm0
call dword [eax + 0x10]
movsd xmm0, qword [ebx - 8]
sub esp, 0xc
mov ecx, dword [ebp - 0x1f8]
cvtpd2ps xmm0, xmm0
mov eax, dword [ecx]
movss dword [esp + 8], xmm0
movsd xmm0, qword [ebx - 0x28]
movsd qword [esp], xmm0
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x1f8]
push 0
push dword [ebx - 0x48]
mov eax, dword [ecx]
call dword [eax + 0x94]
cmp byte [ebp - 0x1f9], 0
je 0x100623bf
mov ecx, dword [esi + 0x14]
push dword [ebp - 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test al, al
je 0x100624c6
mov ecx, dword [ebp - 0x1f8]
and dword [ebp - 0x1f8], 0
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100623da
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x208]
add ebx, 0x60
inc eax
mov dword [ebp - 0x208], eax
cmp eax, dword [ebp - 0x204]
jb 0x10062293
push 0x1005d1a2
push 5
push 0x60
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 1
push eax
call fcn.102797ac
mov ecx, dword [ebp - 0x1f4]
and dword [ebp - 0x1f4], 0
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1006242a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
push 0
push dword [ebp - 0x200]
mov eax, dword [ecx]
call dword [eax + 0x94]
test byte [esi + 0x10d], 0x40
je 0x1006244e
push esi
mov ecx, edi
call fcn.1005ee01
cmp dword [edi + 0x70], 0
je 0x10062492
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
and dword [ebp - 0x208], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x20c]
sub edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x208]
sbb eax, dword [ebp - 0x214]
mov ecx, dword [edi + 0x70]
push eax
push edx
push esi
call fcn.100b364e
mov ecx, edi
call fcn.1005e110
mov bl, al
neg bl
sbb bl, bl
inc bl
mov eax, dword [ebp - 0x200]
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x200], 0
test eax, eax
je 0x100624bc
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov al, bl
call fcn.102790cd
ret 8
mov ecx, dword [ebp - 0x1f8]
and dword [ebp - 0x1f8], 0
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100624e1
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push 0x1005d1a2
push 5
push 0x60
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 1
push eax
call fcn.102797ac
mov ecx, dword [ebp - 0x1f4]
and dword [ebp - 0x1f4], 0
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10062515
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor bl, bl
jmp 0x100624a1