Function at 0x14001c0a0
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 [0x1400850b0]
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.140007930
lea rcx, [rbp + 0x38]
call fcn.140028440
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001c127
lea eax, [r14 - 4]
jmp 0x14001c676
call fcn.140003340
cmp byte [rax + 0x160], 0
je 0x14001c14d
lea r8, str.__dev
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400452d8
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14001c16d
lea eax, [rdi - 5]
jmp 0x14001c676
call fcn.140003340
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001c180
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14001c1a5
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.14001c6e0
call fcn.140003340
lea rdx, [rax + 0x60]
lea rcx, [rbp + 0x58]
call fcn.140006940
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp + 0x68]
sub rax, rcx
cmp rax, 0x10
jb 0x14001c6a8
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, [0x140077200]
lea rcx, [rbp - 0x28]
call fcn.140009ef0
nop
mov r8d, 0xf
lea rdx, str._Client_Service
lea rcx, [rbp - 0x28]
call fcn.14000afc0
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 0x14001c289
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c284
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6ae
call fcn.140031c90
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 0x14001c6b4
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.140009ef0
nop
mov r8d, 1
lea rdx, [0x140077224]
lea rcx, [rbp + 0x38]
call fcn.14000afc0
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 0x14001c35e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6ba
call fcn.140031c90
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.140003340
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001c390
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 0x14001c3f2
lea ebx, [rax - 6]
jmp 0x14001c596
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.140001f30
nop
mov r9d, 0x18
lea r8, str.Install_ended_with_code
mov rcx, rax
call fcn.14000b050
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.140007b00
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.1400196f0
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14001c596
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c590
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6c0
call fcn.140031c90
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14001c5d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6c6
call fcn.140031c90
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14001c627
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c622
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6cc
call fcn.140031c90
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x14001c674
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c66f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6a2
call fcn.140031c90
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140031c70
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.1400447c4
nop
call fcn.140001350
nop
call fcn.1400447c4
int3
call fcn.140001350
nop
call fcn.1400447c4
int3
call fcn.1400447c4
nop
call fcn.1400447c4
nop
call fcn.1400447c4
int3