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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x1007f098]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x60], eax
cmp dword [ebx + 0x24], 3
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], eax
jae 0x10014c68
lea eax, [esp + 0x48]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x48]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x4c]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x74]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x6c]
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
mov edx, str._DebugWrapperCaptureClient::GetBuffer
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
mov ecx, dword [ebx + 8]
add esp, 0x1c
push dword [esp + 0x60]
mov eax, dword [ecx]
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x68]
push edi
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
js 0x10014d23
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x60]
mov ecx, dword [ebx + 8]
push dword [esp + 0x68]
push esi
mov eax, dword [ecx]
push edx
push edi
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jns 0x10014db8
lea eax, [esp + 0x48]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x48]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x4c]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x74]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x6c]
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
mov edx, str._DebugWrapperCaptureClient::GetBuffer
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
add esp, 0x1c
lea eax, [esp + 0x48]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x48]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x4c]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x74]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x6c]
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 + 0x5c]
mov dword [esp + 0x5c], edi
mov ecx, eax
call fcn.10024ee0
push eax
call fcn.10002700
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0x18