Function at 0x140024f60
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 0x14002504e
mov rcx, r9
nop word [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0x80], 0x40
je 0x140024fec
inc edx
add rcx, 0x10
movsxd rax, edx
cmp rax, r8
jb 0x140024fd0
jmp 0x14002504e
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 0x140025015
call fcn.1400012e0
jmp 0x140025035
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 0x14002535d
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140025089
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 0x1400250da
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400250d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253c4
call fcn.140027b3c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rsi, rsi
je 0x14002510a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dil, 1
jmp 0x14002535d
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 0x14002518d
mov rbx, qword [rax]
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x1400251a6
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 0x140025230
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002522b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253ca
call fcn.140027b3c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002527c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253d0
call fcn.140027b3c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test rbx, rbx
jne 0x14002529f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor dil, dil
jmp 0x14002530e
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 0x140025349
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253d6
call fcn.140027b3c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rbx, qword [rbp + 0x10]
cmp rbx, 0x10
jb 0x140025391
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002538c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400253be
call fcn.140027b3c
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140027af0
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.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
int3