Function at 0x10005e00
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
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x24]
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push eax
mov ebx, ecx
mov dword [esp + 0x34], edi
movlpd qword [esp + 0x2c], xmm0
call esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x2c]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 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, 0x100824a8
call fcn.10002460
mov edx, str.__INFO_
mov ecx, eax
call fcn.10002460
mov edx, str.AsioSharedHost::Setup___startCount:
mov ecx, eax
call fcn.10002460
push dword [ebx + 0x10]
mov ecx, eax
call fcn.10007ed0
push eax
call fcn.10002700
add esp, 4
cmp dword [ebx + 0xc], 0
jne 0x10005ecf
mov eax, 0xfffffc18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx + 0x15], 0
je 0x10006005
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x1a]
jne 0x10005f6c
mov ax, word [edi]
cmp ax, word [ebx + 0x16]
jne 0x10005f6c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebx + 0x70]
je 0x10006789
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 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.__buffer_duration_is_different_from_a_previous_call_to_Setup__.
jmp 0x10005fdc
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 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.__wave_format_is_different_from_a_previous_call_to_Setup__.
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
add esp, 4
mov eax, 0xfffffc1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x84]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x80]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100060c2
push eax
push 0
push 0
push edi
mov ecx, ebx
call fcn.10006bf0
test al, al
jne 0x100060c2
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 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.__wave_format_not_supported_on_inputs.
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
add esp, 4
jmp 0x100067a6
mov ecx, dword [ebx + 0x90]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x8c]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000616b
push eax
push 0
push 1
push edi
mov ecx, ebx
call fcn.10006bf0
test al, al
jne 0x1000616b
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 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.__wave_format_not_supported_on_outputs.
jmp 0x100060ad
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x50]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
jne 0x1000679f
movsd xmm0, qword [esp + 0x50]
sub esp, 8
movsd qword [esp], xmm0
call fcn.10040c9b
add esp, 8
cmp eax, dword [edi + 4]
je 0x10006263
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x34]
sbb eax, dword [0x100824a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 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 esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.1000b580
add esp, 4
mov edx, str.__Current_sample_rate_is
mov ecx, esi
call fcn.10002460
movsd xmm0, qword [esp + 0x50]
sub esp, 8
mov esi, eax
movsd qword [esp], xmm0
call fcn.10040c9b
add esp, 8
mov ecx, esi
push eax
call fcn.10008090
mov edx, str._which_is_not_the_expected
mov ecx, eax
call fcn.10002460
push dword [edi + 4]
mov ecx, eax
call fcn.10007ed0
jmp 0x10005fe3
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test eax, eax
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
sete al
mov byte [ebx + 0x14], al
lea eax, [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x2c]
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.__post_output_ready:
mov ecx, eax
call fcn.10002460
mov cl, byte [ebx + 0x14]
push ecx
mov ecx, eax
call fcn.10008420
push eax
call fcn.10002700
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x4c]
add esp, 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x48]
push edx
call dword [eax + 0x2c]
test eax, eax
jne 0x1000679f
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x2c], xmm0
call esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x2c]
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 esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.1000b580
add esp, 4
mov edx, str.__ASIOBufferSize___min:
mov ecx, esi
call fcn.10002460
push dword [esp + 0x3c]
mov ecx, eax
call fcn.10008090
mov edx, str._max:
mov ecx, eax
call fcn.10002460
push dword [esp + 0x40]
mov ecx, eax
call fcn.10008090
mov edx, str._preferred:
mov ecx, eax
call fcn.10002460
push dword [esp + 0x44]
mov ecx, eax
call fcn.10008090
mov edx, str._granularity:
mov ecx, eax
call fcn.10002460
push dword [esp + 0x48]
mov ecx, eax
call fcn.10008090
push eax
call fcn.10002700
mov ecx, dword [ebx + 0x90]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x8c]
add esp, 4
imul ecx
mov ecx, dword [ebx + 0x84]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x80]
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
sar edx, 4
mov edi, edx
mov dword [esp + 0x28], ecx
shr edi, 0x1f
add esi, edx
add edi, esi
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edi, edx
jae 0x1000647f
shl edi, 4
add edi, eax
mov dword [ebx + 0x78], edi
jmp 0x100064bb
jbe 0x100064bb
mov eax, dword [ebx + 0x7c]
sub eax, dword [ebx + 0x74]
sar eax, 4
cmp edi, eax
jbe 0x1000649a
push ecx
push edi
lea ecx, [ebx + 0x74]
call fcn.1000aee0
jmp 0x100064bb
sub edi, edx
je 0x100064b8
mov eax, edi
shl eax, 4
push eax
push 0
push ecx
call fcn.1003e050
mov ecx, dword [esp + 0x34]
add esp, 0xc
shl edi, 4
add ecx, edi
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebx + 0x90]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x8c]
xor esi, esi
imul ecx
xor edi, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000652a
xor ecx, ecx
mov eax, dword [ebx + 0x74]
inc esi
add eax, ecx
add ecx, 0x10
mov dword [esp + 0x28], ecx
mov dword [eax + 4], edi
inc edi
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov eax, 0x4ec4ec4f
mov ecx, dword [ebx + 0x90]
sub ecx, dword [ebx + 0x8c]
imul ecx
mov ecx, dword [esp + 0x28]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100064e0
mov ecx, dword [ebx + 0x84]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x80]
xor edi, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10006591
shl esi, 4
nop
mov eax, dword [ebx + 0x74]
add eax, esi
add esi, 0x10
mov dword [eax + 4], edi
inc edi
mov dword [eax], 1
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov eax, 0x4ec4ec4f
mov ecx, dword [ebx + 0x84]
sub ecx, dword [ebx + 0x80]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10006550
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x2c]
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.__Creating_ASIO_buffers__
mov ecx, eax
call fcn.10002460
mov ecx, dword [ebx + 0x90]
mov esi, eax
sub ecx, dword [ebx + 0x8c]
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10007ed0
mov edx, str._out_
mov ecx, eax
call fcn.10002460
mov ecx, dword [ebx + 0x84]
mov esi, eax
sub ecx, dword [ebx + 0x80]
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10007ed0
mov edx, str._in_...
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
mov edi, dword [ebx + 0xc]
add esp, 4
mov edx, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x78]
sub ecx, edx
mov eax, dword [edi]
sar ecx, 4
mov esi, dword [eax + 0x4c]
lea eax, [ebx + 0x60]
push eax
push dword [ebp + 0xc]
push ecx
push edx
mov ecx, edi
call esi
test eax, eax
je 0x10006736
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
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.__Failed_to_create_ASIO_buffers
mov ecx, eax
call fcn.10002460
push eax
call fcn.10002700
add esp, 4
mov ecx, ebx
call fcn.100075b0
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x78], eax
jmp 0x100067a6
mov eax, dword [ebp + 0xc]
mov ecx, 0xfffe
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x30]
movups xmm0, xmmword [eax]
cmp word [eax], cx
movups xmmword [ebx + 0x16], xmm0
jne 0x1000677d
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebx + 0x26], xmm0
movq xmm0, qword [eax + 0x20]
xor eax, eax
movq qword [ebx + 0x36], xmm0
mov byte [ebx + 0x15], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8
mov ax, word [eax + 0x10]
mov word [ebx + 0x26], ax
mov byte [ebx + 0x15], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.100075b0
mov ecx, dword [esp + 0x7c]
mov eax, 0xfffffc19
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret 8