Function at 0x14004e2f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rdx]
mov r13, rcx
movsx r12d, word [rdx + 4]
mov esi, edi
movsx r15d, word [rdx + 6]
movzx ebp, dil
sar esi, 0xc
sar edi, 8
and esi, 0xf
and edi, 0xf
dec esi
dec edi
call fcn.14002ae60
mov r14, rax
test rax, rax
jne 0x14004e35e
mov r8d, 0xac
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140061d00
lea rcx, [rax + 0x10]
mov qword [rsp + 0x80], rbx
call fcn.140047070
mov ecx, dword [r14 + 0x68]
xor eax, eax
mov ebx, eax
test ecx, ecx
je 0x14004e39c
lea rax, [r14 + 0x1b0]
cmp dword [rax - 0x10], ebp
jne 0x14004e390
cmp dword [rax], edi
jne 0x14004e390
cmp dword [rax + 8], esi
je 0x14004e3a1
inc ebx
add rax, 0xb0
cmp ebx, ecx
jb 0x14004e382
mov ebx, 0xffffffff
mov dword [rsp + 0x38], ecx
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
mov dword [rsp + 0x30], esi
lea rcx, str._s__d_nPinIndex_d_nWID_x_SecCodec_d_nUsbPin_d_dwPinCoun_d
mov dword [rsp + 0x28], edi
mov r9d, ebx
mov r8d, SystemTimeToVariantTime
mov dword [rsp + 0x20], ebp
call fcn.140061d00
test ebx, ebx
jns 0x14004e40f
cmp edi, 0xffffffff
jne 0x14004e40f
mov ecx, dword [r14 + 0x68]
test ecx, ecx
je 0x14004e40f
xor ebx, ebx
lea rax, [r14 + 0x1b0]
mov edi, dword [rax]
test ecx, ecx
je 0x14004e40a
nop dword [rax]
cmp dword [rax - 0x10], ebp
jne 0x14004e3fe
cmp dword [rax], edi
jne 0x14004e3fe
cmp dword [rax + 8], esi
je 0x14004e40f
inc ebx
add rax, 0xb0
cmp ebx, ecx
jb 0x14004e3f0
mov ebx, 0xffffffff
mov eax, dword [r14 + 0x68]
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
mov dword [rsp + 0x38], eax
lea rcx, str._s__d_nPinIndex_d_nWID_x_SecCodec_d_nUsbPin_d_dwPinCoun_d
mov dword [rsp + 0x30], esi
mov r9d, ebx
mov dword [rsp + 0x28], edi
mov r8d, 0xbe
mov dword [rsp + 0x20], ebp
call fcn.140061d00
mov eax, 0xffffffff
lock xadd dword [r14 + 0x28], eax
mov eax, dword [r14 + 0x28]
test eax, eax
jne 0x14004e45e
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14004e480
mov eax, dword [r14 + 0x28]
cmp eax, 0x32
jle 0x14004e480
mov r8d, 0x6a
lea rdx, str.CDataAccessProtector::FinishAccess
lea rcx, str._s__d_calling_FinishAccess_isnt_matched_RequestAccess_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140061d00
test ebx, ebx
jns 0x14004e4f4
mov eax, 0
lea rbx, [r13 + 0x18]
test r13, r13
cmove rbx, rax
call fcn.140013f90
mov rdx, rbx
lea rcx, [rax + 0x20]
call fcn.140006ae0
mov ecx, 8
call fcn.1400c5e94
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
mov rcx, qword [rcx]
mov qword [rax], rcx
lea rcx, [r13 + 0x70]
call fcn.14004e9b0
mov r8d, 0xce
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
lea rcx, str._s__d_Retry_retask_after_driver_path_reload
call fcn.140061d00
jmp 0x14004e6d3
mov rcx, qword [rsp + 0x88]
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
mov r8d, 0xd6
mov rax, qword [rcx]
lea rcx, str._s__d_RTKAUD_WMCD_CMD_START_RETASK
mov qword [r13 + 0xc4], rax
call fcn.140061d00
mov rcx, qword [r13 + 0xb0]
lea r8, [r13 + 0xc0]
mov dword [r8], 0x1002
call fcn.1400c36f0
mov dword [r13 + 0xb8], ebx
call fcn.14000b280
test dword [rax + 0x348], 0x4000000
je 0x14004e57e
mov r12d, 2
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
mov r15d, 0xa
lea rcx, str._s__d_NoWavesUINeedAutoDetectHeadset_nDeviceType_d_nSequence_d
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov r8d, 0xe2
call fcn.140061d00
mov eax, ebx
lea r8, [rsp + 0x90]
imul rsi, rax, 0xb0
xor r13d, r13d
mov r9d, r12d
add rsi, r14
mov dword [rsp + 0x90], r13d
mov edx, ebx
mov rcx, r14
mov eax, dword [rsi + 0x118]
shr eax, 0xc
and eax, 0xf
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
call fcn.140064c10
test eax, eax
jne 0x14004e5cb
mov r8d, 0x3c4
jmp 0x14004e5fa
mov ebp, dword [rsp + 0x90]
mov rcx, r14
mov dword [rsp + 0x8c], ebp
mov dword [rsp + 0x88], ebx
mov rdx, qword [rsp + 0x88]
call fcn.140064e80
test eax, eax
jne 0x14004e62b
mov r8d, 0x3c8
lea rdx, str.CJackInfo::SetRtskDeviceWithCustomize
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140061d00
mov r8d, 0xe6
lea rdx, str.CJackRetaskCommandLineHelper::SetRtskDevice
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140061d00
jmp 0x14004e6d3
mov dword [rsp + 0x38], r13d
lea rdx, str.CJackInfo::SetRtskDeviceWithCustomize
mov dword [rsp + 0x30], ebp
lea rcx, str._s__d_nPin_d_nDevType_d_nSeq_x_RtskDeviceType0x_x_ForJD_d
mov edi, 1
mov dword [rsp + 0x28], r15d
mov r9d, ebx
mov dword [rsp + 0x20], r12d
mov r8d, 0x3e4
mov dword [rsi + 0x1ac], edi
mov dword [rsi + 0x1a4], r12d
mov dword [rsi + 0x1a8], r15d
call fcn.140061d00
call fcn.14000b280
test byte [rax + 0x348], 0x80
je 0x14004e68e
call fcn.14002ae60
mov rcx, rax
call fcn.140066600
cmp r12d, 2
jne 0x14004e69a
cmp r15d, 0xa
jae 0x14004e69d
mov edi, r13d
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x3f2
call fcn.1400bb290
mov eax, 0x5dc
test edi, edi
mov ebx, 0x1f4
cmovne ebx, eax
call fcn.14000b5b0
mov rcx, rax
mov r8d, ebx
mov edx, 0x3f2
call fcn.1400bb060
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret