Function at 0x14001a430
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [r11 + 0x18], r14
xor edx, edx
mov qword [r11 - 0x18], r15
xor ecx, ecx
xor r15d, r15d
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rdx, [rbp - 0x80]
lea rcx, [0x14005ffb8]
call fcn.14001dba0
mov rdx, rax
lea rcx, [0x1400600f0]
call fcn.140003400
xor r8d, r8d
lea rdx, [0x1400600f0]
lea rcx, [0x140006760]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x14001a4a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x14001a4d9
xorps xmm0, xmm0
mov qword [rbp - 0x70], r15
mov r8d, 0x52
mov qword [rbp - 0x68], r15
lea rdx, str.DtsService::ApoControllerSystem::Error_creating_Thread_pool_work_for_device_events
lea rcx, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm0
call fcn.140015710
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140002680
mov rax, qword [0x140060380]
mov rcx, qword [0x140060388]
cmp rax, rcx
jne 0x14001a4f1
mov edx, r15d
jmp 0x14001a50f
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [0x1400600bc], edx
lea rdx, [rbp - 0x80]
call fcn.140004fa0
mov rdx, rax
call fcn.140020cd0
mov rbx, qword [0x1400600e0]
lea rdx, [0x1400600e0]
lea rcx, [0x1400600e0]
mov r8, qword [rbx + 8]
call fcn.14001e790
mov qword [rbx + 8], rbx
lea r9, [rsp + 0x68]
mov qword [rbx], rbx
lea r8, [rsp + 0x64]
mov qword [rbx + 0x10], rbx
lea rdx, [rbp - 0x60]
xorps xmm0, xmm0
mov qword [0x1400600e8], r15
xor eax, eax
mov dword [rbp + 0x38], r15d
mov qword [rbp + 0x30], rax
lea rcx, str.Xperi.dtsAudioSettings_t5j2fzbtdg37r
lea rax, [rsp + 0x60]
mov word [rbp + 0x3c], 0x100
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x60], r15d
mov qword [rbp - 0x60], r15
mov dword [rsp + 0x64], r15d
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x78], r15
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x14001a5dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14001a792
cmp dword [rsp + 0x60], 1
je 0x14001a5ed
mov ebx, 0x57
jmp 0x14001a792
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x38]
mov dword [rsp + 0x48], r15d
xor r8d, r8d
mov dword [rsp + 0x40], r15d
mov dl, 1
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x14001a638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14001a792
mov rax, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
mov qword [rbp - 0x28], rax
xor r8d, r8d
mov rax, qword [rsp + 0x68]
mov dword [rbp - 0x4c], 2
mov dword [rbp - 0x50], 0x10000000
mov dword [rbp - 0x48], r15d
lea ecx, [r8 + 2]
mov dword [rbp - 0x34], r15d
mov dword [rbp - 0x30], 5
mov dword [rbp - 0x1c], 2
mov dword [rbp - 0x20], 0x10000000
mov dword [rbp - 0x18], r15d
mov qword [rbp - 4], r15
mov rdx, qword [rax]
mov qword [rbp + 8], rdx
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov ebx, eax
test eax, eax
jne 0x14001a792
lea edx, [rax + 1]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14001a6be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14001a792
mov r8, qword [rsp + 0x78]
lea rcx, [rbp + 0x10]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14001a6e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14001a792
lea r9, [rbp + 0x10]
mov edx, 0xa
lea r8, str.DtsApoControllerRpcEndpoint
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov ebx, eax
test eax, eax
jne 0x14001a792
lea rax, [rbp + 0x10]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [rbx + 0x21]
mov qword [rsp + 0x30], r15
lea rcx, [0x14004f990]
mov dword [rsp + 0x28], r15d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
jne 0x14001a792
lea rcx, [0x14005ffa8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
jne 0x14001a792
mov rdx, qword [0x14005ffa8]
lea rcx, [0x14004f990]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov ebx, eax
test eax, eax
jne 0x14001a792
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, 0x6b1
mov ebx, eax
cmove ebx, r15d
mov r14, qword [rbp - 0x60]
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x178], rdi
test r14, r14
je 0x14001a7df
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x14001a7d6
mov esi, eax
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x14001a7c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x14001a815
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001a80c
mov esi, eax
mov rdi, r14
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x14001a7f6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x170]
test rcx, rcx
je 0x14001a845
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001a855
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400247e0
add rsp, 0x158
pop rbx
pop rbp
ret