Function at 0x14013c460
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x140351248]
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.1400b88d0
movups xmm0, xmmword [str._RpcServer__RpcServerStart]
mov qword [rsp + 0x70], 0x1a
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140275df8]
movsd qword [rax + 0x10], xmm1
movzx ecx, word [0x140275e00]
mov word [rax + 0x18], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1a], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
mov rcx, qword [str.0_]
lea r9, [rbp - 0x70]
xorps xmm0, xmm0
mov byte [0x140354b50], 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 0x14013c5ed
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
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 [0x140275e28]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140275e38]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x140275e40]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x140275e44]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], r15b
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
call fcn.1401626a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14013cba8
cmp dword [rbp - 0x78], 1
je 0x14013c684
mov ecx, 0x50
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
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 [0x140275e60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140275e70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140275e80]
movups xmmword [rax + 0x30], xmm1
mov ecx, dword [0x140275e90]
mov dword [rax + 0x40], ecx
lea rcx, [rsp + 0x60]
movzx eax, byte [0x140275e94]
mov byte [rdx + 0x44], al
mov byte [rdx + 0x45], r15b
mov qword [rsp + 0x60], rdx
call fcn.1401626a0
mov edi, 0x57
jmp 0x14013cba8
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 0x14013c728
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__AllocateAndInitializeSid_Fail]
mov qword [rsp + 0x70], 0x29
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140275ea8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140275eb8]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x140275ec0]
mov byte [rax + 0x28], cl
mov byte [rax + 0x29], r15b
mov qword [rsp + 0x60], rax
jmp 0x14013c5d6
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 0x14013c7e5
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
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 [0x140275ed8]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
jmp 0x14013cba8
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14013c85f
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
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 [0x140275f00]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140275f10]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x140275f18]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x140275f1c]
jmp 0x14013c5ca
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 0x14013c8e0
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__SetSecurityDescriptorDacl_Fail]
mov qword [rsp + 0x70], 0x2a
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140275f30]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140275f40]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x140275f48]
mov word [rax + 0x28], cx
mov byte [rax + 0x2a], r15b
mov qword [rsp + 0x60], rax
jmp 0x14013c5d6
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 0x14013c973
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__RpcServerUseProtseqEp_Fail]
mov qword [rsp + 0x70], 0x26
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140275f88]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140275f98]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x140275f9c]
mov word [rax + 0x24], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x26], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
jmp 0x14013cba8
mov rcx, qword [section..data]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov r9d, 0x21
lea rax, [0x14013c180]
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 0x14013ca22
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__RpcServerRegisterIf3_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140275fb0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140275fc0]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x140275fc4]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
jmp 0x14013cba8
lea rcx, [0x140354b58]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov edi, eax
test eax, eax
je 0x14013caa4
mov ecx, 0x30
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], SafeArrayLock
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__RpcServerInqBindings_Fail]
mov qword [rsp + 0x70], 0x25
mov qword [rsp + 0x78], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140275fd8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140275fe8]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x140275fec]
mov byte [rax + 0x24], cl
lea rcx, [rsp + 0x60]
mov byte [rax + 0x25], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
jmp 0x14013cba8
mov rdx, qword [0x140354b58]
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 0x14013cb33
mov ecx, 0x20
call fcn.1400b88d0
movups xmm0, xmmword [str._RpcServer__RpcEpRegister_Fail]
mov qword [rsp + 0x70], 0x1e
mov qword [rsp + 0x78], 0x1f
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140276000]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x140276008]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x14027600c]
mov word [rax + 0x1c], cx
lea rcx, [rsp + 0x60]
mov byte [rax + 0x1e], r15b
mov qword [rsp + 0x60], rax
call fcn.1401626a0
jmp 0x14013cba8
mov r8d, 0x20
lea rdx, str._RpcServer__RpcServerStartListen
lea rcx, [rsp + 0x60]
call fcn.1400cf610
lea rcx, [rsp + 0x60]
call fcn.1401626a0
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.1400cf610
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401626a0
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.1400cf610
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401626a0
mov r14, qword [rbp - 0x58]
test r14, r14
je 0x14013cc22
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x14013cc19
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 0x14013cc03
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x14013cc56
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x14013cc4d
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 0x14013cc37
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 0x14013cc85
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14013cc94
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401c0070
add rsp, 0x158
pop rdi
pop rbp
ret