Function at 0x140025400
Capabilities:
Check for time delay via gettickcount
Create service
Modify service
Persist via windows service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r15d, r15d
mov qword [rbp - 8], r15
mov r14d, r15d
mov qword [rbp + 8], r15
mov ebx, 0xf
mov qword [rbp + 0x10], rbx
mov byte [rbp - 8], r14b
mov edx, r15d
mov r9, qword [rcx]
mov r8, qword [rcx + 8]
sub r8, r9
sar r8, 4
test r8, r8
je 0x1400254ee
mov rcx, r9
nop word [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0x80], 0x40
je 0x14002548c
inc edx
add rcx, 0x10
movsxd rax, edx
cmp rax, r8
jb 0x140025470
jmp 0x1400254ee
movsxd rax, edx
add rax, rax
mov rax, qword [r9 + rax*8]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
lea rcx, [rsp + 0x70]
je 0x1400254b5
call fcn.1400012e0
jmp 0x1400254d5
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
xor r8d, r8d
lea rdx, [0x140062ca8]
call fcn.1400019d0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp + 8], xmm1
mov rbx, qword [rbp + 0x10]
mov r14, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400257fd
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025529
mov rax, qword [rax]
mov r8d, 0x24
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14002557a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025864
call fcn.140027fdc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rsi, rsi
je 0x1400255aa
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
jmp 0x1400257fd
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov r8d, 1
lea rdx, [0x1400631c4]
lea rcx, [rbp - 0x28]
call fcn.1400019d0
nop
lea rdx, [rbp - 8]
cmp rbx, 0x10
cmovae rdx, qword [rbp - 8]
mov r8, r14
lea rcx, [rbp - 0x28]
call fcn.1400028c0
mov r8d, 0xa
lea rdx, str.___service
lea rcx, [rbp - 0x28]
call fcn.1400028c0
lea rsi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rsi, qword [rbp - 0x28]
mov edx, 9
lea rcx, [rbp - 0x70]
call fcn.1400140b0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14002562d
mov rbx, qword [rax]
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025646
mov rax, qword [rax]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rsi
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_CreateServiceA]
mov rbx, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400256d0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400256cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002586a
call fcn.140027fdc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002571c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025717
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025870
call fcn.140027fdc
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test rbx, rbx
jne 0x14002573f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor dil, dil
jmp 0x1400257ae
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x38], 3
lea rax, [rbp + 0x18]
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x18], 1
mov dword [rbp + 0x1c], 0xea60
mov dword [rbp + 0x20], 1
mov dword [rbp + 0x24], 0xea60
mov dword [rbp + 0x28], 1
mov dword [rbp + 0x2c], 0xea60
lea r8, [rbp - 0x50]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400257e9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400257e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025876
call fcn.140027fdc
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rbx, qword [rbp + 0x10]
cmp rbx, 0x10
jb 0x140025831
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002582c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002585e
call fcn.140027fdc
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140027f90
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002e928
nop
call fcn.14002e928
nop
call fcn.14002e928
nop
call fcn.14002e928
nop
call fcn.14002e928
int3