Function at 0x180115e20
Capabilities:
Create service
Delete service
Start service

Disassembly:
jmp 0x180115e20
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x70]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x180115e85
call fcn.180010890
jmp 0x1801160be
call sym.ProcessMonitor.dll_PhGetApplicationFileName
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180115ea1
mov eax, 0xc0000229
jmp 0x1801160be
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 8]
lea rcx, str.__s___ras___s_
call sym.ProcessMonitor.dll_PhFormatString
mov qword [rsp + 0x80], rax
lea rax, [0x18039c4c4]
mov qword [rsp + 0x60], rax
lea rax, str.LocalSystem
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x48]
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x80]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp qword [rsp + 0x90], 0
jne 0x180115fce
cmp dword [rsp + 0x74], 0
jg 0x180115fa8
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0xd0], eax
jmp 0x180115fc2
mov eax, dword [rsp + 0x74]
and eax, 0xffff
or eax, 0x70000
or eax, 0xc0000000
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
jmp 0x1801160be
call fcn.180014590
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x48]
lea rcx, str.BaseNamedObjects_
call sym.ProcessMonitor.dll_PhConcatStrings2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.180011010
mov dword [rsp + 0xc4], 0x32
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.18000a2a0
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jl 0x180116053
jmp 0x180116077
mov ecx, 0x64
call sym.ProcessMonitor.dll_PhDelayExecution
mov eax, dword [rsp + 0xc4]
dec eax
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0
jne 0x180116037
mov rcx, qword [rsp + 0x98]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp dword [rsp + 0x70], 0
jl 0x1801160a1
mov rcx, qword [rsp + 0xf0]
call fcn.180005d50
mov dword [rsp + 0x70], eax
call fcn.180001050
cmp qword [rsp + 0x90], 0
je 0x1801160ba
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x70]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180498ac0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xe0
pop rdi
ret