Function at 0x14000aa80
Capabilities:
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jns 0x14000aac5
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
xor r8d, r8d
lea rdx, [0x140014010]
jmp 0x14000ab34
movzx r8d, byte [rbp - 0x19]
shl r8d, 8
movzx eax, byte [rbp - 0x18]
or r8d, eax
movzx ecx, word [rbp - 0x1b]
movzx edx, word [rbp - 0x1d]
mov rax, qword [rbp - 0x17]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x21]
lea r8, str._08x__04x__04x__04x__012llx
mov edx, 0x27
lea rcx, [rbp + 0x1f]
call fcn.140007ef0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp + 0x1f]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000ab26
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140006fb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov r8d, 0xb
lea rdx, str.MachineGuid
lea rcx, [rbp + 0x1f]
call fcn.140006fb0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov r8d, 0x1f
lea rdx, str.SOFTWAREMicrosoftCryptography
lea rcx, [rbp - 0x21]
call fcn.140006fb0
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ac01
mov eax, dword [rbp + 0xf]
inc eax
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rdx, qword [rbp + 0x1f]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14000ac3f
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
movdqa xmm0, xmmword [0x140014520]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14000ac8f
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000accd
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000acc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000acc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140010160
add rsp, 0xc0
pop rbp
ret