Function at 0x140008760
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400b1010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0xd8
lea rcx, [rbp - 0x40]
call fcn.1400559c0
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140005d40
nop
lea rcx, [rbp - 0x40]
call fcn.1400065c0
mov dword [rbp - 0x80], 0
mov word [rbp - 0x7c], 0x100
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x74], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rsp + 0x70], r15
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x74]
lea rdx, [rsp + 0x78]
lea rcx, str.SoundResearch.audioSettings_sassr7xhpkj7p
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x14000885a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140008a33
cmp dword [rbp - 0x78], 1
je 0x14000886a
mov edi, 0x57
jmp 0x140008a33
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400088b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140008a33
mov dword [rbp + 0xa4], 2
mov dword [rbp + 0xa0], 0x10000000
mov dword [rbp + 0xa8], r15d
mov dword [rbp + 0xbc], r15d
mov dword [rbp + 0xc0], 5
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd4], 2
mov dword [rbp + 0xd0], 0x10000000
mov dword [rbp + 0xd8], r15d
mov qword [rbp + 0xec], r15
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov qword [rbp + 0xf8], rdx
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea ecx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edi, eax
test eax, eax
jne 0x140008a33
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14000895f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140008a33
xor r9d, r9d
mov r8, qword [rsp + 0x70]
lea edx, [r9 + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x140008986
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140008a33
lea r9, [rbp - 0x70]
lea r8, str.SECOMNRpcEndpoint.2F0652D5_A8C1_4125_9DE2_115DFCD3504B
mov edx, 0xa
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov edi, eax
test eax, eax
jne 0x140008a33
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x4d2
lea r9d, [rdi + 0x21]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140098ac0]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x140008a33
lea rcx, [0x1400ca7b8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x140008a33
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400ca7b8]
lea rcx, [0x140098ac0]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x140008a33
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [rax + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov edi, eax
cmp eax, 0x6b1
cmove edi, r15d
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140008a6f
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x140008a66
mov esi, eax
mov rbx, r14
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140008a50
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x140008aa4
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140008a9b
mov esi, eax
mov rbx, r14
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140008a85
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140008ab4
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140008ac4
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x40]
call fcn.140007040
nop
lea rcx, [rbp + 0x68]
call fcn.140006130
lea rax, vtable.IMMNotificationReceiver.0
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.IMMNotificationReceiver.2.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 8]
lea rax, vtable.IMMNotificationReceiver.1.0
mov qword [rbp + rcx + 0x90], rax
mov eax, edi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14002bca0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret