Function at 0x1400219b0
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor edi, edi
mov word [rbp - 0x7c], 0x100
xor edx, edx
mov dword [rbp - 0x80], edi
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
lea r8d, [rdi + 0x60]
mov dword [rbp - 0x78], edi
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x74], edi
call fcn.14004aaa0
xor edx, edx
mov qword [rsp + 0x70], rdi
lea r8d, [rdi + 0x28]
lea rcx, [rbp - 0x70]
call fcn.14004aaa0
lea rax, [rbp - 0x78]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x74]
lea rdx, [rsp + 0x78]
lea rcx, str.ICEPower.audioParameters_dxp88312j1fgj
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x140021a4d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x140021bd1
cmp dword [rbp - 0x78], 1
je 0x140021a5d
mov ebx, 0x57
jmp 0x140021bd1
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov dword [rsp + 0x40], edi
mov dl, 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140021a40
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov r10d, 2
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x60]
lea rdx, [rbp - 0x40]
mov ecx, 0x10000000
mov dword [rbp - 0x3c], r10d
mov dword [rbp - 0x40], ecx
xor r8d, r8d
mov dword [rbp - 0x10], ecx
mov dword [rbp - 0x38], edi
mov dword [rbp - 0x24], edi
mov dword [rbp - 0x20], 5
mov dword [rbp - 0xc], r10d
mov dword [rbp - 8], edi
mov qword [rbp + 0xc], rdi
mov rcx, qword [rax]
mov qword [rbp + 0x18], rcx
mov ecx, r10d
call qword [sym.imp.api_ms_win_security_provider_l1_1_0.dll_SetEntriesInAclW]
mov ebx, eax
test eax, eax
jne 0x140021bd1
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x140021a40
mov r8, qword [rsp + 0x70]
lea edx, [rbx + 1]
xor r9d, r9d
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x140021a40
lea r9, [rbp - 0x70]
lea r8, str.AudioWizardRpcEndpoint
lea edx, [rbx + 0xa]
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov ebx, eax
test eax, eax
jne 0x140021bd1
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [rbx + 0x21]
mov qword [rsp + 0x30], rdi
lea rcx, [0x14009a1d0]
mov dword [rsp + 0x28], edi
xor edx, edx
mov dword [rsp + 0x20], 5
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
jne 0x140021bd1
lea rcx, [0x1400fa538]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
jne 0x140021bd1
mov rdx, qword [0x1400fa538]
lea rcx, [0x14009a1d0]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov ebx, eax
test eax, eax
jne 0x140021bd1
lea ecx, [rax + 1]
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, 0x6b1
mov ebx, eax
cmove ebx, edi
mov edx, dword [rbp - 0x74]
mov rcx, qword [rsp + 0x78]
call fcn.140021960
mov edx, dword [rbp - 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.140021960
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140021bfb
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140021c0b
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140046df0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret