Function at 0x140177de0
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x1404779b8]
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.1400eb1a0
movups xmm0, xmmword [str._RpcServer__RpcServerStart]
mov qword [rsp + 0x70], 0x1a
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1403555a8]
movsd qword [rax + 0x10], xmm1
movzx ecx, word [0x1403555b0]
mov word [rax + 0x18], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1a], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
mov rcx, qword [str.ASUS.pcInformation_qmba6cd70vzyy]
lea r9, [rbp - 0x70]
xorps xmm0, xmm0
mov byte [0x14047c240], 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 0x140177f6d
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
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 [0x1403555d8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1403555e8]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1403555f0]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1403555f4]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], r15b
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
call fcn.1401a8500
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140178528
cmp dword [rbp - 0x78], 1
je 0x140178004
mov ecx, 0x50
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
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 [0x140355610]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140355620]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140355630]
movups xmmword [rax + 0x30], xmm1
mov ecx, dword [0x140355640]
mov dword [rax + 0x40], ecx
lea rcx, [rsp + 0x60]
movzx eax, byte [0x140355644]
mov byte [rdx + 0x44], al
mov byte [rdx + 0x45], r15b
mov qword [rsp + 0x60], rdx
call fcn.1401a8500
mov edi, 0x57
jmp 0x140178528
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 0x1401780a8
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__AllocateAndInitializeSid_Fail]
mov qword [rsp + 0x70], 0x29
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140355658]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140355668]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x140355670]
mov byte [rax + 0x28], cl
mov byte [rax + 0x29], r15b
mov qword [rsp + 0x60], rax
jmp 0x140177f56
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 0x140178165
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
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 [0x140355688]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
jmp 0x140178528
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1401781df
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
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 [0x1403556b0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1403556c0]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1403556c8]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1403556cc]
jmp 0x140177f4a
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 0x140178260
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__SetSecurityDescriptorDacl_Fail]
mov qword [rsp + 0x70], 0x2a
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1403556e0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1403556f0]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x1403556f8]
mov word [rax + 0x28], cx
mov byte [rax + 0x2a], r15b
mov qword [rsp + 0x60], rax
jmp 0x140177f56
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 0x1401782f3
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__RpcServerUseProtseqEp_Fail]
mov qword [rsp + 0x70], 0x26
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140355738]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140355748]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x14035574c]
mov word [rax + 0x24], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x26], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
jmp 0x140178528
mov rcx, qword [section..data]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov r9d, 0x21
lea rax, [0x140177b00]
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 0x1401783a2
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__RpcServerRegisterIf3_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140355760]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140355770]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x140355774]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
jmp 0x140178528
lea rcx, [0x14047c248]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
je 0x140178424
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__RpcServerInqBindings_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140355788]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140355798]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x14035579c]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
jmp 0x140178528
mov rdx, qword [0x14047c248]
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 0x1401784b3
mov ecx, 0x20
call fcn.1400eb1a0
movups xmm0, xmmword [str._RpcServer__RpcEpRegister_Fail]
mov qword [rsp + 0x70], 0x1e
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1403557b0]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x1403557b8]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1403557bc]
mov word [rax + 0x1c], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1e], r15b
mov qword [rsp + 0x60], rax
call fcn.1401a8500
jmp 0x140178528
mov r8d, 0x20
lea rdx, str._RpcServer__RpcServerStartListen
lea rcx, [rsp + 0x60]
call fcn.140101ee0
lea rcx, [rsp + 0x60]
call fcn.1401a8500
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.140101ee0
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401a8500
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.140101ee0
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401a8500
mov r14, qword [rbp - 0x58]
test r14, r14
je 0x1401785a2
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x140178599
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 0x140178583
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x1401785d6
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x1401785cd
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 0x1401785b7
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 0x140178605
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140178614
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14021f250
add rsp, 0x158
pop rdi
pop rbp
ret