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

Disassembly:
mov r11, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
mov r14, rcx
mov qword [rbp - 0x18], r15
cmp dword [rcx + 0x30], r15d
jne 0x1400708cc
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rcx, qword [r14 + 0x28]
mov 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, [0x14011bca8]
call fcn.140075db0
mov qword [rbp - 0x18], r15
call fcn.140014310
test byte [rax + 0xa0], 0x80
je 0x140070838
call fcn.140014310
test dword [rax + 0x94], 0x100
je 0x140070794
call fcn.140014310
test dword [rax + 0xf8], 0x200
jne 0x140070794
cmp dword [0x1401baeb0], r15d
mov qword [rbp - 0x10], r15
jle 0x14007057e
movups xmm0, xmmword [0x140119fd8]
xor r8d, r8d
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
lea edx, [r8 + 0x5d]
call fcn.1400a6d40
jmp 0x1400705f1
mov eax, dword [0x1401bae80]
mov dword [rbp - 0x20], r15d
test eax, eax
jg 0x1400705aa
mov r8d, 0x385
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
mov eax, r15d
jmp 0x1400705f1
movups xmm0, xmmword [0x140119fd8]
movaps xmmword [rbp - 0x30], xmm0
test eax, eax
jle 0x1400708e5
mov rcx, qword [0x1401bae78]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x10]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x5d]
call fcn.1400a7770
test eax, eax
jne 0x140070611
lea r8d, [rax + 0x58]
lea rdx, str.CDriverVolumeMgr::GetHeadphoneBalanceVol
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
jmp 0x1400707a5
imul eax, dword [rbp - 0x10], 0x64
lea rcx, str._s__d_dwVolumes_0____d_dwVolumes_1____d
mov r8d, 0x5c
cdq
movzx r9d, dx
add r9d, eax
imul eax, dword [rbp - 0xc], 0x64
sar r9d, 0x10
mov dword [rbp - 0x18], r9d
cdq
movzx edx, dx
add eax, edx
lea rdx, str.CDriverVolumeMgr::GetHeadphoneBalanceVol
sar eax, 0x10
mov dword [rbp - 0x14], eax
mov dword [rsp + 0x20], eax
call fcn.140075db0
call fcn.140014660
mov edx, 3
call fcn.1400acbc0
test rax, rax
jne 0x1400706cc
call fcn.140014660
mov edx, 1
call fcn.1400acbc0
mov rdi, rax
test rax, rax
je 0x1400708aa
lea rcx, [rax + 0x10]
mov r9d, 5
lea r8, [rbp - 0x40]
lea rdx, [0x140119aa0]
call fcn.14000ab50
mov esi, dword [rbp - 0x40]
lea rdx, str.CAudioDevice::IsInHeadphonesMode
mov r9d, esi
lea rcx, str._s_bSuccess_d_dwHpMode_d
mov r8d, eax
mov ebx, eax
call fcn.140075db0
test ebx, ebx
je 0x1400708aa
test esi, esi
je 0x1400708aa
mov rax, rdi
lea rcx, [rax + 0xd0]
call fcn.1400195c0
mov rbx, rax
test rax, rax
je 0x1400708aa
mov dword [rbp - 0x20], 1
cmp dword [rax + 0x3c], r15d
je 0x1400706fd
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.1400888e0
mov esi, r15d
cmp dword [rbp - 0x20], r15d
je 0x1400707ee
call fcn.140014310
mov edx, dword [rax + 0x250]
mov ecx, edx
cmp dword [rbp - 0x18], edx
cmovle ecx, dword [rbp - 0x18]
cmp dword [rbp - 0x14], edx
mov dword [rbp - 0x18], ecx
cmovle edx, dword [rbp - 0x14]
mov dword [rbp - 0x14], edx
call fcn.140014310
test dword [rax + 0x138], 0x800
je 0x1400707c5
mov ecx, 8
call fcn.1400f47dc
mov rcx, qword [rbx]
mov rdi, rax
mov r8d, 2
mov rdx, rdi
mov rax, qword [rcx + 0x88]
mov rcx, rbx
call qword [case.0x14005eeb3.0]
mov eax, dword [rbp - 0x18]
sub eax, dword [rdi]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x1400707bd
mov eax, dword [rbp - 0x14]
sub eax, dword [rdi + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x1400707bd
mov rcx, rdi
mov esi, eax
call fcn.1400f4438
jmp 0x1400707ee
lea rdx, [rbp - 0x18]
call fcn.140070320
test eax, eax
jne 0x140070652
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s_GET_VOLUME_PROPERTY_RTK_GET_HEADPHONE_VOLUME_fail
call fcn.140075db0
jmp 0x1400708aa
mov rcx, rdi
call fcn.1400f4438
mov rax, qword [rbx]
lea r9, [rbp - 0x30]
movups xmm0, xmmword [0x14011f908]
mov r8d, 2
lea rdx, [rbp - 0x18]
mov rcx, rbx
mov rax, qword [rax + 0x70]
movaps xmmword [rbp - 0x30], xmm0
call qword [case.0x14005eeb3.0]
cmp dword [0x1401b2668], r15d
je 0x1400708aa
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x140070815
cmp dword [0x1401b266c], r15d
je 0x1400708aa
mov r9d, dword [rbp - 0x20]
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
mov r8d, 0xda
mov dword [rsp + 0x20], esi
lea rcx, str._s__d_bNeedChangeVol_d_bIgnoreVolAccuracyError_d
call fcn.140075db0
jmp 0x1400708aa
call fcn.140014310
test dword [rax + 0x1cc], 0x4000
jne 0x1400708aa
call fcn.140014660
mov edx, 1
call fcn.1400acbc0
mov rbx, rax
test rax, rax
je 0x1400708aa
lea rdx, [rbp - 0x18]
call fcn.140070320
test eax, eax
je 0x1400708aa
lea rcx, [rbx + 0xd0]
call fcn.1400195c0
mov r10, rax
test rax, rax
je 0x1400708aa
mov rcx, qword [rax]
lea r9, [rbp - 0x30]
movups xmm0, xmmword [0x14011f908]
mov r8d, 2
lea rdx, [rbp - 0x18]
mov rax, qword [rcx + 0x70]
mov rcx, r10
movaps xmmword [rbp - 0x30], xmm0
call qword [case.0x14005eeb3.0]
cmp dword [r14 + 0x30], r15d
je 0x1400704e0
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f4410
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.14001dd60
int3