Function at 0x14001b190
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x368], rbx
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12d, r8d
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
movzx eax, byte [0x1401a9d84]
neg al
sbb r15, r15
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rax, [0x1401362f8]
mov r14, rax
shr r14, 0x10
test r14, r14
jne 0x14001b27f
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001b28d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140002750
jmp 0x14001b28d
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400032d0
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.14000ea60
nop
lea r8, [0x1401a9fc8]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000ea60
nop
lea r8, [0x140136288]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140019af0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14000ea60
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
or edi, 0xffffffff
cmp rcx, rbx
je 0x14001b333
cmp dword [rbx + 0x10], 0
jl 0x14001b324
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14001b324
call fcn.1400025b0
mov rsi, rax
lock add dword [rbx + 0x10], edi
jg 0x14001b315
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x68], rax
mov rsi, qword [rbp - 0x38]
jmp 0x14001b333
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140002460
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b34c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b365
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b37e
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 0x14001b397
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b3b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [0x1401a9d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub r8d, edx
cmp r8d, 5
jne 0x14001b407
lea ecx, [r8 - 1]
call fcn.1400c2fd0
mov rbx, rax
call fcn.1400c31d0
mov dword [rbx], eax
mov dword [0x1401a9d80], eax
mov rcx, rbx
call fcn.1400c27f0
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [0x1401362f8]
test r14, r14
jne 0x14001b44c
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14001b456
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002750
jmp 0x14001b456
lea rcx, [rbp - 0x80]
call fcn.1400032d0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.14000ea60
nop
lea r8, [0x1401a9fc8]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000ea60
nop
lea r8, [0x140136288]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140019af0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ea60
nop
xor r14d, r14d
mov qword [rbp - 0x70], r14
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [r15 - 0x7ffffffe]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001b4f9
mov dword [rsp + 0x58], r14d
mov ecx, r14d
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x50], rax
test ecx, ecx
setne bl
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b517
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b530
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b549
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b562
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b57a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14001b750
mov eax, dword [0x1401a9d80]
lea ecx, [rax + 1]
imul ecx, eax
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, 7
jne 0x14001b6c7
mov rbx, r14
call fcn.1400c31d0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rbx*8], xmm0
inc rbx
cmp rbx, 0x40
jb 0x14001b5b0
mov r9, r14
mov r10d, 0x3f
lea r11d, [r10 + 1]
nop dword [rax]
mov edx, 0x3f
cmp r9, rdx
jge 0x14001b6b8
cmp r10, 4
jl 0x14001b68d
lea rcx, [rbp + 0x1e8]
mov r8d, 0x3b
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14001b63a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x14001b652
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14001b66a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x14001b684
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x14001b620
cmp rdx, r9
jle 0x14001b6b8
movsd xmm0, qword [rbp + rdx*8]
movsd xmm1, qword [rbp + rdx*8 - 8]
comisd xmm0, xmm1
jbe 0x14001b6b0
movsd qword [rbp + rdx*8], xmm1
movsd qword [rbp + rdx*8 - 8], xmm0
dec rdx
cmp rdx, r9
jg 0x14001b692
inc r9
dec r10
dec r11
jne 0x14001b5e0
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b6e1
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 0x14001b6f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b715
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001b731
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b749
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001b8ab
mov dword [rbp - 0x78], r12d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [r13]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001b80f
test rbx, rbx
je 0x14001b79b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b7ba
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 0x14001b7cf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b7ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001b80a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001b731
test rbx, rbx
je 0x14001b822
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b841
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 0x14001b856
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b875
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001b891
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001b8a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400c2810
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret