Function at 0x1400076c0
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 [0x1400bba20]
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.14000930c
nop
cmp qword [r15 + 0x10], r13
jne 0x140007734
mov rdi, 0xffffffff80000001
jmp 0x1400077db
mov rdi, 0xffffffff80000003
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.140005700
lea rcx, [0x14009e290]
call fcn.14005e694
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x29]
call fcn.14000568c
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.14000930c
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.14000568c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400077db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007959
call fcn.140028010
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 0x140007815
mov rbx, qword [rbp - 0x51]
jmp 0x140007868
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 0x140007864
mov edi, r13d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x1400078ca
cmp qword [rsi + 0x18], 8
jb 0x140007872
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x14000787c
mov r14, qword [r14]
test rsi, rsi
jne 0x140007886
lea edi, [rsi + 0xd]
jmp 0x1400078b7
mov rcx, rsi
call fcn.14005e694
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 0x1400078c8
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 0x14000790a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007953
call fcn.140028010
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
test rbx, rbx
je 0x140007929
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140079240
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.14005e4cc
nop
call fcn.14005e4cc
int3