Function at 0x14000b8b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, r8
mov r14, rdx
mov r13, rcx
call fcn.140002ed0
test rax, rax
je 0x14000bb6e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rsi, 0xffffffffffffffff
test r14, r14
je 0x14000b93d
cmp r14, 0x10000
jae 0x14000b924
movzx edx, r14w
lea rcx, [rsp + 0x60]
call fcn.140001fa0
jmp 0x14000b94e
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x14000b930
jmp 0x14000b940
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140002210
nop
mov rbp, qword [r13 + 0x48]
mov r11, qword [rbp + 8]
mov r8, r11
mov rdi, rbp
mov rbx, qword [rsp + 0x60]
cmp byte [r11 + 0x19], 0
jne 0x14000b9ea
nop dword [rax]
test rbx, rbx
je 0x14000bb6e
mov r9, qword [r8 + 0x20]
mov rax, r9
mov r10, rbx
sub r10, r9
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r10]
sub edx, ecx
jne 0x14000b9a4
add rax, 2
test ecx, ecx
jne 0x14000b990
test edx, edx
jns 0x14000b9ae
mov r8, qword [r8 + 0x10]
jmp 0x14000b9e3
cmp byte [rdi + 0x19], 0
je 0x14000b9dd
test r9, r9
je 0x14000bb6e
mov rax, rbx
sub r9, rbx
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x14000b9d7
add rax, 2
test ecx, ecx
jne 0x14000b9c3
test edx, edx
cmovs rdi, r8
mov rbp, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x14000b970
cmp byte [rdi + 0x19], 0
jne 0x14000b9f3
mov r11, qword [rdi]
cmp byte [r11 + 0x19], 0
jne 0x14000ba3e
nop word [rax + rax]
mov r8, qword [r11 + 0x20]
test r8, r8
je 0x14000bb6e
mov rax, rbx
sub r8, rbx
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ba27
add rax, 2
test ecx, ecx
jne 0x14000ba13
test edx, edx
jns 0x14000ba33
mov rdi, r11
mov r11, qword [r11]
jmp 0x14000ba37
mov r11, qword [r11 + 0x10]
cmp byte [r11 + 0x19], 0
je 0x14000ba00
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x48]
call fcn.14000c3a0
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000ba7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor bl, bl
xor edi, edi
mov dword [rsp + 0x60], edi
mov eax, dword [r13 + 8]
or eax, 2
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r13 + 0x10]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000bb38
test r15, r15
je 0x14000bb03
cmp word [r15], di
je 0x14000bb03
nop dword [rax]
inc rsi
cmp word [r15 + rsi*2], di
jne 0x14000bad0
add esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 1
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x14000bb2d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov edi, 1
mov r9d, edi
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, bl
test eax, eax
cmove ebx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r14
mov rcx, r13
call fcn.14000a840
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400398f0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002c40
int3