Function at 0x140008970
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 [0x140079010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0xe0
lea rcx, [rbp - 0x40]
call fcn.1400545d0
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400066c0
nop
lea rcx, [rbp - 0x40]
call fcn.140006f50
mov dword [rbp - 0x80], 0
mov word [rbp - 0x7c], pe_nt_image_headers64
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 0x140008a6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140008c43
cmp dword [rbp - 0x78], 1
je 0x140008a7a
mov ebx, 0x57
jmp 0x140008c43
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 0x140008ac5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140008c43
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 ebx, eax
test eax, eax
jne 0x140008c43
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x140008b6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140008c43
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 0x140008b96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140008c43
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 ebx, eax
test eax, eax
jne 0x140008c43
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, [rbx + 0x21]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140063840]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
jne 0x140008c43
lea rcx, [0x140090f38]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
jne 0x140008c43
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140090f38]
lea rcx, [0x140063840]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov ebx, eax
test eax, eax
jne 0x140008c43
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [rax + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
cmove ebx, r15d
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140008c7f
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x140008c76
mov esi, eax
mov rdi, r14
nop dword [rax]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x140008c60
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x140008cb4
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140008cab
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 0x140008c95
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140008cc4
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140008cd4
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x40]
call fcn.1400079e0
nop
lea rcx, [rbp - 0x40]
call fcn.140006ac0
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14002aab0
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