Function at 0x180013a40
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180063080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
mov r8, rcx
lea rcx, [rbp - 0x70]
call fcn.180017ec0
nop
mov r8d, 1
lea rdx, [0x18005a720]
mov rcx, rax
call fcn.180007260
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x180013ad2
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x30]
lea rcx, [rsp + 0x70]
call fcn.180007260
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180013b3a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013b35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013dd7
call fcn.1800205d4
movdqa xmm0, xmmword [0x18005abe0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180013b87
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013b82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013ddd
call fcn.1800205d4
movdqa xmm0, xmmword [0x18005abe0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r14, [rbp - 0x10]
mov rbx, qword [rbp - 0x10]
mov r15, qword [rbp + 8]
cmp r15, 0x10
cmovae r14, rbx
mov rsi, qword [rbp]
cmp rsi, 0x10
jae 0x180013bd7
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 0xf
jmp 0x180013c57
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rax, [rdi + 1]
cmp rax, 0x1000
jb 0x180013c2c
lea rcx, [rax + 0x27]
mov rdx, 0xffffffffffffffff
cmp rcx, rax
cmovbe rcx, rdx
call fcn.1800205dc
mov rcx, rax
test rax, rax
je 0x180013de3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180013c3e
test rax, rax
je 0x180013c3b
mov rcx, rax
call fcn.1800205dc
jmp 0x180013c3e
mov rax, r12
mov qword [rsp + 0x50], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.180022420
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.18000e700
mov qword [rbp - 0x48], r12
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180013ce8
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180013d24
mov dword [rbp - 0x40], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Expire_Promotion
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180013d64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013de9
call fcn.1800205d4
movdqa xmm0, xmmword [0x18005abd0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
cmp r15, 0x10
jb 0x180013da9
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180013da1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013dd1
mov rcx, rbx
call fcn.1800205d4
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800205b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18002c92c
nop
call fcn.18002c92c
nop
call fcn.18002c92c
int3
call fcn.18002c92c
int3
call fcn.18002c92c
int3