Function at 0x140035e40
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rsi, rcx
xor edi, edi
mov r14d, edi
call fcn.140009e20
mov rcx, rax
call fcn.14006b4e0
call fcn.140009e20
cmp dword [rax + 0x138], edi
jne 0x140035ed2
cmp dword [0x140103eac], edi
je 0x140035ed2
cmp dword [0x140103ea8], edi
jne 0x140035eb9
mov rax, qword [0x1400ff930]
test byte [rax + 0x1c], 1
je 0x140035ed2
mov r8d, 0x3b
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.1400430e0
call fcn.140009e20
mov rbx, qword [rax + 0xd8]
test rbx, rbx
je 0x140035f16
call fcn.140009e20
call fcn.140009e20
test rbx, rbx
je 0x1400367d3
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140035ede
cmp dword [rcx + 0x184], 1
jne 0x140035ede
cmp dword [rcx + 0x15c], edi
je 0x140035ede
mov r14, rcx
call fcn.140009e20
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x140035f3b
mov rcx, qword [rax + 0x148]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140035f59
cmp ecx, 0x32
jle 0x140035f59
mov r8d, 0x81
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.1400430e0
test r14, r14
je 0x14003679b
mov ecx, 0x38
call fcn.14009255c
mov qword [rbp + 0x80], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [r14 + 0x174]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1400c00e8]
movaps xmmword [rbp - 0x10], xmm1
mov dword [rsp + 0x20], edi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140055bc0
nop
mov qword [rsi + 0x86d8], rax
test rax, rax
je 0x140035fd1
cmp dword [rax], 0
je 0x140036239
mov r8d, LPSAFEARRAY_UserFree
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_GUID_1_ppApi_fail
call fcn.1400430e0
mov rcx, qword [rsi + 0x86d8]
test rcx, rcx
je 0x140035ffb
call fcn.1400367e0
mov ecx, 0x38
call fcn.14009255c
mov qword [rbp + 0x80], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [r14 + 0x174]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [0x1400c00d8]
movaps xmmword [rbp + 0x10], xmm1
mov dword [rsp + 0x20], edi
lea r8, [rbp]
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.140055bc0
nop
mov qword [rsi + 0x86d8], rax
test rax, rax
je 0x14003606a
cmp dword [rax], 0
je 0x140036239
mov r8d, 0x128
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_GUID_2_ppApi_fail
call fcn.1400430e0
mov rcx, qword [rsi + 0x86d8]
test rcx, rcx
je 0x140036094
call fcn.1400367e0
mov ecx, 0x38
call fcn.14009255c
mov qword [rbp + 0x80], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [r14 + 0x174]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [0x1400c00a8]
movaps xmmword [rbp + 0x30], xmm1
mov dword [rsp + 0x20], edi
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140055bc0
nop
mov qword [rsi + 0x86d8], rax
test rax, rax
je 0x140036103
cmp dword [rax], 0
je 0x140036239
mov r8d, 0x12e
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_GUID_3_ppApi_fail
call fcn.1400430e0
mov rcx, qword [rsi + 0x86d8]
test rcx, rcx
je 0x14003612d
call fcn.1400367e0
mov ecx, 0x38
call fcn.14009255c
mov qword [rbp + 0x80], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [r14 + 0x174]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [0x1400c0098]
movaps xmmword [rbp + 0x50], xmm1
mov dword [rsp + 0x20], edi
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.140055bc0
nop
mov qword [rsi + 0x86d8], rax
test rax, rax
je 0x14003619c
cmp dword [rax], 0
je 0x140036239
mov r8d, 0x134
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_GUID_4_ppApi_fail
call fcn.1400430e0
mov rcx, qword [rsi + 0x86d8]
test rcx, rcx
je 0x1400361c6
call fcn.1400367e0
mov ecx, 0x38
call fcn.14009255c
mov qword [rbp + 0x80], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [r14 + 0x174]
movaps xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [0x1400c00c8]
movaps xmmword [rbp + 0x70], xmm1
mov dword [rsp + 0x20], edi
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140055bc0
nop
mov qword [rsi + 0x86d8], rax
test rax, rax
je 0x140036782
cmp dword [rax], 0
jne 0x140036782
mov dword [rsp + 0x44], 1
mov byte [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x44]
xor edx, edx
mov rcx, rax
call fcn.140055dc0
test eax, eax
jns 0x140036271
mov r8d, 0x15f
lea rcx, str._s__d_SetModuleParameter_Id_0_fail
jmp 0x14003678f
mov dword [rsp + 0x48], edi
mov byte [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 - 3]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x1400362ab
mov r8d, 0x166
lea rcx, str._s__d_SetModuleParameter_Id_1_fail
jmp 0x14003678f
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, rsi
call fcn.1400368e0
test eax, eax
jne 0x1400362d2
mov r8d, 0x16d
lea rcx, str._s__d_SetModuleParameter_Id_3_4_16_17_3__fail
jmp 0x14003678f
mov edx, 4
lea r8d, [rdx - 3]
mov rcx, rsi
call fcn.1400368e0
test eax, eax
jne 0x1400362f9
mov r8d, 0x174
lea rcx, str._s__d_SetModuleParameter_Id_3_4_16_17_4__fail
jmp 0x14003678f
mov edx, 0x10
lea r8d, [rdx - 0xf]
mov rcx, rsi
call fcn.1400368e0
test eax, eax
jne 0x140036320
mov r8d, 0x17b
lea rcx, str._s__d_SetModuleParameter_Id_3_4_16_17_16__fail
jmp 0x14003678f
mov edx, 0x11
lea r8d, [rdx - 0x10]
mov rcx, rsi
call fcn.1400368e0
test eax, eax
jne 0x140036347
mov r8d, 0x182
lea rcx, str._s__d_SetModuleParameter_Id_3_4_16_17_17__fail
jmp 0x14003678f
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x50]
lea edx, [r9 + 1]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x140036382
mov r8d, 0x189
lea rcx, str._s__d_SetModuleParameter_Id_9_fail
jmp 0x14003678f
mov dword [rsp + 0x4c], edi
mov byte [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x4c]
lea edx, [r9 + 6]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x1400363bc
mov r8d, 0x190
lea rcx, str._s__d_SetModuleParameter_Id_10_fail
jmp 0x14003678f
call fcn.140003db0
mov rcx, rax
test rax, rax
je 0x1400367c8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x80], rax
mov r8d, dword [rsi + 0x4c]
lea rdx, str._HP__DumpMode___d_n
lea rcx, [rbp + 0x80]
call fcn.140005720
mov r9d, dword [rsi + 0x4c]
mov r8d, SafeArrayCopyData
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_DumpMode___d
call fcn.1400430e0
mov ebx, 0xffffffff
mov dword [rsp + 0x30], ebx
mov eax, dword [rsi + 0x4c]
cmp eax, 0x331b
je 0x14003653c
cmp eax, 0x336b
je 0x14003653c
cmp eax, 0x3319
je 0x14003653c
lea r8, [rsp + 0x30]
lea edx, [rbx + 7]
call fcn.140036f50
test eax, eax
je 0x140036502
lea r8, [rsp + 0x30]
lea edx, [rbx + 8]
call fcn.140036f50
test eax, eax
je 0x140036502
lea edx, [rbx + 7]
mov rcx, rsi
call fcn.140036e80
mov r14d, eax
mov dword [rsp + 0x34], ebx
lea r8, [rsp + 0x34]
lea edx, [rbx + 8]
call fcn.140036f50
test eax, eax
jne 0x140036490
mov ecx, edi
jmp 0x1400364e7
mov dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x5c], eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], edi
mov byte [rsp + 0x20], 0
mov r9d, 0x1c
lea r8, [rsp + 0x58]
lea edx, [r9 - 0x15]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x1400364d1
mov ecx, edi
jmp 0x1400364e7
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rsi
call fcn.1400368e0
mov ecx, edi
test eax, eax
setne cl
test r14d, r14d
je 0x14003675f
test ecx, ecx
je 0x14003675f
mov edx, 0x1001
jmp 0x140036755
call fcn.1400375a0
mov r8d, 0x1f1
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_get_DumpMode__fail
call fcn.1400430e0
lea rcx, str._HP__set_Timer_TID_DELAY_GET_R0_ID_6_7_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
call fcn.140009f90
mov edx, 0x41d
jmp 0x140036731
lea r8, [rsp + 0x30]
mov edx, 6
call fcn.140036f50
test eax, eax
je 0x140036709
lea r8, [rsp + 0x30]
mov edx, 7
call fcn.140036f50
test eax, eax
je 0x140036709
lea r8, [rsp + 0x30]
mov edx, 0x12
call fcn.140036f50
test eax, eax
je 0x140036709
lea r8, [rsp + 0x30]
mov edx, SafeArrayUnaccessData
call fcn.140036f50
test eax, eax
je 0x140036709
mov edx, 6
mov rcx, rsi
call fcn.140036e80
mov r12d, eax
mov dword [rsp + 0x38], ebx
lea r8, [rsp + 0x38]
mov edx, 7
call fcn.140036f50
test eax, eax
jne 0x1400365c4
mov r15d, edi
jmp 0x14003661c
mov dword [rsp + 0x78], edi
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x7c], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], edi
mov byte [rsp + 0x20], 0
mov r9d, 0x1c
lea r8, [rsp + 0x78]
lea edx, [r9 - 0x15]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x140036604
mov r15d, edi
jmp 0x14003661c
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rsi
call fcn.1400368e0
mov r15d, edi
test eax, eax
setne r15b
mov dword [rsp + 0x3c], ebx
lea r8, [rsp + 0x3c]
mov edx, 0x12
call fcn.140036f50
test eax, eax
jne 0x140036638
mov r14d, edi
jmp 0x14003668d
mov dword [rbp - 0x68], edi
mov eax, dword [rsp + 0x3c]
mov dword [rbp - 0x64], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], edi
mov byte [rsp + 0x20], 0
mov r9d, 0x1c
lea r8, [rbp - 0x68]
lea edx, [r9 - 0xa]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x140036675
mov r14d, edi
jmp 0x14003668d
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rcx, rsi
call fcn.1400368e0
mov r14d, edi
test eax, eax
setne r14b
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x40]
mov edx, SafeArrayUnaccessData
call fcn.140036f50
test eax, eax
jne 0x1400366a8
mov ecx, edi
jmp 0x1400366fa
mov dword [rbp - 0x48], edi
mov eax, dword [rsp + 0x40]
mov dword [rbp - 0x44], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], edi
mov byte [rsp + 0x20], 0
mov r9d, 0x1c
lea r8, [rbp - 0x48]
lea edx, [r9 - 9]
mov rcx, qword [rsi + 0x86d8]
call fcn.140055dc0
test eax, eax
jns 0x1400366e4
mov ecx, edi
jmp 0x1400366fa
xor r8d, r8d
lea edx, [r8 + 0x11]
mov rcx, rsi
call fcn.1400368e0
mov ecx, edi
test eax, eax
setne cl
test r12d, r12d
je 0x14003675f
test r15d, r15d
je 0x14003675f
jmp 0x1400364e7
mov r8d, 0x1ad
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
lea rcx, str._s__d_get_DumpMode_13083_fail
call fcn.1400430e0
call fcn.1400375a0
call fcn.140009f90
mov edx, 0x41c
mov r8d, 0x1388
mov rcx, rax
call fcn.140087ab0
mov edx, 0x1f40
lea rcx, [rsi + 0x86e8]
call fcn.140083200
mov edx, 0x2001
call fcn.140037bf0
mov edi, 1
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14003677e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
jmp 0x14003679d
mov r8d, 0x13a
lea rcx, str._s__d_GUID_5_ppApi_fail
lea rdx, str.CIntelDspR0Calibration::SetModuleParameterToIntelDsp
call fcn.1400430e0
xor eax, eax
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003b40
int3
mov ecx, 0x80004005
call fcn.140003b40
int3