Function at 0x100006c90
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x80
xor ebx, ebx
lea rax, [0x1000021b0]
mov rsi, rcx
mov dword [rsp + 0xb8], ebx
and qword [r11 - 0x50], rbx
mov qword [r11 - 0x48], rax
lea r14, [0x10000f150]
cmp qword [0x10000f150], r14
je 0x100006cd9
lea rcx, [r11 - 0x50]
call fcn.100002cbc
and qword [rsp + 0x68], rbx
and qword [rsp + 0x70], rbx
and qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.100007538
and qword [rsp + 0xc0], rbx
lea rcx, [rsp + 0xc0]
mov rdx, qword [rax]
mov qword [rsp + 0x20], rcx
mov ebp, 0x20006
mov r9d, ebp
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x100006d38
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or r13d, 0xffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x100006d5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test edi, edi
je 0x100006e36
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov dword [rsp + 0xb8], ebp
call fcn.100007538
lea rcx, [rsp + 0xb8]
xor r9d, r9d
mov r8, qword [rax]
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x68]
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call fcn.100005b98
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov ebp, eax
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x100006dd6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
test ebp, ebp
je 0x100006e36
mov rax, qword [0x10000f150]
cmp rax, r14
je 0x100006e1f
test byte [rax + 0x1c], 8
je 0x100006e1f
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov ebx, 1
call fcn.100007538
mov rcx, qword [0x10000f150]
lea edx, [rbx + 0x13]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rax]
lea r8, [0x100001940]
mov dword [rsp + 0x20], ebp
call fcn.100005cf8
test bl, 1
je 0x100006f26
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
jmp 0x100006f0e
mov rax, qword [0x10000f100]
lea rcx, [0x10000f100]
call qword [rax + 0x18]
lea r8, [rsi + 0x30]
lea rdx, [rsp + 0xc8]
add rax, 0x18
mov rcx, rsi
mov qword [rsp + 0xc8], rax
call fcn.100006f60
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
jne 0x100006e7f
mov ecx, 0x80004005
call fcn.100003a64
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x68]
lea rdx, str.Configuration
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x100006ee0
mov rcx, qword [0x10000f150]
cmp rcx, r14
je 0x100006f0a
test byte [rcx + 0x1c], 8
je 0x100006f0a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
mov edx, 0x15
mov r9d, edi
call fcn.100005d94
jmp 0x100006f0a
mov rcx, qword [0x10000f150]
cmp rcx, r14
je 0x100006f0a
test byte [rcx + 0x1c], 0x10
je 0x100006f0a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
mov edx, 0x16
mov r9, rbx
call fcn.100002b98
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x100006f26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x100006f36
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x58]
call fcn.100002cfc
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret