Function at 0x1400076b0
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 - 0x1f]
sub rsp, 0xc0
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov r12, r8
mov r15, rdx
mov rsi, qword [rbp + 0x7f]
xor r13d, r13d
mov ebx, r13d
mov qword [rbp - 0x41], rbx
mov dword [rbp - 0x39], r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], r13
mov rdx, r8
lea rcx, [rbp - 0x29]
call fcn.1400096ec
nop
cmp qword [r15 + 0x10], r13
jne 0x140007724
mov rdi, 0xffffffff80000001
jmp 0x1400077cb
mov rdi, 0xffffffff80000003
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.1400056f8
lea rcx, [0x1400a6488]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a6488]
lea rcx, [rbp - 0x29]
call fcn.140005684
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.1400096ec
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.140005684
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400077cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007949
call fcn.1400222c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov qword [rbp - 0x51], r13
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r15d, 0x2001f
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007805
mov rbx, qword [rbp - 0x51]
jmp 0x140007858
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov qword [rbp - 0x49], r13
lea rax, [rbp - 0x51]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x140007854
mov edi, r13d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x1400078ba
cmp qword [rsi + 0x18], 8
jb 0x140007862
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x14000786c
mov r14, qword [r14]
test rsi, rsi
jne 0x140007876
lea edi, [rsi + 0xd]
jmp 0x1400078a7
mov rcx, rsi
call fcn.140065fe4
lea r8d, [rax*2 + 2]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test rbx, rbx
je 0x1400078b8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
test edi, edi
sete dil
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1400078fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007943
call fcn.1400222c0
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
test rbx, rbx
je 0x140007919
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140065e1c
nop
call fcn.140065e1c
int3