Function at 0x14000cf58
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 [0x1400afa38]
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.14000e98c
nop
cmp qword [r15 + 0x10], r13
jne 0x14000cfcc
mov rdi, 0xffffffff80000001
jmp 0x14000d073
mov rdi, 0xffffffff80000003
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.14000dc88
lea rcx, [0x140094940]
call fcn.140052744
mov r8, rax
lea rdx, [0x140094940]
lea rcx, [rbp - 0x29]
call fcn.14000f52c
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.14000e98c
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.14000f52c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14000d073
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d06e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d1f1
call fcn.14002a510
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 0x14000d0ad
mov rbx, qword [rbp - 0x51]
jmp 0x14000d100
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 0x14000d0fc
mov edi, r13d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x14000d162
cmp qword [rsi + 0x18], 8
jb 0x14000d10a
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x14000d114
mov r14, qword [r14]
test rsi, rsi
jne 0x14000d11e
lea edi, [rsi + 0xd]
jmp 0x14000d14f
mov rcx, rsi
call fcn.140052744
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 0x14000d160
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 0x14000d1a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d19d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d1eb
call fcn.14002a510
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
test rbx, rbx
je 0x14000d1c1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140072030
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.140052fa0
nop
call fcn.140052fa0
int3