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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x11c0]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x101e50ea
cmp dword [ebp + 8], 0
jne 0x101e4dd1
push 0x40
xor edi, edi
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.10425c00
mov ebx, dword [esi + 0x90]
add esp, 0xc
test ebx, ebx
je 0x101e4dd1
lea edx, [esi + 0x50]
mov ecx, dword [edx]
test ecx, ecx
je 0x101e4dae
mov eax, dword [ecx + 0x20c]
mov eax, dword [eax + 0x2ac]
test eax, eax
jne 0x101e4da9
mov ecx, dword [ecx + 0x210]
test ecx, ecx
je 0x101e4da9
mov eax, dword [ecx + 0x2ac]
mov dword [ebp + edi*4 - 0x4c], eax
inc edi
add edx, 4
sub ebx, 1
jne 0x101e4d83
test edi, edi
je 0x101e4dd1
mov ecx, dword [ebp - 0x188]
lea eax, [esi + 0x98]
push eax
push edi
lea eax, [ebp - 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
cmp dword [esi + 0x6b8], 0
je 0x101e50be
mov edx, dword [esi + 8]
mov dword [ebp - 0x188], 0
cmp dword [edx + 0x254], 0
jbe 0x101e50be
mov ecx, dword [0x11d0c5b8]
lea edi, [esi + 0x298]
mov eax, dword fs:[0x2c]
lea ebx, [esi + 0x698]
mov dword [ebp - 0x18c], edi
lea eax, [eax + ecx*4]
mov dword [ebp - 0x180], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x184], ecx
nop
mov edi, dword [ebx]
test edi, edi
je 0x101e5084
cmp byte [esi + 0x6bc], 0
je 0x101e4f4e
cmp dword [ebp + 8], 0
jne 0x101e4f43
push 0x50
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10425c00
mov eax, dword [esi + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x184]
mov eax, dword [eax + ecx + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x17c]
add eax, 0x98
mov dword [ebp - 0x58], edi
add eax, esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x180]
mov edi, dword [eax]
cmp byte [edi + 8], 0
jne 0x101e4ea3
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov edi, dword [eax + 0xbe2c]
mov eax, dword [edi]
cmp dword [eax + 0xd45c], 1
jne 0x101e4f23
lea eax, [edi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi + 0x1114]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
lea eax, [ebp - 0x194]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x194], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x194]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x190]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x101e5084
mov eax, dword [edi + 0x1114]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
jmp 0x101e5084
sub dword [esi + 0x6b8], edi
jmp 0x101e507e
mov eax, dword [ebp - 0x180]
add ecx, 0x10
add ecx, edx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x190], ecx
mov eax, dword [eax]
mov al, byte [eax + 8]
mov byte [ebp - 0x175], al
jne 0x101e4ff9
push 0x88
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.10425c00
mov eax, dword [ebp - 0x190]
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
lea eax, [edi*4]
push eax
mov eax, dword [ebp - 0x17c]
add eax, 0x98
mov dword [ebp - 0xe0], edi
add eax, esi
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10425d60
add esp, 0xc
cmp byte [ebp - 0x175], 0
jne 0x101e4fd4
call fcn.10450c0b
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xbe2c]
call fcn.101d2250
jmp 0x101e5084
push 0x8c
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.10425c00
mov eax, dword [ebp - 0x190]
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x174], eax
lea eax, [edi*4]
push eax
mov eax, dword [ebp - 0x17c]
add eax, 0x98
mov dword [ebp - 0x170], edi
add eax, esi
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.10425d60
add esp, 0xc
cmp byte [ebp - 0x175], 0
jne 0x101e5056
call fcn.10450c0b
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xbe2c]
call fcn.101d23b0
mov eax, dword [ebx]
sub dword [esi + 0x6b8], eax
mov dword [ebx], 0
mov eax, dword [ebp - 0x188]
add ebx, 4
mov edx, dword [esi + 8]
inc eax
add dword [ebp - 0x184], 0x48
sub dword [ebp - 0x18c], 0xffffff80
add dword [ebp - 0x17c], 0x40
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
cmp eax, dword [edx + 0x254]
jb 0x101e4e30
cmp dword [ebp + 8], 1
jne 0x101e50ea
cmp byte [ebp + 0x10], 0
jne 0x101e50ea
xorps xmm0, xmm0
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x60], xmm0
movups xmmword [esi + 0x70], xmm0
movups xmmword [esi + 0x80], xmm0
mov dword [esi + 0x90], 0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc