Function at 0x14001c3b0
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x868], rbx
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov r13d, r8d
mov dword [rbp - 0x68], r8d
mov r14, rdx
mov qword [rbp - 8], rdx
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
movzx eax, byte [0x1401bdd84]
neg al
sbb r12, r12
add r12, 0xffffffff80000002
mov qword [rbp - 0x10], r12
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
xor esi, esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rcx, [0x140149740]
mov rax, rcx
shr rax, 0x10
mov qword [rbp + 8], rax
test rax, rax
jne 0x14001c4b4
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001c4c1
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140002690
jmp 0x14001c4c1
mov rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.140003600
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.14000feb0
nop
lea r8, [0x1401be0d8]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000feb0
nop
lea r8, [0x1401496d0]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001aed0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp]
call fcn.14000feb0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
or ebx, 0xffffffff
cmp rcx, rdi
je 0x14001c564
cmp dword [rdi + 0x10], 0
jl 0x14001c555
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001c555
call fcn.1400024f0
mov rsi, rax
lock add dword [rdi + 0x10], ebx
jg 0x14001c548
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x68], rax
xor esi, esi
jmp 0x14001c564
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400023a0
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c57d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c596
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c5af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c5c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c5e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11d, dword [0x1401bdd80]
lea ecx, [r11 + 1]
imul ecx, r11d
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 0xe
jne 0x14001c7bb
mov r10d, esi
mov dword [rsp + 0x78], esi
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x60], eax
mov eax, 0x55555556
imul r11d
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [rbp - 0x64], eax
mov eax, r11d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x58], eax
mov eax, 0x66666667
imul r11d
mov r12d, edx
sar r12d, 1
mov ecx, r12d
shr ecx, 0x1f
add r12d, ecx
mov eax, 0x2aaaaaab
imul r11d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [rbp - 0x5c], ecx
mov eax, 0x92492493
imul r11d
lea r14d, [r11 + rdx]
sar r14d, 2
mov ecx, r14d
shr ecx, 0x1f
add r14d, ecx
mov eax, r11d
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rbp - 0x80], eax
mov eax, 0x38e38e39
imul r11d
mov r13d, edx
sar r13d, 1
mov ecx, r13d
shr ecx, 0x1f
add r13d, ecx
lea r9, [rbp + 0x41]
mov r15d, dword [rbp - 0x64]
mov ebx, dword [rbp - 0x5c]
nop word [rax + rax]
movzx r8d, r11b
sub r8b, r10b
mov edi, 1
lea esi, [rdi + 0xb]
mov r10d, dword [rbp - 0x60]
mov eax, r11d
cdq
idiv edi
movzx eax, r11b
imul dl
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 - 1], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r10b
imul cl
mov byte [r9], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r15b
imul cl
mov byte [r9 + 1], al
movzx eax, byte [rbp - 0x58]
imul dl
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 2], al
movzx eax, r12b
imul dl
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 3], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, bl
imul cl
mov byte [r9 + 4], al
movzx eax, r14b
imul dl
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 5], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, byte [rbp - 0x80]
imul cl
mov byte [r9 + 6], al
movzx eax, r13b
imul dl
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 7], al
inc edi
add r9, 9
dec rsi
jne 0x14001c6d3
mov r10d, dword [rsp + 0x78]
inc r10d
mov dword [rsp + 0x78], r10d
cmp r10d, 0x10
jl 0x14001c6c0
or ebx, 0xffffffff
mov r15, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
mov r12, qword [rbp - 0x10]
mov r13d, dword [rbp - 0x68]
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, [0x140149740]
cmp qword [rbp + 8], 0
jne 0x14001c802
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001c80c
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140002690
jmp 0x14001c80c
lea rcx, [rbp - 0x70]
call fcn.140003600
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.14000feb0
nop
lea r8, [0x1401be0d8]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000feb0
nop
lea r8, [0x1401496d0]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001aed0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000feb0
nop
xor esi, esi
mov qword [rbp - 0x80], rsi
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
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]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001c8a7
mov dword [rsp + 0x58], esi
mov ecx, esi
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x50], rax
test ecx, ecx
setne dil
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c8ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c8e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c921
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c93d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14001c9d7
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c964
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 0x14001c979
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c99b
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 0x14001c9b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
jg 0x14001c9d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001cb5d
mov dword [rbp - 0x50], r13d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [r14]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001caba
test rdi, rdi
je 0x14001ca21
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001ca43
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 0x14001ca58
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001ca7a
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 0x14001ca96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
jg 0x14001c9d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001cb5d
test rdi, rdi
je 0x14001cacd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001caef
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 0x14001cb04
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001cb26
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 0x14001cb42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
jg 0x14001cb5b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.1400cbae0
mov rbx, qword [rsp + 0x868]
add rsp, 0x810
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret