Function at 0x140002ff0
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x14001e010]
xor rax, rsp
mov qword [rbp + 0x20], rax
call fcn.140002d10
xor r15d, r15d
mov dword [rbp - 0x78], 0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r15
xor eax, eax
mov word [rbp - 0x74], pe_nt_image_headers64
mov qword [rbp - 0x48], rax
lea rdx, str.SoftwareSoundResearchAPO
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [0x14002f300]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0xf013f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r15d
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x6c], r15d
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x70], r15
movups xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x78], r15
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000338f
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x130], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rax, [rbp - 0x70]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x6c]
lea rdx, [rbp - 0x80]
lea rcx, str.SoundResearch.audioSettings_sassr7xhpkj7p
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x140003105
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400032ba
cmp dword [rbp - 0x70], 1
je 0x140003115
mov edi, 0x57
jmp 0x1400032ba
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x78]
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.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140003160
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400032ba
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov qword [rbp - 0x18], rax
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov dword [rbp - 0x3c], 2
mov dword [rbp - 0x40], 0x10000000
mov dword [rbp - 0x38], r15d
lea ecx, [r8 + 2]
mov dword [rbp - 0x24], r15d
mov dword [rbp - 0x20], 5
mov dword [rbp - 0xc], 2
mov dword [rbp - 0x10], 0x10000000
mov dword [rbp - 8], r15d
mov qword [rbp + 0xc], r15
mov rdx, qword [rax]
mov qword [rbp + 0x18], rdx
lea rdx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_security_provider_l1_1_0.dll_SetEntriesInAclW]
mov edi, eax
test eax, eax
jne 0x1400032ba
lea edx, [rax + 1]
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400031e6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400032ba
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x68]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14000320d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400032ba
lea r9, [rbp - 0x68]
mov edx, 0xa
lea r8, str.SECOMNRpcEndpoint.2F0652D5_A8C1_4125_9DE2_115DFCD3504B
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov edi, eax
test eax, eax
jne 0x1400032ba
lea rax, [rbp - 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [rdi + 0x21]
mov qword [rsp + 0x30], r15
lea rcx, [0x140016680]
mov dword [rsp + 0x28], r15d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
jne 0x1400032ba
lea rcx, [0x14002f3a8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
jne 0x1400032ba
mov rdx, qword [0x14002f3a8]
lea rcx, [0x140016680]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edi, eax
test eax, eax
jne 0x1400032ba
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, 0x6b1
mov edi, eax
cmove edi, r15d
mov r14, qword [rbp - 0x80]
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x158], rsi
test r14, r14
je 0x1400032ff
mov eax, dword [rbp - 0x6c]
test eax, eax
je 0x1400032f6
mov esi, eax
mov rbx, r14
nop
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x1400032e0
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x140003334
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x14000332b
mov esi, eax
mov rbx, r14
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140003315
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x150]
test rcx, rcx
je 0x14000335c
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000336c
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov rcx, qword [0x14002f3b8]
test rcx, rcx
je 0x140003385
call qword [sym.imp.SECOMN64.dll_SEAPOCOMAPI_FreeAPI]
mov qword [0x14002f3b8], r15
mov eax, edi
mov rdi, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400082e0
add rsp, 0x138
pop r15
pop rbp
ret