Function at 0x1400473d0
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 [0x14011f010]
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 0x14004774e
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, [0x1400c4050]
call fcn.14004c3d0
mov qword [rbp + 0x1f], r12
call fcn.14000ac00
mov ebx, dword [rax + 0x28]
call fcn.14000ac00
test bl, bl
jns 0x1400476c0
test dword [rax + 0x1c], 0x100
je 0x1400475a2
call fcn.14000ac00
test dword [rax + 0x80], 0x200
jne 0x1400475a2
call fcn.14000adc0
mov edx, 3
call fcn.140078b40
cmp dword [0x1401271f8], r12d
mov r14, rax
mov qword [rbp + 0x27], r12
jle 0x1400474cb
movups xmm0, xmmword [0x1400c3368]
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.1400741a0
jmp 0x14004753e
mov eax, dword [0x1401271c8]
mov dword [rbp + 0x17], r12d
test eax, eax
jg 0x1400474f7
mov r8d, 0x379
lea rdx, str.CDriverPropertyClient::KsProperty
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov eax, r12d
jmp 0x14004753e
movups xmm0, xmmword [0x1400c3368]
movaps xmmword [rbp + 7], xmm0
test eax, eax
jle 0x140047767
mov rcx, qword [0x1401271c0]
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.140074b50
test eax, eax
jne 0x140047561
lea r8d, [rax + 0x58]
lea rdx, str.CDriverVolumeMgr::GetHeadphoneBalanceVol
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14004c3d0
mov edi, r12d
jmp 0x1400475ff
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.14004c3d0
mov edi, 1
jmp 0x1400475ff
call fcn.14000adc0
mov edx, 1
call fcn.140078b40
lea rdx, [rbp + 0x1f]
mov r14, rax
call fcn.140047250
lea rcx, [r14 + 0x10]
mov r9d, 1
lea r8, [rbp - 9]
mov edi, eax
lea rdx, [0x1400c2b08]
call fcn.140002920
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.14004c3d0
test ebx, ebx
je 0x140047620
test esi, esi
je 0x140047620
call fcn.14000ac00
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 0x14004763c
lea rdx, str.CDriverVolumeMgr::WorkThreadLoop
lea rcx, str._s_GET_VOLUME_PROPERTY_RTK_GET_HEADPHONE_VOLUME_fail
call fcn.14004c3d0
jmp 0x140047724
test r14, r14
je 0x140047724
lea rcx, [r14 + 0xc8]
call fcn.14000f590
mov rbx, rax
test rax, rax
je 0x140047724
mov dword [rbp + 0x17], 1
cmp dword [rax + 0x3c], r12d
je 0x14004767f
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14005cbd0
mov r9d, dword [rbp + 0x17]
test r9d, r9d
je 0x1400476a5
movups xmm0, xmmword [0x1400c6ae8]
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.14004c3d0
jmp 0x140047724
test dword [rax + 0x154], 0x4000
jne 0x140047724
call fcn.14000adc0
mov edx, 1
call fcn.140078b40
mov rbx, rax
test rax, rax
je 0x140047724
lea rdx, [rbp + 0x1f]
call fcn.140047250
test eax, eax
je 0x140047724
lea rcx, [rbx + 0xc8]
call fcn.14000f590
test rax, rax
je 0x140047724
movups xmm0, xmmword [0x1400c6ae8]
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 0x140047420
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.1400a4020
add rsp, 0x90
pop r15
pop r12
pop rbp
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.140012e00
int3