Function at 0x14000a500
Capabilities:
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 - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 9], r14d
cmp qword [rcx + 0x18], 0xf
jbe 0x14000a54c
mov rdi, qword [rcx]
mov rbx, rdi
add rdi, qword [rcx + 0x10]
jmp 0x14000a553
mov rdi, qword [rcx + 0x10]
add rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
cmp rbx, rdi
jne 0x14000a579
mov r8, r14
mov ecx, 7
mov qword [rbp - 0x11], rcx
mov word [rbp - 0x29], r14w
jmp 0x14000a695
sub rdi, rbx
mov qword [rbp - 0x11], 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x14000aa6f
mov esi, 7
cmp rdi, rsi
jbe 0x14000a649
mov rsi, rdi
or rsi, 7
cmp rsi, rax
jbe 0x14000a5fe
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14000a63a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000aa69
mov rcx, rax
call fcn.1400102a0
mov rcx, rax
test rax, rax
je 0x14000a633
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x11], rsi
jmp 0x14000a64d
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000aa69
add rcx, rcx
jne 0x14000a5c2
mov rax, r14
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x11], rsi
jmp 0x14000a64d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400102a0
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x11], rsi
jmp 0x14000a64d
mov rax, qword [rbp - 0x29]
lea r8, [rbp - 0x29]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rdi
test rdi, rdi
je 0x14000a684
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x14000a670
mov qword [rbp - 0x19], rdi
mov word [r8 + rdi*2], r14w
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
mov rax, rcx
sub rax, r8
cmp rax, 0x42
jb 0x14000a73a
lea rax, [r8 + 0x42]
mov qword [rbp - 0x19], rax
lea rdi, [rbp - 0x29]
cmp rcx, 7
cmova rdi, qword [rbp - 0x29]
lea rax, [0x140014174]
lea rsi, str.SoftwareMicrosoftWindowsCurrentVersionSystemProtectedUserData_
cmp rax, rdi
jbe 0x14000a6eb
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x14000a6eb
cmp rdi, rsi
ja 0x14000a6e0
mov rbx, r14
jmp 0x14000a6f0
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x14000a6f0
mov ebx, 0x42
lea rcx, [rdi + 0x84]
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, 0x84
sub r8, rbx
lea rdx, [rsi + 0x84]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x29]
jmp 0x14000a751
mov qword [rsp + 0x28], 0x42
mov edx, 0x42
lea rcx, [rbp - 0x29]
call fcn.14000f0d0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
sub rax, rdi
cmp rax, 0x21
jb 0x14000a7ca
lea rax, [rdi + 0x21]
mov qword [rbp + 0x17], rax
lea rbx, [rbp + 7]
cmp rcx, 7
cmova rbx, qword [rbp + 7]
lea rcx, [rbx + rdi*2]
mov r8d, 0x42
lea rdx, str.SystemCurrentControlSetControl
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x42], r14w
lea rax, [rbp + 7]
jmp 0x14000a7e8
mov qword [rsp + 0x20], 0x21
lea r9, str.SystemCurrentControlSetControl
mov edx, 0x21
lea rcx, [rbp + 7]
call fcn.14000e7a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14000a859
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a854
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
movdqa xmm0, xmmword [0x140014510]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r14w
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x14000a8ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a8a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a8a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a9fd
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], al
mov dword [rbp - 9], 7
mov ebx, 0xc
movabs rdi, 0x842108421084211
lea rsi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
cmp rcx, rdx
jae 0x14000a96e
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rdx, 0xf
cmova rax, qword [rbp + 7]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000a977
lea rcx, [rbp + 7]
call fcn.1400072f0
sub rbx, 1
jne 0x14000a916
mov eax, dword [rbp + 0x17]
inc eax
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Username
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14000a9fd
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a9f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a9f7
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 + 0x3f]
cmp rdx, 7
jbe 0x14000aa40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aa3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aa3b
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
lea r11, [rsp + 0xb0]
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.140001120
int3
call fcn.1400011c0
int3