Function at 0x1400076a0
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 [0x1400bca20]
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.14000931c
nop
cmp qword [r15 + 0x10], r13
jne 0x140007714
mov rdi, 0xffffffff80000001
jmp 0x1400077bb
mov rdi, 0xffffffff80000003
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.1400056e0
lea rcx, [0x14009f290]
call fcn.14005fd94
mov r8, rax
lea rdx, [0x14009f290]
lea rcx, [rbp - 0x29]
call fcn.14000566c
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.14000931c
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.14000566c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400077bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007939
call fcn.140027b00
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 0x1400077f5
mov rbx, qword [rbp - 0x51]
jmp 0x140007848
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 0x140007844
mov edi, r13d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x1400078aa
cmp qword [rsi + 0x18], 8
jb 0x140007852
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x14000785c
mov r14, qword [r14]
test rsi, rsi
jne 0x140007866
lea edi, [rsi + 0xd]
jmp 0x140007897
mov rcx, rsi
call fcn.14005fd94
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 0x1400078a8
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 0x1400078ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007933
call fcn.140027b00
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
test rbx, rbx
je 0x140007909
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14007a950
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.14005fbcc
nop
call fcn.14005fbcc
int3