Function at 0x140025410
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 0x1400254fe
mov rcx, r9
nop word [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0x80], 0x40
je 0x14002549c
inc edx
add rcx, 0x10
movsxd rax, edx
cmp rax, r8
jb 0x140025480
jmp 0x1400254fe
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 0x1400254c5
call fcn.1400015f0
jmp 0x1400254e5
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
xor r8d, r8d
lea rdx, [0x140062ce8]
call fcn.140001350
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 0x14002580d
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.140014120
cmp qword [rax + 0x18], 0x10
jb 0x140025539
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 0x14002558a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025585
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025874
call fcn.140027ffc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rsi, rsi
je 0x1400255ba
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
jmp 0x14002580d
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, [0x1400631cc]
lea rcx, [rbp - 0x28]
call fcn.140001350
nop
lea rdx, [rbp - 8]
cmp rbx, 0x10
cmovae rdx, qword [rbp - 8]
mov r8, r14
lea rcx, [rbp - 0x28]
call fcn.1400028d0
mov r8d, 0xa
lea rdx, str.___service
lea rcx, [rbp - 0x28]
call fcn.1400028d0
lea rsi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rsi, qword [rbp - 0x28]
mov edx, 9
lea rcx, [rbp - 0x70]
call fcn.140014120
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14002563d
mov rbx, qword [rax]
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.140014120
cmp qword [rax + 0x18], 0x10
jb 0x140025656
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 0x1400256e0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400256db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002587a
call fcn.140027ffc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002572c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025880
call fcn.140027ffc
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test rbx, rbx
jne 0x14002574f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor dil, dil
jmp 0x1400257be
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 0x1400257f9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400257f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025886
call fcn.140027ffc
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rbx, qword [rbp + 0x10]
cmp rbx, 0x10
jb 0x140025841
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002583c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002586e
call fcn.140027ffc
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140027fa0
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.14002e938
nop
call fcn.14002e938
nop
call fcn.14002e938
nop
call fcn.14002e938
nop
call fcn.14002e938
int3