Function at 0x140020a90
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov word [rbp - 0x7c], 0x100
xor r14d, r14d
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea r9, [rsp + 0x70]
mov qword [rbp - 0x60], rax
lea r8, [rbp - 0x74]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rcx, str.asus.pcInformation_qmba6cd70vzyy
mov dword [rbp - 0x80], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], r14
mov dword [rbp - 0x78], r14d
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x74], r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
je 0x140020caf
cmp dword [rbp - 0x78], 1
jne 0x140020caf
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x48], r14d
xor r8d, r8d
mov dword [rsp + 0x40], r14d
mov dl, 1
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140020caf
xor edx, edx
lea r8d, [r14 + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140059e60
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov qword [rbp - 0x18], rax
lea ecx, [r14 + 2]
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov dword [rbp - 0x3c], 2
mov dword [rbp - 0x40], 0x10000000
mov dword [rbp - 0x38], r14d
mov dword [rbp - 0x24], r14d
mov dword [rbp - 0x20], 5
mov dword [rbp - 0xc], 2
mov dword [rbp - 0x10], 0x10000000
mov dword [rbp - 8], r14d
mov qword [rbp + 0xc], r14
mov rdx, qword [rax]
mov qword [rbp + 0x18], rdx
lea rdx, [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x140020caf
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x140020caf
mov r8, qword [rsp + 0x60]
lea edx, [r14 + 1]
xor r9d, r9d
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x140020caf
lea r9, [rbp - 0x70]
lea r8, str.ASHWTestServer
lea edx, [r14 + 0xa]
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
jne 0x140020caf
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [r14 + 0x21]
lea rax, [0x140020980]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rcx, [0x14009c120]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
test eax, eax
jne 0x140020caf
lea rcx, [0x1400c2e70]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
test eax, eax
jne 0x140020caf
mov rdx, qword [0x1400c2e70]
lea rcx, [0x14009c120]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterA]
test eax, eax
jne 0x140020caf
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x140020d0f
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140020d06
mov edi, eax
mov rbx, rsi
nop dword [rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx], r14
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140020cf0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x140020d44
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x140020d3b
mov edi, eax
mov rbx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx], r14
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140020d25
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140055700
lea r11, [rsp + 0x130]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret