Function at 0x14001d720
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r14d, r14d
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 7
lea r8d, [r14 + 0x15]
lea rdx, str.Installing_service...
lea rcx, [rbp + 0x38]
call fcn.140007cf0
lea rcx, [rbp + 0x38]
call fcn.140030880
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001d7a7
lea eax, [r14 - 4]
jmp 0x14001dcf6
call fcn.140003370
cmp byte [rax + 0x160], 0
je 0x14001d7cd
lea r8, str.__dev
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400546c8
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14001d7ed
lea eax, [rdi - 5]
jmp 0x14001dcf6
call fcn.140003370
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001d800
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14001d825
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.14001dd60
call fcn.140003370
lea rdx, [rax + 0x60]
lea rcx, [rbp + 0x58]
call fcn.140006d80
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp + 0x68]
sub rax, rcx
cmp rax, 0x10
jb 0x14001dd28
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x10
lea r9, [0x14008a390]
lea rcx, [rbp - 0x28]
call fcn.14000a3f0
nop
mov r8d, 0xf
lea rdx, str._Client_Service
lea rcx, [rbp - 0x28]
call fcn.14000b4c0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14001d909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd2e
call fcn.140041080
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
mov rcx, qword [rbp + 0x68]
sub rbx, rcx
cmp rbx, 0x28
jb 0x14001dd34
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x28
lea r9, str.Provides_protection_for_use_with_Reason
lea rcx, [rbp + 0x38]
call fcn.14000a3f0
nop
mov r8d, 1
lea rdx, [0x14008a3b4]
lea rcx, [rbp + 0x38]
call fcn.14000b4c0
mov qword [rbp - 8], r14
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x14001d9de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd3a
call fcn.140041080
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r14w
lea rbx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rbx, qword [rbp + 0x18]
call fcn.140003370
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001da10
mov rax, qword [rax]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rsi, rax
test rax, rax
jne 0x14001da72
lea ebx, [rax - 6]
jmp 0x14001dc16
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov dword [rbp + 0x98], 1
mov dword [rbp + 0x9c], 0x3a98
mov dword [rbp + 0xa0], 1
mov dword [rbp + 0xa4], 0xea60
mov dword [rbp + 0xa8], 1
mov dword [rbp + 0xac], 0x493e0
mov dword [rbp - 0x60], 0x15180
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r14
mov dword [rbp - 0x48], 3
lea rax, [rbp + 0x98]
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x60]
mov edx, 2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov dword [rsp + 0x70], 1
lea r8, [rsp + 0x70]
mov edx, 5
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov ebx, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ecx, 0xfffffff9
test eax, eax
cmove ebx, ecx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x38], rax
mov edx, ebx
lea rcx, [rbp + 0x78]
call fcn.140001f60
nop
mov r9d, 0x18
lea r8, str.Install_ended_with_code
mov rcx, rax
call fcn.14000b550
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov r8d, 0xa
lea rdx, str.SvcInstall
lea rcx, [rbp - 0x80]
call fcn.140007ec0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140019ed0
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14001dc16
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd40
call fcn.140041080
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14001dc56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd46
call fcn.140041080
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14001dca7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dca2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd4c
call fcn.140041080
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x14001dcf4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dcef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd22
call fcn.140041080
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140041060
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140053bb4
nop
call fcn.140001380
nop
call fcn.140053bb4
int3
call fcn.140001380
nop
call fcn.140053bb4
int3
call fcn.140053bb4
nop
call fcn.140053bb4
nop
call fcn.140053bb4
int3