Function at 0x14001d4e0
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 [0x1400920a0]
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.140007c30
lea rcx, [rbp + 0x38]
call fcn.14002e270
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001d567
lea eax, [r14 - 4]
jmp 0x14001dab6
call fcn.140003340
cmp byte [rax + 0x160], 0
je 0x14001d58d
lea r8, str.__dev
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.140050348
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14001d5ad
lea eax, [rdi - 5]
jmp 0x14001dab6
call fcn.140003340
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001d5c0
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14001d5e5
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.14001db20
call fcn.140003340
lea rdx, [rax + 0x60]
lea rcx, [rbp + 0x58]
call fcn.140006e80
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp + 0x68]
sub rax, rcx
cmp rax, 0x10
jb 0x14001dae8
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, [0x1400832a0]
lea rcx, [rbp - 0x28]
call fcn.14000a330
nop
mov r8d, 0xf
lea rdx, str._Client_Service
lea rcx, [rbp - 0x28]
call fcn.14000b400
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 0x14001d6c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d6c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001daee
call fcn.14003cd00
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 0x14001daf4
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.14000a330
nop
mov r8d, 1
lea rdx, [0x1400832c4]
lea rcx, [rbp + 0x38]
call fcn.14000b400
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 0x14001d79e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dafa
call fcn.14003cd00
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 0x14001d7d0
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 0x14001d832
lea ebx, [rax - 6]
jmp 0x14001d9d6
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.14000b490
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.140007e00
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140019de0
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14001d9d6
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db00
call fcn.14003cd00
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14001da16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db06
call fcn.14003cd00
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14001da67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db0c
call fcn.14003cd00
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x14001dab4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001daaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dae2
call fcn.14003cd00
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14003cce0
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.14004f834
nop
call fcn.140001350
nop
call fcn.14004f834
int3
call fcn.140001350
nop
call fcn.14004f834
int3
call fcn.14004f834
nop
call fcn.14004f834
nop
call fcn.14004f834
int3