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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x380], rax
movaps xmm0, xmmword [str.SystemCurrentControlSetServicesProcEXP]
mov rbx, rcx
movaps xmm1, xmmword [0x140021e90]
lea rcx, [rbp - 0x4c]
mov eax, dword [0x140021ed0]
xor edi, edi
movaps xmmword [rsp + 0x60], xmm0
xor edx, edx
movaps xmm0, xmmword [0x140021ea0]
mov r8d, 0x1b4
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140021ec0]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x140021eb0]
movaps xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x50], rdi
movaps xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x50], eax
call fcn.140017ae0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.140017ae0
mov qword [rsp + 0x28], rbx
lea rax, str.___
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x58], edi
mov r8, rbx
mov dword [rsp + 0x5c], edi
lea r9, [0x140021ee8]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.140001010
lea rax, [rsp + 0x5c]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400013cd
mov edx, eax
lea rcx, str.____Failed_to_Create_Key:__d_n
call fcn.140001080
xor eax, eax
jmp 0x1400014fb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140001413
mov edx, eax
lea rcx, str.____Failed_to_Set_Type:__d_n
call fcn.140001080
xor eax, eax
jmp 0x1400014fb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.ErrorControl
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140001459
mov edx, eax
lea rcx, str.____Failed_to_Set_ErrorControl:__d_n
call fcn.140001080
xor eax, eax
jmp 0x1400014fb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.Start
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000149c
mov edx, eax
lea rcx, str.____Failed_to_Set_Start:__d_n
call fcn.140001080
xor eax, eax
jmp 0x1400014fb
lea rax, [rbp + 0x170]
cmp word [rax + rbx*2 + 2], di
lea rbx, [rbx + 1]
jne 0x1400014a3
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x170]
lea ebx, [rbx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ebx
lea rdx, str.ImagePath
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400014f6
mov edx, eax
lea rcx, str.____Failed_to_Set_ImagePath:__d_n
call fcn.140001080
xor eax, eax
jmp 0x1400014fb
mov eax, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400028e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret