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

Disassembly:
mov r11, rsp
push rbp
push r12
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov r15, rcx
mov qword [rbp + 0x1f], r12
cmp dword [rcx + 0x30], r12d
jne 0x14003eb1d
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r14
nop word [rax + rax]
mov rcx, qword [r15 + 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, [0x1400b0e88]
call fcn.1400430e0
mov qword [rbp + 0x1f], r12
call fcn.140009c60
mov ebx, dword [rax + 0x28]
call fcn.140009c60
test bl, bl
jns 0x14003ea8f
test dword [rax + 0x1c], 0x100
je 0x14003e972
call fcn.140009c60
test dword [rax + 0x80], 0x200
jne 0x14003e972
call fcn.140009e20
mov edx, 3
call fcn.14006c980
cmp dword [0x1401051d8], r12d
mov r14, rax
mov qword [rbp + 0x27], r12
jle 0x14003e89b
movups xmm0, xmmword [0x1400b01d0]
xor r8d, r8d
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x27]
lea rcx, [rbp + 7]
movaps xmmword [rbp + 7], xmm0
lea edx, [r8 + 0x5d]
call fcn.140067ee0
jmp 0x14003e90e
mov eax, dword [0x1401051a8]
mov dword [rbp + 0x17], r12d
test eax, eax
jg 0x14003e8c7
mov r8d, 0x376
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov eax, r12d
jmp 0x14003e90e
movups xmm0, xmmword [0x1400b01d0]
movaps xmmword [rbp + 7], xmm0
test eax, eax
jle 0x14003eb36
mov rcx, qword [0x1401051a0]
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 7]
xor r9d, r9d
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x27]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x5d]
call fcn.1400686e0
test eax, eax
jne 0x14003e931
lea r8d, [rax + 0x58]
lea rdx, str.CDriverVolumeMgr::GetHeadphoneBalanceVol
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
mov edi, r12d
jmp 0x14003e9ce
imul eax, dword [rbp + 0x27], 0x64
lea rcx, str._s_dwVolumes_0____d_dwVolumes_1____d
cdq
movzx r8d, dx
add r8d, eax
imul eax, dword [rbp + 0x2b], 0x64
sar r8d, 0x10
mov dword [rbp + 0x1f], r8d
cdq
movzx edx, dx
add eax, edx
lea rdx, str.CDriverVolumeMgr::GetHeadphoneBalanceVol
sar eax, 0x10
mov r9d, eax
mov dword [rbp + 0x23], eax
call fcn.1400430e0
mov edi, 1
jmp 0x14003e9ce
call fcn.140009e20
mov edx, 1
call fcn.14006c980
lea rdx, [rbp + 0x1f]
mov r14, rax
call fcn.14003e620
mov r9d, 1
lea r8, [rbp - 9]
lea rdx, [0x1400af8c0]
mov rcx, r14
mov edi, eax
call fcn.140002900
mov esi, dword [rbp - 9]
lea rdx, str.CAudioDevice::IsInHeadphonesMode
mov r9d, esi
lea rcx, str._s_bSuccess_d_dwHpMode_d
mov r8d, eax
mov ebx, eax
call fcn.1400430e0
test ebx, ebx
je 0x14003e9ef
test esi, esi
je 0x14003e9ef
call fcn.140009c60
mov edx, dword [rax + 0x1d8]
mov ecx, edx
cmp dword [rbp + 0x1f], edx
cmovle ecx, dword [rbp + 0x1f]
cmp dword [rbp + 0x23], edx
mov dword [rbp + 0x1f], ecx
cmovle edx, dword [rbp + 0x23]
mov dword [rbp + 0x23], edx
test edi, edi
jne 0x14003ea0b
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s_GET_VOLUME_PROPERTY_RTK_GET_HEADPHONE_VOLUME_fail
call fcn.1400430e0
jmp 0x14003eaf3
test r14, r14
je 0x14003eaf3
lea rcx, [r14 + 0xd0]
call fcn.14000e210
mov rbx, rax
test rax, rax
je 0x14003eaf3
mov dword [rbp + 0x17], 1
cmp dword [rax + 0x3c], r12d
je 0x14003ea4e
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.1400528a0
mov r9d, dword [rbp + 0x17]
test r9d, r9d
je 0x14003ea74
movups xmm0, xmmword [0x1400b3118]
mov rax, qword [rbx]
lea r9, [rbp + 7]
mov r8d, 2
lea rdx, [rbp + 0x1f]
mov rcx, rbx
movaps xmmword [rbp + 7], xmm0
call qword [rax + 0x68]
mov r9d, dword [rbp + 0x17]
mov r8d, 0xc0
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s__d_bNeedChangeVol_d
call fcn.1400430e0
jmp 0x14003eaf3
test dword [rax + 0x154], 0x4000
jne 0x14003eaf3
call fcn.140009e20
mov edx, 1
call fcn.14006c980
mov rbx, rax
test rax, rax
je 0x14003eaf3
lea rdx, [rbp + 0x1f]
call fcn.14003e620
test eax, eax
je 0x14003eaf3
lea rcx, [rbx + 0xd0]
call fcn.14000e210
test rax, rax
je 0x14003eaf3
movups xmm0, xmmword [0x1400b3118]
mov r10, qword [rax]
lea r9, [rbp + 7]
mov r8d, 2
lea rdx, [rbp + 0x1f]
mov rcx, rax
movaps xmmword [rbp + 7], xmm0
call qword [r10 + 0x68]
cmp dword [r15 + 0x30], r12d
je 0x14003e7f0
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x90
pop r15
pop r12
pop rbp
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.140011ae0
int3