Function at 0x1400ea9e0
Capabilities:
Create service
Persist via windows service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x6f0
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov rbp, rdx
mov r12, rcx
call fcn.1400ea340
lea rcx, str.install_service..._n
mov esi, 0x1e
call fcn.1400b35e0
lea r8d, [rsi - 0x1c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rdi, rax
je 0x1400eac91
xor r13d, r13d
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400012c0
lea rcx, [rsp + 0x70]
mov ebx, r13d
call fcn.1400012c0
lea rcx, [rsp + 0x190]
call fcn.1400012c0
lea rcx, [rsp + 0x190]
xor edx, edx
call fcn.1400d85c0
mov r8, qword [rsp + 0x198]
lea rdx, str.__s___svc
lea rcx, [rsp + 0x70]
call fcn.140176700
test r12, r12
je 0x1400eaaa8
lea rdx, str.__svc_pipe_name___s_
lea rcx, [rsp + 0x70]
mov r8, r12
call fcn.140176950
test rbp, rbp
je 0x1400eaac1
lea rdx, str.__svc_security_descriptor___s_
lea rcx, [rsp + 0x70]
mov r8, rbp
call fcn.140176950
call fcn.1400cd3c0
test rax, rax
je 0x1400eaae4
call fcn.1400cd3c0
lea rdx, str.__instance___s_
lea rcx, [rsp + 0x70]
mov r8, rax
call fcn.140176950
lea rcx, [rsp + 0x190]
call fcn.140175010
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x2b0]
call fcn.14017b470
lea rcx, [rsp + 0x70]
call fcn.140175010
lea rcx, [rsp + 0x70]
call fcn.1400012c0
lea rdx, [0x1401b2850]
lea rcx, [rsp + 0x70]
call fcn.140175d10
call fcn.1400cd3c0
test rax, rax
je 0x1400eab4b
call fcn.1400cd3c0
lea rdx, str.___s_
lea rcx, [rsp + 0x70]
mov r8, rax
call fcn.140176950
mov r8, qword [rsp + 0x78]
cmp byte [r8], bl
je 0x1400eab73
movzx eax, byte [r8]
cmp al, 0x5c
je 0x1400eab61
cmp al, 0x2f
jne 0x1400eab65
mov byte [r8], 0x20
add r8, 1
cmp byte [r8], bl
jne 0x1400eab55
mov r8, qword [rsp + 0x78]
lea rcx, [rsp + 0x4d0]
mov edx, 0x101
call fcn.14017a370
lea rcx, [rsp + 0x70]
call fcn.140175010
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
lea r8, [rsp + 0x4d0]
lea rdx, [rsp + 0x4d0]
mov r9d, 2
mov rcx, rdi
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x1400eabfe
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.1400ea5f0
jmp 0x1400eac4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x1400eac12
call fcn.1400ea5f0
jmp 0x1400eac4c
test esi, esi
je 0x1400eac2b
cmp eax, 0x430
jne 0x1400eac2b
lea ecx, [rax - 0x48]
sub esi, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400eac51
mov r8, qword [0x1401fd5f8]
mov edx, reloc.WS2_32.dll_recv
xor ecx, ecx
mov r9, qword [r8 + 0x2080]
mov r8, qword [r8]
mov dword [rsp + 0x20], eax
call fcn.1400d47d0
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x2b0]
call fcn.140175010
test ebx, ebx
jne 0x1400eacb8
lea rcx, str.install_service..._n
call fcn.1400b35e0
lea r8d, [rbx + 2]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rdi, rax
jne 0x1400eaa40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x1401fd5f8]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d47d0
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.1401a6ae0
mov rbx, qword [rsp + 0x730]
add rsp, 0x6f0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret