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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xa8], ebx
lea eax, [ebx + 4]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x118]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x124]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x128]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x13f0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x80], eax
movups xmmword [ebp - 0x18], xmm0
push edi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x70], ebx
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
mov eax, dword [eax + 0x34]
test eax, eax
je 0x101d1b8b
mov eax, dword [eax]
xor ebx, ebx
xor esi, esi
xor edi, edi
test eax, eax
je 0x101d1b62
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
je 0x101d1b56
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + edi + 0x278]
mov dword [ebp + ebx*4 - 0x28], ecx
test ebx, ebx
jne 0x101d1b2f
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
jmp 0x101d1b52
mov edx, dword [ebp - 0x70]
mov ecx, dword [edx + 0x110]
mov ecx, dword [ecx + ebx*4 - 4]
mov dword [ebp + ebx*4 - 0x48], ecx
mov ecx, dword [edx + 0x114]
test ecx, ecx
je 0x101d1b52
mov ecx, dword [ecx + ebx*4 - 4]
mov dword [ebp + ebx*4 - 0x68], ecx
inc ebx
btr eax, esi
add edi, 0x20
inc esi
cmp edi, 0x100
jb 0x101d1af1
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0xa4], eax
jmp 0x101d1bad
mov eax, dword [esi + 0x11d8]
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 1
mov eax, dword [esi]
cmp dword [eax + 0xd45c], 1
jne 0x101d1c7c
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esi + 0x1428]
push eax
call edi
lea eax, [esi + 0x1458]
push eax
call edi
mov eax, dword [esi + 0x118c]
lea ecx, [ebp - 0xa8]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x84]
movlpd qword [ebp - 0x84], xmm0
push eax
call edi
mov edx, dword [ebp - 0x78]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
movlpd qword [ebp - 0x74], xmm0
sub ecx, dword [edx + 0x1458]
sbb eax, dword [edx + 0x145c]
add dword [edx + 0x1450], ecx
adc dword [edx + 0x1454], eax
lea eax, [ebp - 0x74]
push eax
call edi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
sub ecx, dword [edx + 0x1428]
sbb eax, dword [edx + 0x142c]
add dword [edx + 0x1420], ecx
adc dword [edx + 0x1424], eax
mov al, byte [ebp - 0x90]
mov byte [ebx + 0x120], al
mov eax, esi
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 [esi + 0x118c]
lea ecx, [ebp - 0xa8]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov cl, byte [ebp - 0x90]
mov byte [ebx + 0x120], cl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4