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

Disassembly:
mov r11, rsp
push rbp
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1400d8010]
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 0x14002e811
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, [0x140094818]
call fcn.140033040
xor eax, eax
mov qword [rbp - 0x20], rax
call fcn.1400097d0
test byte [rax + 0x28], 0x80
je 0x14002e780
call fcn.1400097d0
test dword [rax + 0x1c], 0x100
je 0x14002e661
call fcn.1400097d0
test dword [rax + 0x80], 0x200
jne 0x14002e661
call fcn.140009a60
mov edx, 3
call fcn.14005afc0
lea rdx, [rbp - 0x20]
mov rdi, rax
call fcn.14002e430
mov r14d, eax
call fcn.1400097d0
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 0x14002e6df
call fcn.140009a60
mov edx, 1
call fcn.14005afc0
lea rdx, [rbp - 0x20]
mov rdi, rax
call fcn.14002e2e0
mov r9d, 1
lea r8, [rbp - 0x48]
lea rdx, [0x140093230]
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.140033040
test ebx, ebx
je 0x14002e6df
test esi, esi
je 0x14002e6df
call fcn.1400097d0
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 0x14002e6fc
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s_GET_VOLUME_PROPERTY_RTK_GET_HEADPHONE_VOLUME_fail
call fcn.140033040
jmp 0x14002e7e9
test rdi, rdi
je 0x14002e7e9
lea rcx, [rdi + 0xd0]
call fcn.14000d820
mov rbx, rax
test rax, rax
je 0x14002e7e9
cmp dword [rax + 0x3c], 0
mov dword [rbp - 0x28], 1
je 0x14002e73f
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.1400419c0
mov r9d, dword [rbp - 0x28]
test r9d, r9d
je 0x14002e765
movups xmm0, xmmword [0x140096898]
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.140033040
jmp 0x14002e7e9
call fcn.1400097d0
test dword [rax + 0x154], 0x4000
jne 0x14002e7e9
call fcn.140009a60
mov edx, 1
call fcn.14005afc0
mov rbx, rax
test rax, rax
je 0x14002e7e9
lea rdx, [rbp - 0x20]
call fcn.14002e2e0
test eax, eax
je 0x14002e7e9
lea rcx, [rbx + 0xd0]
call fcn.14000d820
test rax, rax
je 0x14002e7e9
movups xmm0, xmmword [0x140096898]
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 0x14002e5c0
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.140079e30
add rsp, 0x68
pop r15
pop rbp
ret