Function at 0x1010d110
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 0x1010d169
jb 0x1010d130
cmp ebx, dword [esi + 0x28]
jae 0x1010d169
mov ecx, dword [esi + 0x14]
mov word [esi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x1010d151
lea ecx, [esi + 0x14]
call fcn.1010d580
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.1010d0b0
mov ecx, esi
call fcn.1010d030
cmp dword [esi + 0x34], 2
jbe 0x1010d1ed
mov ebx, dword [esi + 0x30]
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov eax, dword [ebx]
cmp eax, ebx
je 0x1010d1ea
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
nop dword [eax]
add edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
adc edi, dword [eax + 0x14]
or ecx, dword [eax + 0xc]
jne 0x1010d1ea
test edi, edi
ja 0x1010d1b1
jb 0x1010d1a9
cmp edx, dword [esi + 4]
ja 0x1010d1b1
mov eax, dword [eax]
cmp eax, ebx
jne 0x1010d190
jmp 0x1010d1ea
mov ecx, dword [esi + 0x14]
mov word [esi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x1010d1d2
lea ecx, [esi + 0x14]
call fcn.1010d580
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.1010d0b0
mov ecx, esi
call fcn.1010d030
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
cmp edx, ecx
jb 0x1010d206
ja 0x1010d200
mov eax, dword [ebp + 8]
cmp ebx, eax
jbe 0x1010d209
mov eax, ebx
mov ecx, edx
jmp 0x1010d209
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0x28]
cmp edx, dword [esi + 0x2c]
ja 0x1010d21c
jb 0x1010d217
cmp ebx, edi
jae 0x1010d21c
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 0x1010d258
lea ecx, [esi + 0x14]
call fcn.1010d580
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x1010d269
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.101016b0
mov edx, eax
mov ecx, 0xaaaaaa9
mov eax, dword [esi + 0x34]
sub ecx, eax
cmp ecx, 1
jae 0x1010d2ce
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 0x1010d305
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.101177a0
mov eax, dword [esi + 0x34]
add esp, 8
cmp eax, 2
jbe 0x1010d37a
mov ecx, dword [esi + 0x30]
xor dl, dl
xorps xmm0, xmm0
mov byte [esp + 0xf], dl
movlpd qword [esp + 0x18], xmm0
mov eax, dword [ecx]
cmp eax, ecx
je 0x1010d37a
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
nop
test dl, dl
jne 0x1010d34e
add ebx, dword [eax + 0x10]
adc ecx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
test ecx, ecx
jb 0x1010d383
ja 0x1010d349
cmp ebx, dword [esi + 8]
jbe 0x1010d383
mov byte [esp + 0xf], 1
mov ecx, dword [eax + 4]
mov edi, dword [eax]
push 0x18
push eax
mov dword [ecx], edi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [esi + 0x34]
call fcn.101177a0
mov ecx, dword [esp + 0x18]
add esp, 8
mov dl, byte [esp + 0xf]
mov eax, edi
cmp eax, dword [esi + 0x30]
jne 0x1010d330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [eax]
jmp 0x1010d375