Function at 0x10010800
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
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 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, [edi + 0xc]
mov edx, esp
mov esi, eax
mov dword [esp + 0x38], edx
push ecx
mov ecx, edx
call fcn.1000d180
mov ecx, esi
call fcn.10024bc0
mov edx, str._DebugWrapperAudioClient_struct_IAudioClient2_::QueryInterface
mov ecx, eax
call fcn.10002460
mov edx, str._riid:
mov ecx, eax
call fcn.10002460
mov edx, ebx
mov ecx, eax
call fcn.100247b0
push eax
call fcn.10002700
add esp, 0x1c
mov esi, 0x80004003
cmp dword [esp + 0x14], 0
je 0x10010a2a
mov ecx, ebx
mov edx, 0x1007463c
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001091a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100108f6
mov eax, dword [esp + 0x14]
push edi
mov dword [eax], edi
mov eax, dword [edi]
call dword [eax + 4]
xor esi, esi
jmp 0x10010abf
mov ecx, ebx
mov edx, 0x1007462c
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010958
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010926
mov ecx, dword [edi + 8]
push dword [esp + 0x14]
push ebx
mov eax, dword [ecx]
push ecx
call dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
mov edx, 0x10073778
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10010988
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010964
mov eax, dword [esp + 0x14]
push edi
mov dword [eax], edi
mov eax, dword [edi]
call dword [eax + 4]
xor esi, esi
jmp 0x10010abf
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call edi
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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.ComBaseUnknown_struct_IAudioClient2_::QueryInterface
mov ecx, eax
call fcn.10002460
mov edx, str.___interface_not_found__riid:
mov ecx, eax
call fcn.10002460
mov edx, ebx
mov ecx, eax
call fcn.100247b0
push eax
call fcn.10002700
add esp, 4
mov esi, 0x80004002
jmp 0x10010a30
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call edi
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
mov edx, str.__hr:
mov ecx, eax
call fcn.10002460
lea edx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov ecx, eax
call fcn.10024ee0
push eax
call fcn.10002700
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0xc