Function at 0x14001cc30
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r13d, r8d
mov r14, rdx
mov r15, rcx
movzx eax, byte [0x1401d6d84]
neg al
sbb r12, r12
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x51], rax
xor esi, esi
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov qword [rbp - 0x59], rsi
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x49], rbx
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
lea rdx, [0x140157030]
test rdx, 0xffffffffffff0000
jne 0x14001ccfe
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001cd08
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140002960
jmp 0x14001cd08
lea rcx, [rbp - 0x41]
call fcn.140003940
nop
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.140010150
nop
lea r8, [0x1401d71a0]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140010150
nop
lea r8, [0x140155ba4]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.14001b580
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140010150
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
or rbx, 0xffffffffffffffff
cmp rcx, rdi
je 0x14001cda9
cmp dword [rdi + 0x10], 0
jl 0x14001cd9b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001cd9b
call fcn.1400027c0
mov rsi, rax
lock add dword [rdi + 0x10], ebx
jg 0x14001cd8f
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x49], rax
xor esi, esi
jmp 0x14001cda9
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140002670
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cdc2
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 0x14001cddb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cdf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001ce0d
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 0x14001ce25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rdx, [0x140157040]
test rdx, 0xffffffffffff0000
jne 0x14001ce6e
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001ce78
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140002960
jmp 0x14001ce78
lea rcx, [rbp - 0x39]
call fcn.140003940
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 1]
call fcn.140010150
nop
lea r8, [0x1401d71a0]
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140010150
nop
lea r8, [0x140155bcc]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.14001b580
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140010150
nop
mov qword [rbp - 0x31], rsi
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x31]
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, [r12 - 0x7ffffffe]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001cf13
mov dword [rbp - 0x61], esi
mov ecx, esi
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x69], rax
test ecx, ecx
setne dil
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cf32
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 0x14001cf4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cf64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cf7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cf95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14001d020
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cfb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14001cfca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001cfe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001d002
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d019
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001d23e
mov dword [rbp + 0x7f], r13d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [r14]
mov rdi, qword [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001d1ac
mov r9d, dword [0x1401d6d80]
lea ecx, [r9 + 1]
imul ecx, r9d
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 5
jne 0x14001d0c5
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x7b
movsxd rcx, r9d
mov eax, 4
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400d4448
mov rcx, rax
call fcn.1400d5528
mov r9d, dword [0x1401d6d80]
test rdi, rdi
je 0x14001d0de
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov r9d, dword [0x1401d6d80]
mov dword [rbp - 0x61], esi
lea r8d, [r9 + 1]
imul r8d, r9d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 3
jne 0x14001d143
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x63
movsxd rcx, r9d
mov eax, 4
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400d4448
mov rcx, rax
call fcn.1400d5528
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d15c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14001d16f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d18b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001d1a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001d002
test rdi, rdi
je 0x14001d1be
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d1da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14001d1ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d209
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001d225
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d23c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret