Function at 0x14002d860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
mov r15, rcx
mov qword [rbp - 0x20], rax
cmp dword [rcx + 0x30], eax
jne 0x14002daf1
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x18], r14
nop dword [rax]
mov rcx, qword [r15 + 0x28]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov r8d, 0x7d
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, [0x1400937f8]
call fcn.140032320
xor eax, eax
mov qword [rbp - 0x20], rax
call fcn.140009750
test byte [rax + 0x28], 0x80
je 0x14002da60
call fcn.140009750
test dword [rax + 0x1c], 0x100
je 0x14002d941
call fcn.140009750
test dword [rax + 0x80], 0x200
jne 0x14002d941
call fcn.1400099e0
mov edx, 3
call fcn.14005a0d0
lea rdx, [rbp - 0x20]
mov rdi, rax
call fcn.14002d710
mov r14d, eax
call fcn.140009750
mov r8d, dword [rax + 0x1d8]
mov edx, r8d
cmp dword [rbp - 0x20], r8d
cmovle edx, dword [rbp - 0x20]
cmp dword [rbp - 0x1c], r8d
mov dword [rbp - 0x20], edx
cmovle r8d, dword [rbp - 0x1c]
mov dword [rbp - 0x1c], r8d
jmp 0x14002d9bf
call fcn.1400099e0
mov edx, 1
call fcn.14005a0d0
lea rdx, [rbp - 0x20]
mov rdi, rax
call fcn.14002d5c0
mov r9d, 1
lea r8, [rbp - 0x48]
lea rdx, [0x1400923f8]
mov rcx, rdi
mov r14d, eax
call fcn.140002db0
mov esi, dword [rbp - 0x48]
lea rdx, str.CAudioDevice::IsInHeadphonesMode
mov r9d, esi
lea rcx, str._s_bSuccess_d_dwHpMode_d
mov r8d, eax
mov ebx, eax
call fcn.140032320
test ebx, ebx
je 0x14002d9bf
test esi, esi
je 0x14002d9bf
call fcn.140009750
mov edx, dword [rax + 0x1d8]
mov ecx, edx
cmp dword [rbp - 0x20], edx
cmovle ecx, dword [rbp - 0x20]
cmp dword [rbp - 0x1c], edx
mov dword [rbp - 0x20], ecx
cmovle edx, dword [rbp - 0x1c]
mov dword [rbp - 0x1c], edx
test r14d, r14d
jne 0x14002d9dc
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s_GET_VOLUME_PROPERTY_RTK_GET_HEADPHONE_VOLUME_fail
call fcn.140032320
jmp 0x14002dac9
test rdi, rdi
je 0x14002dac9
lea rcx, [rdi + 0xd0]
call fcn.14000d7a0
mov rbx, rax
test rax, rax
je 0x14002dac9
cmp dword [rax + 0x3c], 0
mov dword [rbp - 0x28], 1
je 0x14002da1f
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140040ca0
mov r9d, dword [rbp - 0x28]
test r9d, r9d
je 0x14002da45
movups xmm0, xmmword [0x140095878]
mov rax, qword [rbx]
lea r9, [rbp - 0x38]
mov r8d, 2
lea rdx, [rbp - 0x20]
mov rcx, rbx
movaps xmmword [rbp - 0x38], xmm0
call qword [rax + 0x68]
mov r9d, dword [rbp - 0x28]
mov r8d, 0xc0
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s__d_bNeedChangeVol_d
call fcn.140032320
jmp 0x14002dac9
call fcn.140009750
test dword [rax + 0x154], 0x4000
jne 0x14002dac9
call fcn.1400099e0
mov edx, 1
call fcn.14005a0d0
mov rbx, rax
test rax, rax
je 0x14002dac9
lea rdx, [rbp - 0x20]
call fcn.14002d5c0
test eax, eax
je 0x14002dac9
lea rcx, [rbx + 0xd0]
call fcn.14000d7a0
test rax, rax
je 0x14002dac9
movups xmm0, xmmword [0x140095878]
mov r10, qword [rax]
lea r9, [rbp - 0x38]
mov r8d, 2
lea rdx, [rbp - 0x20]
mov rcx, rax
movaps xmmword [rbp - 0x38], xmm0
call qword [r10 + 0x68]
cmp dword [r15 + 0x30], 0
je 0x14002d8a0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140078ef0
add rsp, 0x68
pop r15
pop rbp
ret