Function at 0x140024fc0
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 [0x14006b030]
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 0x1400250ae
mov rcx, r9
nop word [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0x80], 0x40
je 0x14002504c
inc edx
add rcx, 0x10
movsxd rax, edx
cmp rax, r8
jb 0x140025030
jmp 0x1400250ae
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 0x140025075
call fcn.1400012e0
jmp 0x140025095
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
xor r8d, r8d
lea rdx, [0x140061ca8]
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 0x1400253bd
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x1400250e9
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 0x14002513a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025135
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025424
call fcn.140027b9c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rsi, rsi
je 0x14002516a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
jmp 0x1400253bd
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, [0x1400621c4]
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 0x1400251ed
mov rbx, qword [rax]
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025206
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 0x140025290
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002528b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002542a
call fcn.140027b9c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400252dc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400252d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025430
call fcn.140027b9c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test rbx, rbx
jne 0x1400252ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor dil, dil
jmp 0x14002536e
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 0x1400253a9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025436
call fcn.140027b9c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rbx, qword [rbp + 0x10]
cmp rbx, 0x10
jb 0x1400253f1
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002541e
call fcn.140027b9c
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140027b50
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.14002e4e8
nop
call fcn.14002e4e8
nop
call fcn.14002e4e8
nop
call fcn.14002e4e8
nop
call fcn.14002e4e8
int3