Function at 0x1400277b0
Capabilities:
Listen for remote procedure calls

Disassembly:
push rdi
sub rsp, 0x20
xor edi, edi
mov dword [0x1400528ec], 2
mov dword [0x140052900], 0xbb8
cmp dword [0x1400528c8], edi
mov dword [0x1400528f4], edi
jne 0x140027822
lea r8, str._Service_Status__Start_Pending
lea edx, [rdi + 2]
lea ecx, [rdi + 0x18]
call fcn.140030a90
mov eax, dword [0x140051470]
mov rcx, qword [0x1400528d0]
inc eax
lea rdx, [0x1400528e8]
mov dword [0x1400528f0], 0x80
mov dword [0x140051470], eax
mov dword [0x1400528fc], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x140027856
lea r8, str.pipeAMD_Fuel_ServiceEngine
lea rcx, str.ncacn_np
xor r9d, r9d
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
je 0x14002785e
lea r8, str.StartRPCServer:_RpcServerUseProtseqEp___failed_
mov edx, 4
lea ecx, [rdx + 0x11]
call fcn.140030a90
xor eax, eax
add rsp, 0x20
pop rdi
ret
cmp dword [0x1400528c8], edi
mov dword [0x1400528ec], 2
mov dword [0x1400528f4], edi
mov dword [0x140052900], 0xbb8
jne 0x1400278ca
mov edx, 2
lea r8, str._Service_Status__Start_Pending
lea ecx, [rdx + 0x16]
call fcn.140030a90
mov eax, dword [0x140051470]
mov rcx, qword [0x1400528d0]
inc eax
lea rdx, [0x1400528e8]
mov dword [0x1400528f0], 0x80
mov dword [0x140051470], eax
mov dword [0x1400528fc], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x140027856
lea rcx, [0x14003ce40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
test eax, eax
je 0x1400278ec
lea r8, str.StartRPCServer:_RpcServerRegisterIf___failed_
jmp 0x140027849
cmp dword [0x1400528c8], edi
mov dword [0x1400528ec], 2
mov dword [0x1400528f4], edi
mov dword [0x140052900], 0xbb8
jne 0x14002795c
mov edx, 2
lea r8, str._Service_Status__Start_Pending
lea ecx, [rdx + 0x16]
call fcn.140030a90
mov eax, dword [0x140051470]
mov rcx, qword [0x1400528d0]
inc eax
lea rdx, [0x1400528e8]
mov dword [0x1400528f0], 0x80
mov dword [0x140051470], eax
mov dword [0x1400528fc], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x140027856
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
test eax, eax
je 0x14002797e
lea r8, str.StartRPCServer:_RpcServerRegisterAuthInfo___failed_
jmp 0x140027849
cmp dword [0x1400528c8], edi
mov dword [0x1400528ec], 2
mov dword [0x1400528f4], edi
mov dword [0x140052900], 0xbb8
jne 0x1400279ee
mov edx, 2
lea r8, str._Service_Status__Start_Pending
lea ecx, [rdx + 0x16]
call fcn.140030a90
mov eax, dword [0x140051470]
mov rcx, qword [0x1400528d0]
inc eax
lea rdx, [0x1400528e8]
mov dword [0x1400528f0], 0x80
mov dword [0x140051470], eax
mov dword [0x1400528fc], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x140027856
mov r8d, 1
mov edx, 0x4d2
mov ecx, r8d
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
test eax, eax
je 0x140027a12
lea r8, str.StartRPCServer:_RpcServerListen___failed_
jmp 0x140027849
cmp dword [0x1400528c8], edi
mov dword [0x140052998], 1
mov dword [0x1400528ec], 4
mov dword [0x1400528f4], edi
mov dword [0x140052900], edi
jne 0x140027abf
mov edx, 2
lea r8, str._Service_Status__Service_Running
mov qword [rsp + 0x30], rbx
lea ecx, [rdx + 0x16]
call fcn.140030a90
mov rcx, qword [0x1400528d0]
lea rdx, [0x1400528e8]
mov dword [0x1400528f0], 0x145
mov dword [0x1400528fc], edi
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
cmp byte [0x140053ef0], 1
mov ebx, eax
jne 0x140027ab2
mov edx, 2
lea r8, str._ReportStatusToSCMgr_:_SessionNotification_called_using_cached_Login_Info
mov byte [0x140053ef0], dil
lea ecx, [rdx + 0x16]
call fcn.140030a90
mov edx, dword [0x140053eec]
mov ecx, dword [0x140053ee8]
call fcn.1400296c0
test ebx, ebx
mov rbx, qword [rsp + 0x30]
je 0x140027856
xor ecx, ecx
call fcn.140030440
mov edx, 2
lea r8, str._StartRPCServer_:_RPC_mechanism_is_running__Service_is_listening
lea ecx, [rdx + 0x13]
mov byte [0x14005289e], dil
call fcn.140030a90
call qword [sym.imp.RPCRT4.dll_RpcMgmtWaitServerListen]
test eax, eax
je 0x140027aff
mov edx, 3
lea r8, str.StartRPCServer:_RpcMgmtWaitServerListen___failed_
lea ecx, [rdx + 0x12]
call fcn.140030a90
mov dword [0x140052998], edi
mov eax, 1
add rsp, 0x20
pop rdi
ret