Function at 0x140088c70
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 [0x14016b010]
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 0x140088d7c
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140088e8a
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140088cea
mov rcx, qword [rdi]
lea rsi, [rcx + rax*2]
mov rbx, rdi
jb 0x140088cf6
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x140088d33
nop dword [rax + rax]
cmp rdx, qword [rbp + 0xf]
je 0x140088d1a
movzx eax, word [rbx]
mov word [rdx], ax
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x140088d2a
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.14008a620
mov rdx, qword [rbp + 7]
add rbx, 2
cmp rbx, rsi
jne 0x140088d00
xor ebx, ebx
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x140088d50
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x140088d61
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14008a620
mov rdx, qword [rbp + 7]
add rdi, 0x20
cmp rdi, r14
jne 0x140088cd0
mov r14, qword [r12 + 8]
mov rdi, qword [r12]
cmp rdi, r14
jne 0x140088da8
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x140088d97
mov word [rdx], bx
mov rdx, qword [rbp + 7]
add rdx, 2
mov qword [rbp + 7], rdx
jmp 0x140088da8
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14008a620
mov rdx, qword [rbp + 7]
mov word [rbp - 0x49], bx
cmp rdx, qword [rbp + 0xf]
je 0x140088dc3
mov word [rdx], bx
mov rax, qword [rbp + 7]
add rax, 2
mov qword [rbp + 7], rax
jmp 0x140088dd4
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14008a620
mov rax, qword [rbp + 7]
mov rcx, qword [rbp - 1]
sub rax, rcx
sar rax, 1
cmp rax, 0x7fffffff
ja 0x140088ebf
lea r8d, [rax + rax]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140088dfb
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 0x140088ee0
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140088e5d
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088e58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140088e84
call fcn.1400d45f0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d45d0
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.1400e6180
nop
lea rdx, str.Empty_REG_MULTI_SZ_entries_are_not_valid_in_Windows
lea rcx, [rbp - 0x41]
call fcn.14000d650
nop
xor r9d, r9d
mov r8, r15
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140087830
lea rdx, [0x140168778]
lea rcx, [rbp - 0x21]
call fcn.1400d9ba0
nop
lea rdx, str.Buffer_too_large_for_RegSetValueExW
lea rcx, [rbp - 0x41]
call fcn.140007880
lea rdx, [0x140167958]
lea rcx, [rbp - 0x41]
call fcn.1400d9ba0
int3
lea rdx, str.RegSetValueExW_failed
lea rcx, [rbp - 0x21]
call fcn.14000d650
nop
mov r9d, ebx
mov r8, r15
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140087830
lea rdx, [0x140168778]
lea rcx, [rbp - 0x41]
call fcn.1400d9ba0
int3