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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], ebx
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
mov edx, dword [ebx + 0x5e0]
movlpd qword [ebp - 0x74], xmm0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [edx + 0x44]
push edi
mov dword [ebp - 0x54], 0
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx + 0x74]
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x78], ecx
cmp dword [ecx + 0xc], 0x10
cmovne eax, ecx
cmp dword [ebx + 0x254], 0
mov dword [ebp - 0x60], eax
jbe 0x101c77cb
mov dword [ebp - 0x50], 0
lea edi, [ebx + 0x24]
xor esi, esi
lea eax, [ebp - 0x4c]
push 0x40
push esi
push eax
mov dword [ebp - 0x74], esi
call fcn.10425c00
mov ebx, dword [edi]
add esp, 0xc
xor eax, eax
test ebx, ebx
je 0x101c768c
mov edx, dword [edi - 0xc]
mov ecx, dword [edx + eax*8]
test ecx, ecx
je 0x101c7687
test byte [edx + eax*8 + 4], 1
je 0x101c7687
mov dword [ebp + esi*4 - 0x4c], ecx
inc esi
mov dword [ebp - 0x74], esi
inc eax
cmp eax, ebx
jb 0x101c7671
mov ebx, dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
test byte [ebx + 0x604], 2
je 0x101c76aa
mov eax, dword [ecx + ebx + 0x388]
jmp 0x101c76b1
mov eax, dword [ecx + ebx + 0x278]
push dword [ebp - 0x60]
mov dword [ebp - 0x9c], eax
lea edx, [edi + 0x24]
mov eax, dword [ebx + ecx + 0x290]
mov ecx, dword [ebx + ecx + 0x294]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x5e0]
mov dword [ebp - 0x90], ecx
push edx
push esi
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x74], 0
je 0x101c770c
push 0x80
push 0
push dword [edi - 0xc]
mov dword [edi], 1
call fcn.10425c00
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [edi + 0x24], xmm0
mov esi, dword [ebx]
mov eax, dword [esi]
cmp dword [eax + 0xd45c], 1
jne 0x101c777c
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x117c]
lea ecx, [ebp - 0x9c]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x6c]
movlpd qword [ebp - 0x6c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0x68]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [ebp - 0x58]
jmp 0x101c779a
mov eax, dword [esi + 0x117c]
lea ecx, [ebp - 0x9c]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
test eax, eax
js 0x101c77ce
mov ecx, dword [ebp - 0x54]
add edi, 0x48
add dword [ebp - 0x50], 0x20
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, dword [ebx + 0x254]
jb 0x101c7652
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4