Function at 0x14000a2b0
Capabilities:
Create service
Encode data using xor
Enumerate services
Query service configuration
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, rcx
mov rcx, qword [rcx + 0x10]
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14000a2f8
mov rax, qword [r12]
mov qword [rbp], rax
mov qword [rbp + 8], rcx
call fcn.14000c604
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140009ff0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea rbx, [rcx + rax*2]
mov r11, rbx
mov rdx, rbx
call fcn.14000a130
cmp rax, rbx
je 0x14000a36b
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r11 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14000a36b
cmp dx, 0x2f
je 0x14000a36b
mov r11, rcx
cmp rax, rcx
jne 0x14000a350
sub rbx, r11
sar rbx, 1
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8, rbx
mov rdx, r11
lea rcx, [rsp + 0x70]
call fcn.14000a860
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov qword [rbp], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp + 8], rax
call fcn.14000c604
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.14000ad30
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000a41a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a415
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a415
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000a46f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a46a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a46a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
je 0x14000a7e6
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0xc], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 3]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x14000a4e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000a7e6
mov eax, dword [rbp - 0x10]
add eax, 0x30
mov dword [rbp - 0x10], eax
mov ecx, eax
call fcn.14000cca8
mov r15, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x20], ecx
mov r9, r15
mov edx, 0xb
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x14000a7de
mov ebx, r13d
cmp dword [rbp - 0xc], r13d
jbe 0x14000a5c9
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8d, 1
mov rdx, qword [r15 + rcx*8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x14000a5c2
mov ecx, 0x1fa0
call fcn.14000cca8
mov rsi, rax
mov dword [rbp], r13d
lea r9, [rbp]
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x14000a5b9
lea rdx, str.i64.sys
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14000a71f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp - 0xc]
jb 0x14000a550
mov rcx, r15
call fcn.14000cc74
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0xc], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 3]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x14000a61e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000a7e6
mov eax, dword [rbp - 0x10]
add eax, 0x30
mov dword [rbp - 0x10], eax
mov ecx, eax
call fcn.14000cca8
mov rdi, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov edx, 0xb
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x14000a7d9
mov ebx, r13d
cmp dword [rbp - 0xc], r13d
jbe 0x14000a6f7
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm0, xmmword [rdi + rcx*8]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rdi + rcx*8 + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov dword [rbp], 3
mov dword [rbp + 4], 0x4b212e3e
mov eax, r13d
nop dword [rax + rax]
mov ecx, eax
lea rdx, [rbp + 4]
add rdx, rcx
lea ecx, [rax + 0x48]
xor byte [rdx], cl
inc eax
mov ecx, dword [rbp]
cmp eax, ecx
jb 0x14000a6b0
mov byte [rbp + rcx + 4], 0
lea rdx, [rbp + 4]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14000a6f0
mov eax, dword [rbp - 0x5c]
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x14000a7e6
inc ebx
cmp ebx, dword [rbp - 0xc]
jb 0x14000a680
mov rcx, rdi
call fcn.14000cc74
cmp qword [r12 + 0x18], 0x10
jb 0x14000a70b
mov r12, qword [r12]
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
jb 0x14000a735
mov rdx, qword [rbp + 0x10]
mov r8, rdx
jmp 0x14000a739
mov rcx, r15
call fcn.14000cc74
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000a5d1
lea rdx, [rbp + 0x10]
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], r12
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
test rax, rax
jne 0x14000a7b1
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
lea r8d, [rax + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x14000a7b1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000a7e6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000a7e9
mov rcx, rdi
jmp 0x14000a7e1
mov rcx, r15
call fcn.14000cc74
xor dil, dil
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14000a827
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a822
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14000c8d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret