Function at 0x140107f36
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
jmp 0x140194cb0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x320
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x70]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x348]
mov rax, qword [0x1403b9180]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
mov dword [rbp + 0x274], 0
lea rcx, [0x1403df120]
call fcn.140108c51
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
jmp 0x140194d30
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 5
jae 0x140194f26
cmp qword [rbp + 8], 0
jne 0x140194f26
mov rcx, qword [rbp + 0x2f0]
call fcn.1401046b5
mov qword [rbp + 0x288], rax
mov rcx, qword [rbp + 0x2e8]
call fcn.1401017c1
mov qword [rbp + 0x290], rax
mov rcx, qword [rbp + 0x2e0]
call fcn.1401017c1
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x2d0]
mov rcx, rax
call fcn.140104bbf
mov qword [rbp + 0x2a0], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov r8, qword [rbp + 0x290]
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140194f21
mov edx, 0x18
lea rcx, [rbp + 0x48]
call fcn.14010231f
lea rax, [rbp + 0x250]
mov rdi, rax
mov rsi, qword [rbp + 0x2e0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x250]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x2d0]
call fcn.140105380
nop
lea rcx, [rbp + 0x48]
call fcn.14010323d
movzx eax, al
test eax, eax
jne 0x140194e72
lea rcx, [rbp + 0x48]
call fcn.140105501
jmp 0x140194d25
lea rcx, [rbp + 0x48]
call fcn.14010169a
mov rdx, rax
mov rcx, qword [rbp + 0x2d0]
call fcn.1401044a3
movzx eax, al
test eax, eax
jne 0x140194eea
lea rax, [rbp + 0x154]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x154]
lea rcx, [rbp + 0x134]
call fcn.140102892
mov rdx, rax
mov rcx, qword [rbp + 0x2d8]
call fcn.140106feb
mov eax, dword [rbp + 0x274]
or eax, 1
mov dword [rbp + 0x274], eax
lea rcx, [rbp + 0x48]
call fcn.140105501
mov rax, qword [rbp + 0x2d8]
jmp 0x140195066
lea rcx, [rbp + 0x48]
call fcn.140106230
mov qword [rbp + 0x288], rax
xor edx, edx
mov rcx, qword [rbp + 0x288]
call fcn.140106307
nop
lea rcx, [rbp + 0x48]
call fcn.140105501
jmp 0x140194d25
jmp 0x140194d25
cmp qword [rbp + 8], 0
jne 0x140194f7d
lea rax, [rbp + 0x194]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x194]
lea rcx, [rbp + 0x174]
call fcn.140102892
mov rdx, rax
mov rcx, qword [rbp + 0x2d8]
call fcn.140106feb
mov eax, dword [rbp + 0x274]
or eax, 1
mov dword [rbp + 0x274], eax
mov rax, qword [rbp + 0x2d8]
jmp 0x140195066
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x140194f99
mov byte [rbp + 0x284], 1
jmp 0x140194fa0
mov byte [rbp + 0x284], 0
movzx eax, byte [rbp + 0x284]
test eax, eax
jne 0x140195005
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140195005
lea rax, [rbp + 0x1d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x1d4]
lea rcx, [rbp + 0x1b4]
call fcn.140102892
mov rdx, rax
mov rcx, qword [rbp + 0x2d8]
call fcn.140106feb
mov eax, dword [rbp + 0x274]
or eax, 1
mov dword [rbp + 0x274], eax
mov rax, qword [rbp + 0x2d8]
jmp 0x140195066
mov rax, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x228], rax
lea r8, [rbp + 0x228]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x1f8]
call fcn.14010321a
mov qword [rbp + 0x288], rax
mov rdx, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x2d8]
call fcn.14010655a
mov eax, dword [rbp + 0x274]
or eax, 1
mov dword [rbp + 0x274], eax
lea rcx, [rbp + 0x1f8]
call fcn.1401063ac
mov rax, qword [rbp + 0x2d8]
mov rdi, rax
lea rcx, [rbp - 0x70]
lea rdx, [0x140325e60]
call fcn.140107720
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.140104c82
lea rsp, [rbp + 0x2b0]
pop rdi
pop rsi
pop rbp
ret