Function at 0x14007d7a0
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 [0x14015a010]
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 0x14007d8ac
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14007d9ba
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14007d81a
mov rcx, qword [rdi]
lea rsi, [rcx + rax*2]
mov rbx, rdi
jb 0x14007d826
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x14007d863
nop dword [rax + rax]
cmp rdx, qword [rbp + 0xf]
je 0x14007d84a
movzx eax, word [rbx]
mov word [rdx], ax
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14007d85a
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.14004b220
mov rdx, qword [rbp + 7]
add rbx, 2
cmp rbx, rsi
jne 0x14007d830
xor ebx, ebx
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14007d880
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14007d891
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14004b220
mov rdx, qword [rbp + 7]
add rdi, 0x20
cmp rdi, r14
jne 0x14007d800
mov r14, qword [r12 + 8]
mov rdi, qword [r12]
cmp rdi, r14
jne 0x14007d8d8
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14007d8c7
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x14007d8d8
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14004b220
mov rdx, qword [rbp + 7]
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x14007d8f3
mov word [rdx], bx
mov rax, qword [rbp + 7]
add rax, 2
mov qword [rbp + 7], rax
jmp 0x14007d904
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14004b220
mov rax, qword [rbp + 7]
mov rcx, qword [rbp - 1]
sub rax, rcx
sar rax, 1
cmp rax, 0x7fffffff
ja 0x14007d9ef
lea r8d, [rax + rax]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14007d92b
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 0x14007da10
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14007d98d
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d9b4
call fcn.1400c59a0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c5980
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.1400da6f8
nop
lea rdx, str.Empty_REG_MULTI_SZ_entries_are_not_valid_in_Windows
lea rcx, [rbp - 0x41]
call fcn.14000c390
nop
xor r9d, r9d
mov r8, r15
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rbp - 0x21]
call fcn.1400cb8d0
nop
lea rdx, str.Buffer_too_large_for_RegSetValueExW
lea rcx, [rbp - 0x41]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rbp - 0x41]
call fcn.1400cb8d0
int3
lea rdx, str.RegSetValueExW_failed
lea rcx, [rbp - 0x21]
call fcn.14000c390
nop
mov r9d, ebx
mov r8, r15
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rbp - 0x41]
call fcn.1400cb8d0
int3