Function at 0x140024f40
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 0x14002502e
mov rcx, r9
nop word [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0x80], 0x40
je 0x140024fcc
inc edx
add rcx, 0x10
movsxd rax, edx
cmp rax, r8
jb 0x140024fb0
jmp 0x14002502e
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 0x140024ff5
call fcn.1400012e0
jmp 0x140025015
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
xor r8d, r8d
lea rdx, [0x140061cb8]
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 0x14002533d
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025069
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 0x1400250ba
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400250b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253a4
call fcn.140027b1c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rsi, rsi
je 0x1400250ea
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
jmp 0x14002533d
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, [0x1400621d4]
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 0x14002516d
mov rbx, qword [rax]
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025186
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 0x140025210
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002520b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253aa
call fcn.140027b1c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002525c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253b0
call fcn.140027b1c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test rbx, rbx
jne 0x14002527f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor dil, dil
jmp 0x1400252ee
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 0x140025329
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253b6
call fcn.140027b1c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rbx, qword [rbp + 0x10]
cmp rbx, 0x10
jb 0x140025371
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002536c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002539e
call fcn.140027b1c
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140027ad0
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.14002e468
nop
call fcn.14002e468
nop
call fcn.14002e468
nop
call fcn.14002e468
nop
call fcn.14002e468
int3