Function at 0x14001cb90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, r9
mov r15, r8
mov r13, rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov rdi, qword [r9]
mov r14, qword [r9 + 8]
mov rdx, qword [rbp + 7]
cmp rdi, r14
je 0x14001cc9c
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14001cdaa
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001cc0a
mov rcx, qword [rdi]
lea rsi, [rcx + rax*2]
mov rbx, rdi
jb 0x14001cc16
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x14001cc53
nop dword [rax + rax]
cmp rdx, qword [rbp + 0xf]
je 0x14001cc3a
movzx eax, word [rbx]
mov word [rdx], ax
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14001cc4a
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.140021d30
mov rdx, qword [rbp + 7]
add rbx, 2
cmp rbx, rsi
jne 0x14001cc20
xor ebx, ebx
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14001cc70
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14001cc81
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.140021d30
mov rdx, qword [rbp + 7]
add rdi, 0x20
cmp rdi, r14
jne 0x14001cbf0
mov r14, qword [r12 + 8]
mov rdi, qword [r12]
cmp rdi, r14
jne 0x14001ccc8
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14001ccb7
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14001ccc8
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.140021d30
mov rdx, qword [rbp + 7]
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14001cce3
mov word [rdx], bx
mov rax, qword [rbp + 7]
add rax, 2
mov qword [rbp + 7], rax
jmp 0x14001ccf4
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.140021d30
mov rax, qword [rbp + 7]
mov rcx, qword [rbp - 1]
sub rax, rcx
sar rax, 1
cmp rax, 0x7fffffff
ja 0x14001cddf
lea r8d, [rax + rax]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14001cd1b
mov rdx, qword [r15]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rcx
mov r9d, 7
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14001ce00
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14001cd7d
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cda4
call fcn.14005a750
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14005a730
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006538c
nop
lea rdx, str.Empty_REG_MULTI_SZ_entries_are_not_valid_in_Windows
lea rcx, [rbp - 0x41]
call fcn.140002f20
nop
xor r9d, r9d
mov r8, r15
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.14001b460
lea rdx, [0x1400b6340]
lea rcx, [rbp - 0x21]
call fcn.14005f880
nop
lea rdx, str.Buffer_too_large_for_RegSetValueExW
lea rcx, [rbp - 0x41]
call fcn.140001d40
lea rdx, [0x1400b5fc8]
lea rcx, [rbp - 0x41]
call fcn.14005f880
int3
lea rdx, str.RegSetValueExW_failed
lea rcx, [rbp - 0x21]
call fcn.140002f20
nop
mov r9d, ebx
mov r8, r15
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.14001b460
lea rdx, [0x1400b6340]
lea rcx, [rbp - 0x41]
call fcn.14005f880
int3