Function at 0x140001d60
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x68
cmp qword [rdx + 0x20], 0x10
mov rbx, r9
mov rdi, r8
mov rsi, rdx
jb 0x140001d87
lea rbp, [rdx + 8]
mov rdx, qword [rdx + 8]
jmp 0x140001d8e
lea rbp, [rdx + 8]
mov rdx, rbp
xor r15d, r15d
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov r12d, eax
jne 0x140001f97
cmp qword [rdi + 0x18], r15
jne 0x140001e45
cmp qword [rsi + 0x20], 0x10
jb 0x140001de6
mov rcx, qword [rbp]
call fcn.140007e20
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], r15
mov byte [rbp], r15b
cmp qword [rdi + 0x20], 0x10
jb 0x140001e06
mov rcx, qword [rdi + 8]
call fcn.140007e20
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r15
mov byte [rdi + 8], r15b
cmp qword [rbx + 0x20], 0x10
jb 0x140001e26
mov rcx, qword [rbx + 8]
call fcn.140007e20
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r15
xor eax, eax
mov byte [rbx + 8], r15b
add rsp, 0x68
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rbx + 0x20], 0x10
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x60], r14
jb 0x140001e5f
mov rax, qword [rbx + 8]
lea r12, [rbx + 8]
jmp 0x140001e66
lea r12, [rbx + 8]
mov rax, r12
cmp qword [rdi + 0x20], 0x10
mov qword [rsp + 0xa0], r13
jb 0x140001e7f
mov rdx, qword [rdi + 8]
lea r13, [rdi + 8]
jmp 0x140001e86
lea r13, [rdi + 8]
mov rdx, r13
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov r14d, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
je 0x140001f33
cmp qword [rsi + 0x20], 0x10
jb 0x140001ec6
mov rcx, qword [rbp]
call fcn.140007e20
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], r15
mov byte [rbp], r15b
cmp qword [rdi + 0x20], 0x10
jb 0x140001ee6
mov rcx, qword [r13]
call fcn.140007e20
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r15
mov byte [r13], r15b
cmp qword [rbx + 0x20], 0x10
jb 0x140001f06
mov rcx, qword [r12]
call fcn.140007e20
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r15
mov eax, r14d
mov byte [r12], r15b
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rsi + 0x20], 0x10
jb 0x140001f43
mov rcx, qword [rbp]
call fcn.140007e20
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], r15
mov byte [rbp], r15b
cmp qword [rdi + 0x20], 0x10
jb 0x140001f63
mov rcx, qword [r13]
call fcn.140007e20
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r15
mov byte [r13], r15b
cmp qword [rbx + 0x20], 0x10
jb 0x140001f83
mov rcx, qword [r12]
call fcn.140007e20
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r15
xor eax, eax
mov byte [r12], r15b
jmp 0x140001f19
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsi + 0x20], 0x10
jb 0x140001fb2
mov rcx, qword [rbp]
call fcn.140007e20
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], r15
mov byte [rbp], r15b
cmp qword [rdi + 0x20], 0x10
jb 0x140001fd2
mov rcx, qword [rdi + 8]
call fcn.140007e20
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r15
mov byte [rdi + 8], r15b
cmp qword [rbx + 0x20], 0x10
jb 0x140001ff2
mov rcx, qword [rbx + 8]
call fcn.140007e20
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r15
mov eax, r12d
mov byte [rbx + 8], r15b
add rsp, 0x68
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret