Function at 0x14016c590
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [r11 + 0x18], r14
mov qword [r11 - 0x18], r15
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
lea ecx, [r15 + 0x20]
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__RpcServerStart]
mov qword [rsp + 0x70], 0x1a
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402d8438]
movsd qword [rax + 0x10], xmm1
movzx ecx, word [0x1402d8440]
mov word [rax + 0x18], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1a], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
mov rcx, qword [str.ASUS.pcInformation_qmba6cd70vzyy]
lea r9, [rbp - 0x70]
xorps xmm0, xmm0
mov byte [0x1403e2960], r15b
xor eax, eax
mov dword [rbp + 0x38], r15d
mov qword [rbp + 0x30], rax
lea r8, [rbp - 0x74]
lea rax, [rbp - 0x78]
mov word [rbp + 0x3c], 0x100
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x78], r15d
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x74], r15d
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x60], r15
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x14016c71d
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__DeriveCapabilitySidsFromName_Fail]
mov qword [rsp + 0x70], 0x2d
mov rdx, rax
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d8468]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402d8478]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1402d8480]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1402d8484]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], r15b
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
call fcn.1401955b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14016ccd8
cmp dword [rbp - 0x78], 1
je 0x14016c7b4
mov ecx, 0x50
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movaps xmm0, xmmword [str._RpcServer__DeriveCapabilitySidsFromName_capabilitySidCount___1_Fail]
mov rdx, rax
mov qword [rsp + 0x70], 0x45
mov qword [rsp + 0x78], 0x4f
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1402d84a0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1402d84b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1402d84c0]
movups xmmword [rax + 0x30], xmm1
mov ecx, dword [0x1402d84d0]
mov dword [rax + 0x40], ecx
lea rcx, [rsp + 0x60]
movzx eax, byte [0x1402d84d4]
mov byte [rdx + 0x44], al
mov byte [rdx + 0x45], r15b
mov qword [rsp + 0x60], rdx
call fcn.1401955b0
mov edi, 0x57
jmp 0x14016ccd8
lea rax, [rbp - 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x38]
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.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x14016c858
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__AllocateAndInitializeSid_Fail]
mov qword [rsp + 0x70], 0x29
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d84e8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402d84f8]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x1402d8500]
mov byte [rax + 0x28], cl
mov byte [rax + 0x29], r15b
mov qword [rsp + 0x60], rax
jmp 0x14016c706
mov rax, qword [rbp - 0x68]
lea r9, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x50]
mov rax, qword [rbp - 0x70]
xor r8d, r8d
mov dword [rbp - 0x4c], 2
mov dword [rbp - 0x50], 0x10000000
mov dword [rbp - 0x48], r15d
mov dword [rbp - 0x34], r15d
mov dword [rbp - 0x30], 5
mov dword [rbp - 0x1c], 2
mov dword [rbp - 0x20], 0x10000000
mov dword [rbp - 0x18], r15d
mov qword [rbp - 4], r15
mov rcx, qword [rax]
mov qword [rbp + 8], rcx
lea ecx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edi, eax
test eax, eax
je 0x14016c915
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__SetEntriesInAcl_Fail]
mov qword [rsp + 0x70], 0x20
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d8518]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
jmp 0x14016ccd8
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14016c98f
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__InitializeSecurityDescriptor_Fail]
mov qword [rsp + 0x70], 0x2d
mov rdx, rax
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d8540]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402d8550]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1402d8558]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1402d855c]
jmp 0x14016c6fa
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0x10]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14016ca10
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__SetSecurityDescriptorDacl_Fail]
mov qword [rsp + 0x70], 0x2a
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d8570]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402d8580]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x1402d8588]
mov word [rax + 0x28], cx
mov byte [rax + 0x2a], r15b
mov qword [rsp + 0x60], rax
jmp 0x14016c706
lea r9, [rbp + 0x10]
mov edx, 0xa
lea r8, str.AsusHelpRpcEndpoint
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov edi, eax
test eax, eax
je 0x14016caa3
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__RpcServerUseProtseqEp_Fail]
mov qword [rsp + 0x70], 0x26
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d85c8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1402d85d8]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x1402d85dc]
mov word [rax + 0x24], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x26], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
jmp 0x14016ccd8
mov rcx, qword [section..data]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov r9d, 0x21
lea rax, [0x14016c2b0]
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov edi, eax
test eax, eax
je 0x14016cb52
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__RpcServerRegisterIf3_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d85f0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1402d8600]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x1402d8604]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
jmp 0x14016ccd8
lea rcx, [0x1403e2968]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
je 0x14016cbd4
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__RpcServerInqBindings_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d8618]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1402d8628]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x1402d862c]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
jmp 0x14016ccd8
mov rdx, qword [0x1403e2968]
xor r9d, r9d
mov rcx, qword [section..data]
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov qword [rsp + 0x60], r15
mov edi, eax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
test eax, eax
je 0x14016cc63
mov ecx, 0x20
call fcn.1400e1b00
movups xmm0, xmmword [str._RpcServer__RpcEpRegister_Fail]
mov qword [rsp + 0x70], 0x1e
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402d8640]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x1402d8648]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1402d864c]
mov word [rax + 0x1c], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1e], r15b
mov qword [rsp + 0x60], rax
call fcn.1401955b0
jmp 0x14016ccd8
mov r8d, 0x20
lea rdx, str._RpcServer__RpcServerStartListen
lea rcx, [rsp + 0x60]
call fcn.1400f8840
lea rcx, [rsp + 0x60]
call fcn.1401955b0
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [r8 + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov r8d, 0x27
mov qword [rsp + 0x60], r15
lea rdx, str._RpcServer__RpcServerStartListen_ret_d
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], SafeArrayLock
mov edi, eax
call fcn.1400f8840
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401955b0
cmp edi, 0x6b1
cmove edi, r15d
mov qword [rsp + 0x170], rbx
lea rdx, str._RpcServer__Cleaning_RpcServer_resource_ret_d
mov r8d, 0x2e
mov qword [rsp + 0x178], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400f8840
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401955b0
mov r14, qword [rbp - 0x58]
test r14, r14
je 0x14016cd52
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x14016cd49
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 0x14016cd33
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x14016cd86
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x14016cd7d
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 0x14016cd67
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x68]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x170]
test rcx, rcx
je 0x14016cdb5
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14016cdc4
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14020c3e0
add rsp, 0x158
pop rdi
pop rbp
ret