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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x1007f098]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x28], edi
cmp eax, 3
jae 0x10014ed1
inc eax
xorps xmm0, xmm0
mov dword [ebx + 0x24], eax
lea eax, [esp + 0x18]
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x1c]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x34]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x2c]
mov ecx, 0x100824a8
call fcn.10002460
mov edx, str.__INFO_
mov ecx, eax
call fcn.10002460
sub esp, 0x18
lea ecx, [ebx + 0xc]
mov edx, esp
mov esi, eax
push ecx
mov ecx, edx
call fcn.1000d180
mov ecx, esi
call fcn.10024bc0
add esp, 0x18
mov edx, str._DebugWrapperCaptureClient::ReleaseBuffer_NumFramesRead:
mov ecx, eax
call fcn.10002460
push edi
mov ecx, eax
call fcn.10007ed0
push eax
call fcn.10002700
mov ecx, dword [ebx + 8]
add esp, 4
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
js 0x10014f90
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 8]
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jns 0x10015025
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x34]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x2c]
mov ecx, 0x100824a8
call fcn.10002460
mov edx, str.__INFO_
mov ecx, eax
call fcn.10002460
sub esp, 0x18
lea ecx, [ebx + 0xc]
mov edx, esp
mov esi, eax
push ecx
mov ecx, edx
call fcn.1000d180
mov ecx, esi
call fcn.10024bc0
add esp, 0x18
mov edx, str._DebugWrapperCaptureClient::ReleaseBuffer_NumFramesRead:
mov ecx, eax
call fcn.10002460
push dword [esp + 0x28]
mov ecx, eax
call fcn.10007ed0
push eax
call fcn.10002700
add esp, 4
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x34]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x2c]
mov ecx, 0x100824a8
call fcn.10002460
mov edx, str.__INFO_
mov ecx, eax
call fcn.10002460
mov edx, str.__hr:
mov ecx, eax
call fcn.10002460
lea edx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov ecx, eax
call fcn.10024ee0
push eax
call fcn.10002700
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8