Function at 0x10023590
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 + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x20], esi
movlpd qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x14]
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.DebugDeviceEnum::EnumAudioEndpoints___dataFlow:
mov ecx, eax
call fcn.10002460
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10023641
mov edx, str.eRender
jmp 0x1002365d
cmp edi, 1
jne 0x1002364d
mov edx, str.eCapture
jmp 0x1002365d
cmp edi, 2
mov edx, str.eAll
mov ecx, 0x100765dc
cmovne edx, ecx
mov ecx, eax
call fcn.10002460
mov edx, str.___dwStateMask:
mov ecx, eax
call fcn.10002460
push dword [esp + 0x28]
mov ecx, eax
call fcn.10007ed0
push eax
call fcn.10002700
add esp, 4
cmp byte [ebx + 8], 0
je 0x10023691
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
test esi, esi
jne 0x100236a3
mov edi, dword [esp + 0x1c]
mov esi, 0x80004003
jmp 0x10023738
push 0x18
call fcn.1003c0b8
mov esi, eax
xorps xmm0, xmm0
mov dword [esp + 0x14], esi
add esp, 4
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 4], 1
mov dword [esi], vtable.RSDeviceCollection.0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test edi, edi
je 0x100236f0
cmp edi, 2
jne 0x100236fd
push 0
lea eax, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.1001f610
cmp edi, 1
je 0x10023707
cmp edi, 2
jne 0x10023714
push 0
lea eax, [ebx + 0x24]
mov ecx, esi
push eax
call fcn.1001f610
mov ecx, dword [esp + 0x28]
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_2c9a494813ab218ca91439efe700a1bf___bool__struct_IMMDevice__.0
mov dword [eax + 0x24], eax
call fcn.1001f7e0
mov edi, dword [esp + 0x1c]
mov dword [edi], esi
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x14], xmm0
call ebx
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x14]
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 + 0x1c]
mov dword [esp + 0x1c], esi
mov ecx, eax
call fcn.10024ee0
push eax
call fcn.10002700
add esp, 4
test edi, edi
je 0x1002385e
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x14], xmm0
call ebx
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x100824a0]
mov eax, dword [esp + 0x14]
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.__ppDevices:
mov ecx, eax
call fcn.10002460
push dword [edi]
mov ecx, eax
call fcn.1001a270
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 0x10