Function at 0x1400117f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140089140]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400118e2
movsxd rdx, eax
lea rax, str.Error_opening_registry_key:
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x140011870
lea rcx, [rsp + 0x40]
call fcn.140020d00
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400118c0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ab3
call fcn.14003f250
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003f230
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov eax, dword [rdi + 0x10]
inc eax
cmp qword [rdi + 0x18], 0xf
jbe 0x1400118f1
mov rdi, qword [rdi]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400118fe
mov rdx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movsxd rdi, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x140011a30
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x14
jb 0x140011ab9
cmp qword [rbx + 0x18], 0xf
jbe 0x140011956
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x14
lea r9, str.Successfully_added_
lea rcx, [rsp + 0x40]
call fcn.140022740
nop
mov r8d, 0xd
lea rdx, str._to_startup.
lea rcx, [rsp + 0x40]
call fcn.14001d490
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 0xf
jbe 0x1400119eb
inc rdx
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400119e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011aa7
call fcn.14003f250
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400118c0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011aad
jmp 0x1400118bb
lea rdx, str.Error_adding_startup_program:
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140011a53
lea rcx, [rsp + 0x40]
call fcn.140020d00
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400118c0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ab3
jmp 0x1400118bb
call fcn.1400497f0
nop
call fcn.1400497f0
int3
call fcn.1400497f0
int3
call fcn.140002410
int3