Function at 0x14001bcf0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf8
mov qword [rbp - 1], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
mov r14d, r8d
mov r15, rdx
mov r12, rcx
movzx eax, byte [0x1401c4d64]
neg al
sbb r13, r13
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x71], rax
mov r8d, dword [0x1401c4d60]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xf
jne 0x14001bdf4
test r8d, r8d
je 0x14001bdf4
mov eax, r8d
and eax, 0x80000001
jge 0x14001bd93
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x14001bdaa
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov dword [0x1401c4d60], eax
jmp 0x14001bdb9
lea r8d, [r8*2 + 1]
mov dword [0x1401c4d60], r8d
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
mov ecx, r8d
sub ecx, eax
je 0x14001bddd
sub ecx, 2
je 0x14001bde1
dec ecx
je 0x14001bde4
jmp 0x14001bdef
add r8d, 2
inc r8d
add r8d, 2
mov dword [0x1401c4d60], r8d
test r8d, r8d
jne 0x14001bd82
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
mov qword [rbp - 0x79], rax
mov eax, dword [0x1401c4d60]
imul eax, eax
and eax, 0x80000007
jge 0x14001be1a
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 3
jne 0x14001be7d
call fcn.1400cebc4
mov dword [0x1401c4d60], eax
movsd xmm3, qword [0x1401542b8]
xorps xmm2, xmm2
movd xmm4, eax
cvtdq2pd xmm4, xmm4
movsd xmm5, qword [0x1401542e0]
movsd xmm6, qword [0x1401542b0]
nop dword [rax]
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x14001be69
subsd xmm2, xmm3
divsd xmm3, xmm5
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm6
ja 0x14001be50
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x69], rbx
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea rax, [0x140150020]
mov rsi, rax
shr rsi, 0x10
test rsi, rsi
jne 0x14001bee2
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001beef
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.1400025a0
jmp 0x14001beef
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.140003350
nop
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x29]
call fcn.14000f690
nop
lea r8, [0x1401c5128]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000f690
nop
lea r8, [0x14014ffb0]
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14001a720
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000f690
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
or ebx, 0xffffffff
cmp rcx, rdi
je 0x14001bf91
cmp dword [rdi + 0x10], 0
jl 0x14001bf83
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001bf83
call fcn.140002400
mov r14, rax
lock add dword [rdi + 0x10], ebx
jg 0x14001bf75
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x69], rax
mov r14d, dword [rbp + 0x77]
jmp 0x14001bf91
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.1400022b0
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001bfaa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001bfc3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001bfdc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001bff5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c00d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x59], rax
lea rdx, [0x140150020]
test rsi, rsi
jne 0x14001c052
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001c05c
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1400025a0
jmp 0x14001c05c
lea rcx, [rbp - 0x59]
call fcn.140003350
nop
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x21]
call fcn.14000f690
nop
lea r8, [0x1401c5128]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14000f690
nop
lea r8, [0x14014ffb0]
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.14001a720
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14000f690
nop
xor esi, esi
mov qword [rbp - 0x51], rsi
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [r13 - 0x7ffffffe]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001c0fa
mov dword [rsp + 0x58], esi
mov ecx, esi
mov rax, qword [rbp - 0x51]
mov qword [rsp + 0x50], rax
test ecx, ecx
setne dil
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c119
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c132
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c14b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c164
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c17c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14001c20b
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c19e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c1b3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c1d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c1ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c204
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001c35e
mov dword [rbp + 0x7f], r14d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [r15]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001c2c6
test rdi, rdi
je 0x14001c255
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c272
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c287
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c2a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c2c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001c1ed
test rdi, rdi
je 0x14001c2d9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c2f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c30b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c328
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c345
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c35c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret