Function at 0x10006bf0
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, ecx
push ebx
push esi
push edi
mov ecx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x1000757a
lea edx, [esp + 0x54]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x54]
push edx
call dword [eax + 0x24]
test eax, eax
je 0x10006cb7
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x40]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x44]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x60]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x58]
mov ecx, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__ASIO:_failed_to_obtain_number_of_channels
jmp 0x1000756a
movzx eax, word [edi]
mov ecx, 0xfffe
cmp eax, 1
je 0x10006d5c
cmp ax, cx
je 0x10006d5c
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x40]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x44]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
call fcn.100242a0
sub esp, 8
lea eax, [esp + 0x60]
movsd qword [esp], xmm0
push str._0.3lf
push 0x10
push eax
call fcn.10019b10
add esp, 0x14
lea edx, [esp + 0x58]
mov ecx, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__unknown_wFormatTag:
mov ecx, eax
call fcn.10002460
movzx ecx, word [edi]
push ecx
mov ecx, eax
call fcn.10008250
jmp 0x10007571
cmp byte [ebp + 0xc], 0
mov ebx, dword [esp + 0x50]
cmovne ebx, dword [esp + 0x54]
mov edx, dword [ebp + 0x14]
mov eax, ebx
add edx, dword [ebp + 0x10]
cmp edx, ebx
mov dword [esp + 0x3c], edx
cmovl eax, edx
mov esi, eax
mov dword [esp + 0x40], eax
sub esi, dword [ebp + 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp edx, ebx
jle 0x10006e34
lea ecx, [esp + 0x30]
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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.__WARNING:_max_requested_channel
mov ecx, eax
call fcn.10002460
push dword [esp + 0x3c]
mov ecx, eax
call fcn.10008090
mov edx, str._is_beyond_the_max_asio_channels_available
mov ecx, eax
call fcn.10002460
push ebx
mov ecx, eax
call fcn.10008090
push eax
call fcn.10002700
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add esp, 4
test esi, esi
jns 0x10006ead
lea ecx, [esp + 0x30]
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__no_valid_channels
jmp 0x1000756a
mov ebx, dword [esp + 0x4c]
sub esp, 8
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
mov eax, dword [edi + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10076cb0]
movsd qword [esp], xmm0
call edx
test eax, eax
je 0x10006f6d
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__unsupported_sample_rate:
mov ecx, eax
call fcn.10002460
push dword [edi + 4]
mov ecx, eax
call fcn.10007ed0
jmp 0x10007571
movzx eax, word [edi + 0xe]
test al, 7
je 0x10007006
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__bad_wBitsPerSample:
mov ecx, eax
call fcn.10002460
movzx ecx, word [edi + 0xe]
push ecx
mov ecx, eax
call fcn.10008250
jmp 0x10007571
cmp byte [ebp + 0xc], 0
mov eax, 0x80
mov ecx, 0x8c
cmove ecx, eax
mov eax, dword [ecx + ebx]
mov ecx, dword [ecx + ebx + 4]
sub ecx, eax
mov dword [esp + 0x4c], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x40], eax
ja 0x100074f5
test esi, esi
je 0x100074f5
mov ebx, dword [esp + 0x40]
xor ecx, ecx
test esi, esi
je 0x1000707a
mov edx, dword [ebp + 0x10]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x4c]
imul eax, eax, 0x34
mov eax, dword [eax + edx + 0x10]
mov edx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1000706d
mov ebx, eax
jmp 0x10007075
cmp eax, ebx
jne 0x100074f5
inc ecx
cmp ecx, esi
jb 0x10007054
lea eax, [ebx - 0x10]
cmp eax, 4
ja case.default.0x10007086
jmp dword [eax*4 + 0x10007590]
movzx ecx, word [edi + 0xe]
movzx eax, word [edi + 2]
shr cx, 3
movzx ecx, cx
imul ecx, eax
movzx eax, word [edi + 0xc]
movzx esi, cx
cmp ax, si
je 0x10007150
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__unexpected_nBlockAlign:
mov ecx, eax
call fcn.10002460
movzx ecx, word [edi + 0xc]
push ecx
mov ecx, eax
call fcn.10008250
mov edx, str.__expected:
mov ecx, eax
call fcn.10002460
push esi
mov ecx, eax
call fcn.10008250
jmp 0x10007571
mov esi, eax
imul esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x100071fe
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__unexpected_nAvgBytesPerSec:
mov ecx, eax
call fcn.10002460
push dword [edi + 8]
mov ecx, eax
call fcn.10007ed0
mov edx, str.__expected:
mov ecx, eax
call fcn.10002460
push esi
mov ecx, eax
call fcn.10007ed0
jmp 0x10007571
mov eax, 0xfffe
cmp word [edi], ax
jne 0x10007453
cmp word [edi + 0x10], 0x16
jb 0x10007453
lea ecx, [edi + 0x18]
mov dword [esp + 0x3c], 0xc
mov edx, ecx
mov esi, 0x100737b8
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10007245
add edx, 4
add esi, 4
sub dword [esp + 0x3c], 4
jae 0x10007230
jmp 0x1000726b
mov edx, ecx
mov dword [esp + 0x3c], 0xc
mov esi, 0x100737a8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100073d9
add edx, 4
add esi, 4
sub dword [esp + 0x3c], 4
jae 0x10007254
mov edx, 0x100737a8
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10007326
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10007275
cmp ebx, 0x13
je 0x10007326
cmp ebx, 0x14
je 0x10007326
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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.__rejecting_IEEE_Float_as_its_incompatible_with_current_ASIO_sample_type
mov ecx, eax
call fcn.10002460
mov edx, ebx
mov ecx, eax
call fcn.10025180
jmp 0x10007571
movzx eax, word [edi + 0xe]
cmp ax, word [edi + 0x12]
jae 0x10007453
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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.__wBitsPerSample:
mov ecx, eax
call fcn.10002460
movzx ecx, word [edi + 0xe]
push ecx
mov ecx, eax
call fcn.10008250
mov edx, str._is_smaller_than_wValidBitsPerSample:
mov ecx, eax
call fcn.10002460
movzx ecx, word [edi + 0x12]
push ecx
mov ecx, eax
call fcn.10008250
jmp 0x10007571
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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.__compressed_formats_are_not_supported
jmp 0x1000756a
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__ASIO_sample_type
mov ecx, eax
call fcn.10002460
mov edx, ebx
mov ecx, eax
call fcn.10025180
mov edx, str._is_not_currently_supported
jmp 0x1000756a
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movlpd qword [esp + 0x34], xmm0
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 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, 0x100824f8
call fcn.10002460
mov edx, str.__ERROR_
mov ecx, eax
call fcn.10002460
mov edx, str.__requested_channels_use_multiple_different_sample_types
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
add esp, 4
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 0x10