Function at 0x1000141f4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xa0
and qword [rax + 0x18], 0
mov rbx, rcx
lea rcx, [rax - 0x48]
call fcn.10001d4dc
and qword [rsp + 0x50], 0
and dword [rsp + 0x5c], 0
and dword [rsp + 0x58], 0
lea rax, [rsp + 0xb8]
lea rdx, [0x100002f20]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 3
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1000142a7
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10001429d
test byte [rcx + 0x1c], 1
je 0x10001429d
mov edx, 0x21
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000018f0]
call fcn.100004898
mov edi, 0x80004005
jmp 0x100014499
mov rdi, qword [rbx + 8]
lea rdx, [0x100001a00]
lea rcx, [rsp + 0x78]
call fcn.10001627c
test eax, eax
js 0x1000142d6
lea rcx, [rsp + 0x60]
mov r8, rdi
mov edx, 1
call fcn.10001d218
mov edi, eax
jmp 0x1000142db
mov edi, 0x80004005
test edi, edi
jns 0x10001431d
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100014499
test byte [rcx + 0x1c], 1
je 0x100014499
mov edx, 0x22
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000018f0]
mov r9d, edi
call fcn.1000048bc
jmp 0x100014499
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x60]
xor r8d, r8d
call fcn.10001d278
test eax, eax
js 0x10001442b
cmp dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x98]
cmovne rax, qword [rsp + 0x68]
test rax, rax
je 0x10001442b
lea rdx, [0x1000031e0]
lea rcx, [rsp + 0x50]
call fcn.10001627c
mov edi, eax
test eax, eax
jns 0x100014398
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100014499
test byte [rcx + 0x1c], 1
je 0x100014499
mov edx, 0x23
jmp 0x100014305
lea rdx, [0x1000031e8]
lea rcx, [rsp + 0x50]
call fcn.10001645c
mov edi, eax
test eax, eax
jns 0x1000143da
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100014499
test byte [rcx + 0x1c], 1
je 0x100014499
mov edx, 0x24
jmp 0x100014305
mov rdx, qword [rsp + 0x98]
cmp dword [rsp + 0x60], 0
lea rcx, [rsp + 0x50]
cmovne rdx, qword [rsp + 0x68]
call fcn.1000164fc
mov edi, eax
test eax, eax
jns 0x100014424
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x100014499
test byte [rcx + 0x1c], 1
je 0x100014499
mov edx, 0x25
jmp 0x100014305
mov rdx, qword [rsp + 0x50]
jmp 0x100014432
lea rdx, [0x1000031e0]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
mov r9d, 1
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100014497
mov rcx, qword [0x100023120]
lea rax, [0x100023120]
cmp rcx, rax
je 0x10001429d
test byte [rcx + 0x1c], 1
je 0x10001429d
mov edx, 0x26
jmp 0x10001428d
xor edi, edi
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1000144b5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0xc0], 0
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.1000170b4
lea rcx, [rsp + 0x60]
call fcn.10001d51c
mov rbx, qword [rsp + 0xb0]
mov eax, edi
add rsp, 0xa0
pop rdi
ret