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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x14]
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
cmp eax, dword [esi + 0x2c]
ja 0x100be329
jb 0x100be2f0
cmp ebx, dword [esi + 0x28]
jae 0x100be329
mov ecx, dword [esi + 0x14]
mov word [esi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x100be311
lea ecx, [esi + 0x14]
call fcn.100c9630
add dword [esi + 0x18], eax
mov ecx, dword [esi + 0x14]
adc dword [esi + 0x1c], edx
lea eax, [ecx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, esi
call fcn.100be230
mov ecx, esi
call fcn.100be1b0
cmp dword [esi + 0x34], 2
jbe 0x100be3ad
mov ecx, dword [esi + 0x30]
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov eax, dword [ecx]
cmp eax, ecx
je 0x100be3ad
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
nop dword [eax]
add edi, dword [eax + 0x10]
mov edx, dword [eax + 8]
adc ebx, dword [eax + 0x14]
or edx, dword [eax + 0xc]
jne 0x100be3aa
test ebx, ebx
ja 0x100be371
jb 0x100be369
cmp edi, dword [esi + 4]
ja 0x100be371
mov eax, dword [eax]
cmp eax, ecx
jne 0x100be350
jmp 0x100be3aa
mov ecx, dword [esi + 0x14]
mov word [esi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x100be392
lea ecx, [esi + 0x14]
call fcn.100c9630
add dword [esi + 0x18], eax
mov ecx, dword [esi + 0x14]
adc dword [esi + 0x1c], edx
lea eax, [ecx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, esi
call fcn.100be230
mov ecx, esi
call fcn.100be1b0
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
cmp edx, ecx
jb 0x100be3c6
ja 0x100be3c0
mov eax, dword [ebp + 8]
cmp ebx, eax
jbe 0x100be3c9
mov eax, ebx
mov ecx, edx
jmp 0x100be3c9
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0x28]
cmp edx, dword [esi + 0x2c]
ja 0x100be3dc
jb 0x100be3d7
cmp ebx, edi
jae 0x100be3dc
mov edx, dword [esi + 0x2c]
mov ebx, edi
mov dword [esi + 0x24], ecx
mov ecx, ebx
sub ecx, edi
mov dword [esi + 0x20], eax
mov dword [esp + 0x18], ecx
mov eax, edx
sbb eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edx
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x100be418
lea ecx, [esi + 0x14]
call fcn.100c9630
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x100be429
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add dword [esi + 0x18], eax
lea eax, [ecx + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
adc dword [esi + 0x1c], edx
push eax
call ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [esi + 0x14]
add eax, 8
push eax
call ebx
mov eax, dword [esi + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [esi + 0x30]
mov edi, dword [eax]
lea eax, [esp + 0x18]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.100be870
mov edx, eax
mov ecx, 0xaaaaaa9
mov eax, dword [esi + 0x34]
sub ecx, eax
cmp ecx, 1
jae 0x100be48e
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [esi + 0x34], eax
mov dword [edi + 4], edx
mov dword [ebx], edx
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0xc]
jbe 0x100be4c5
mov eax, dword [esi + 0x30]
push 0x18
mov edx, dword [eax + 4]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [esi + 0x34]
call fcn.101b079d
mov eax, dword [esi + 0x34]
add esp, 8
cmp eax, 2
jbe 0x100be53a
mov eax, dword [esi + 0x30]
xor dl, dl
xorps xmm0, xmm0
mov byte [esp + 0xf], dl
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [eax]
cmp ecx, eax
je 0x100be53a
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
nop
test dl, dl
jne 0x100be50e
add ebx, dword [ecx + 0x10]
adc eax, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
jb 0x100be543
ja 0x100be509
cmp ebx, dword [esi + 8]
jbe 0x100be543
mov byte [esp + 0xf], 1
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
push 0x18
push ecx
mov dword [eax], edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
dec dword [esi + 0x34]
call fcn.101b079d
mov eax, dword [esp + 0x18]
add esp, 8
mov dl, byte [esp + 0xf]
mov ecx, edi
cmp ecx, dword [esi + 0x30]
jne 0x100be4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx]
jmp 0x100be535