Function at 0x1400011d0
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x140031430]
movdqu xmmword [rbp - 0x38], xmm1
xor r14d, r14d
mov word [rbp - 0x48], r14w
mov esi, 0xf003f
mov r8d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400014d0
lea r8d, [r14 + 0x1e]
lea rdx, [0x140036ad0]
lea rcx, [rbp - 8]
call fcn.1400054c4
mov rbx, rax
lea r8d, [r14 + 5]
lea rdx, [0x140036b48]
lea rcx, [rbp - 0x28]
call fcn.1400054c4
cmp qword [rbx + 0x18], 7
jbe 0x140001272
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 7
jbe 0x14000127c
mov rax, qword [rax]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
lea rcx, [0x140038500]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r14d
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_CreateServiceW]
mov rbx, rax
lea rcx, [rbp - 0x28]
call fcn.14000276c
nop
lea rcx, [rbp - 8]
call fcn.14000276c
test rbx, rbx
je 0x1400014c6
movdqa xmm0, xmmword [0x140031460]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140031490]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x140031600]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400316b0]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1400316e0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x140031590]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x140031500]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x140031620]
movdqa xmmword [rbp + 0xe0], xmm1
mov r8d, 0x22
mov dword [rbp + 0xf0], r8d
mov dword [rbp + 0xf4], 0xd
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.1400054c4
nop
mov r8d, 5
lea rdx, [0x140036b48]
lea rcx, [rsp + 0x78]
call fcn.1400054c4
nop
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400013b1
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x68]
call fcn.1400029ec
nop
lea rcx, [rsp + 0x78]
call fcn.14000276c
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rsi, r14
test eax, eax
cmove rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x1400014b3
mov r8d, 0x7f
lea rdx, [0x140036b90]
lea rcx, [rsp + 0x78]
call fcn.1400054c4
nop
movdqa xmm0, xmmword [0x1400315d0]
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x140031570]
movdqu xmmword [rbp + 0x48], xmm1
mov dword [rbp + 0x58], gethostname
mov dword [rbp + 0x5c], 0x3e
mov dword [rbp + 0x60], 0x3f
mov r8d, inet_ntoa
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.1400054c4
mov rdx, rax
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova r8, qword [rsp + 0x78]
cmp qword [rax + 0x18], 7
jbe 0x14000147f
mov rdx, qword [rax]
mov eax, dword [rbp - 0x78]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rbp + 0x18]
call fcn.14000276c
nop
lea rcx, [rsp + 0x78]
call fcn.14000276c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rbp - 0x68]
call fcn.14000276c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, 1
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000d100
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret