Function at 0x1000f330
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 + 0x24]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
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 + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 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
mov dword [esp + 0x28], edx
push ecx
mov ecx, edx
call fcn.1000d180
mov ecx, esi
call fcn.10024bc0
add esp, 0x18
mov edx, str._DebugWrapperAudioClient_struct_IAudioClient_::Initialize___ShareMode:
mov ecx, eax
call fcn.10002460
mov ecx, dword [ebp + 0xc]
mov esi, eax
sub ecx, 0
je 0x1000f41b
sub ecx, 1
je 0x1000f414
mov edx, 0x1007687c
jmp 0x1000f420
mov edx, str.Exclusive
jmp 0x1000f420
mov edx, str.Shared
mov ecx, esi
call fcn.10002460
mov edx, str._Flags:
mov ecx, esi
call fcn.10002460
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.100128e0
add esp, 4
mov ecx, esi
push edi
call fcn.10007ed0
mov edx, str._bufferDuration:
mov ecx, eax
call fcn.10002460
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.1000b580
add esp, 4
push 0
push 0x2710
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100621d0
push edx
push eax
mov ecx, esi
call fcn.100126e0
mov edx, str.ms_periodicity:
mov ecx, eax
call fcn.10002460
mov ebx, dword [ebp + 0x20]
mov esi, eax
mov edi, dword [ebp + 0x1c]
push 0
push 0x2710
push ebx
push edi
call fcn.100621d0
push edx
push eax
mov ecx, esi
call fcn.100126e0
mov edx, 0x10073ad8
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
mov ecx, dword [esp + 0x24]
add esp, 4
push dword [esp + 0x24]
mov ecx, dword [ecx + 8]
push dword [esp + 0x2c]
push ebx
mov eax, dword [ecx]
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [esp + 0x24]
push dword [ebp + 0xc]
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jns 0x1000f589
lea eax, [esp + 0x18]
xorps xmm0, xmm0
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 + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 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 + 0xc]
mov dword [esp + 0xc], esi
mov ecx, eax
call fcn.10024ee0
push eax
call fcn.10002700
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0x24