Function at 0x140067b00
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea rbp, [rsp + 0x30]
mov rax, qword [0x1403cd210]
xor rax, rbp
mov qword [rbp + 0x30], rax
mov r10, r9
mov esi, r8d
mov r14, rdx
mov r13, rcx
and dword [rbp], 0
and qword [rbp + 8], 0
xor ebx, ebx
mov qword [rbp + 0x18], rbx
xor r12d, r12d
mov dword [rbp + 0x10], r12d
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140067db2
mov eax, dword [rbp + 0xa8]
lea r15d, [rbx + 1]
and eax, r15d
test al, al
jne 0x140067c1d
cmp r8d, r15d
je 0x140067b7e
cmp r8d, 7
jne 0x140067bf6
test r10, r10
je 0x140067bf6
cmp dword [rbp + 0xa0], ebx
je 0x140067bf6
cmp r8d, r15d
jne 0x140067b97
call fcn.1400684cc
jmp 0x140067c14
and qword [rbp + 8], rbx
and dword [rbp], ebx
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
mov r8d, dword [rbp + 0xa0]
mov rdx, r10
call fcn.14006867c
mov ebx, eax
test eax, eax
jne 0x140067be6
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 7]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140067c16
call fcn.14013d394
jmp 0x140067c16
mov eax, dword [rbp + 0xa0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r10
mov r9d, r8d
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov eax, ebx
jmp 0x140067db2
test r10, r10
je 0x140067dad
mov r14d, dword [rbp + 0xa0]
cmp r14d, r15d
jb 0x140067dad
cmp r8d, r15d
je 0x140067c4b
cmp r8d, 7
je 0x140067c4b
mov qword [rbp + 8], r10
mov dword [rbp], r14d
jmp 0x140067c81
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, r8d
mov r8d, r14d
mov rdx, r10
call fcn.1400687f0
mov r14d, eax
test eax, eax
jne 0x140067d7f
mov r12d, r15d
mov dword [rbp + 0x10], r15d
mov r14d, dword [rbp]
lea r15d, [r14 + 0x20]
mov dword [rbp + 0x14], r15d
mov eax, r15d
lea rcx, [r15 + 0x10]
cmp rax, rcx
sbb rdx, rdx
and rdx, rcx
je 0x140067d05
cmp rdx, 0x400
ja 0x140067ce1
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x140067cb7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14011a9c0
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
test rbx, rbx
je 0x140067d07
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x20], rbx
jmp 0x140067d07
mov rcx, rdx
call fcn.140147c44
mov rbx, rax
mov qword [rbp + 0x28], rax
test rax, rax
je 0x140067d07
mov dword [rax], 0xdddd
add rbx, 0x10
mov qword [rbp + 0x28], rbx
jmp 0x140067d07
xor ebx, ebx
mov qword [rbp + 0x18], rbx
jmp 0x140067d2f
test rbx, rbx
jne 0x140067d3a
lea r14d, [rbx + 8]
jmp 0x140067d7f
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, esi
mov r8d, r14d
mov rdx, qword [rbp + 8]
call fcn.140068254
mov r14d, eax
test eax, eax
jne 0x140067d7f
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9d, [rax + 3]
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r14d, eax
test rbx, rbx
je 0x140067d95
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140067d95
call fcn.14013d394
test r12d, r12d
je 0x140067da8
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140067da8
call fcn.14013d394
mov eax, r14d
jmp 0x140067db2
mov eax, 0x57
mov rcx, qword [rbp + 0x30]
xor rcx, rbp
call fcn.140119fe0
lea rsp, [rbp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret