Function at 0x140029970
Capabilities:
Listen for remote procedure calls

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x48]
sub rsp, 0x138
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov qword [r11 + 0x18], r14
lea rcx, [rbp - 0x40]
mov qword [r11 - 0x18], r15
xor edx, edx
xor r15d, r15d
mov dword [rbp - 0x80], 0
mov word [rbp - 0x7c], 0x100
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
lea r8d, [r15 + 0x60]
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x74], r15d
call fcn.140034ac0
xor eax, eax
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x70], rax
lea r9, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea r8, [rbp - 0x74]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x78]
mov qword [rbp - 0x58], rax
lea rcx, str.ASUS.pcInformation_qmba6cd70vzyy
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x140029a1c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x140029bdd
cmp dword [rbp - 0x78], 1
je 0x140029a2c
mov ebx, 0x57
jmp 0x140029bdd
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x80]
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.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140029a77
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x140029bdd
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x60]
mov dword [rbp - 0x3c], 2
mov dword [rbp - 0x40], 0x10000000
mov dword [rbp - 0x38], r15d
mov dword [rbp - 0x24], r15d
mov dword [rbp - 0x20], 5
mov dword [rbp - 0xc], 2
mov dword [rbp - 0x10], 0x10000000
mov dword [rbp - 8], r15d
mov qword [rbp + 0xc], r15
test rax, rax
je 0x140029ac4
mov rax, qword [rax]
mov qword [rbp + 0x18], rax
xor r8d, r8d
lea r9, [rsp + 0x70]
lea rdx, [rbp - 0x40]
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_security_provider_l1_1_0.dll_SetEntriesInAclW]
mov ebx, eax
test eax, eax
jne 0x140029bdd
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
jne 0x140029b02
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x140029bdd
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x140029b29
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x140029bdd
lea r9, [rbp - 0x70]
mov edx, 0xa
lea r8, str.MyAsusOptimizationRpcEndpoint
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov ebx, eax
test eax, eax
jne 0x140029bdd
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea r9d, [rbx + 0x61]
lea rax, [0x140029cc0]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rcx, [0x140055dc0]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
jne 0x140029bdd
lea rcx, [0x14006aee8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
jne 0x140029bdd
mov rdx, qword [0x14006aee8]
lea rcx, [0x140055dc0]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov ebx, eax
test eax, eax
jne 0x140029bdd
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, 0x6b1
mov ebx, eax
cmove ebx, r15d
mov r14, qword [rsp + 0x78]
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], rdi
test r14, r14
je 0x140029c22
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x140029c19
mov esi, eax
mov rdi, r14
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x140029c03
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x140029c5f
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140029c56
mov esi, eax
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x140029c40
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x150]
test rcx, rcx
je 0x140029c8f
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140029c9f
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.140032e60
add rsp, 0x138
pop rbx
pop rbp
ret