Function at 0x14001d740
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 [0x1400990a0]
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.14002fff0
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001d7c7
lea eax, [r14 - 4]
jmp 0x14001dd16
call fcn.140003370
cmp byte [rax + 0x160], 0
je 0x14001d7ed
lea r8, str.__dev
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.140053e18
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14001d80d
lea eax, [rdi - 5]
jmp 0x14001dd16
call fcn.140003370
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001d820
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14001d845
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.14001dd80
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 0x14001dd48
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, [0x140089390]
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 0x14001d929
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd4e
call fcn.1400407d0
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 0x14001dd54
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, [0x1400893b4]
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 0x14001d9fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd5a
call fcn.1400407d0
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 0x14001da30
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 0x14001da92
lea ebx, [rax - 6]
jmp 0x14001dc36
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 0x14001dc36
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd60
call fcn.1400407d0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14001dc76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd66
call fcn.1400407d0
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14001dcc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dcc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd6c
call fcn.1400407d0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x14001dd14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dd0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd42
call fcn.1400407d0
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400407b0
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.140053304
nop
call fcn.140001380
nop
call fcn.140053304
int3
call fcn.140001380
nop
call fcn.140053304
int3
call fcn.140053304
nop
call fcn.140053304
nop
call fcn.140053304
int3