Function at 0x140110ac0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
cmp dword [rcx + 0x13c], 0
jne 0x140110e20
mov r14, qword [0x1403ec168]
or rdi, 0xffffffffffffffff
test r14, r14
jne 0x140110b1e
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x48], rsi
jmp 0x140110b36
mov rbx, rdi
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140110b21
xor esi, esi
mov qword [rbp - 0x48], rsi
test ebx, ebx
jne 0x140110b43
lea rax, [0x140323de0]
mov qword [rbp - 0x50], rax
jmp 0x140110b65
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401ea290
nop
xor ecx, ecx
call fcn.1400f3b20
mov rbx, rax
test rax, rax
je 0x140110be8
lea r8, [rbp - 0x50]
lea rdx, [0x14032c188]
mov rcx, rax
call fcn.1400d5720
test al, al
je 0x140110bdb
mov r8d, 1
lea rdx, [0x14032cde8]
lea rcx, [rbp - 0x50]
call fcn.1401eb700
lea rcx, [rbp - 0x50]
test al, al
je 0x140110bcf
mov r8d, 1
lea rdx, [0x14032cde4]
call fcn.1401e8ee0
test al, al
jne 0x140110bdb
lea rcx, [rbp - 0x50]
mov rdx, qword [0x1403ec168]
call fcn.1401e7490
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x44], 0x26
jne 0x140110c33
mov edx, 0x26
lea rcx, [r15 + 0x130]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x44]
mov eax, dword [r15 + 0x138]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x50]
mov rcx, qword [r15 + 0x130]
call fcn.14029b4d8
mov edx, dword [rbp - 0x44]
lea rcx, [r15 + 0x130]
call fcn.1401ea290
jmp 0x140110e08
lea rcx, [rbp - 0x18]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x140110c8b
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140110c54
mov rsi, rdi
test edi, edi
jle 0x140110c8b
mov edx, edi
lea rcx, [rbp - 0x50]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rbp - 0x50]
call fcn.14029b4d8
mov edx, edi
jmp 0x140110c93
cmp dword [rbp - 0x44], 0
jle 0x140110c9c
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.1401ea290
mov eax, 0x7b
mov word [rbp - 0x40], ax
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x44]
mov eax, dword [rbp - 0x48]
dec eax
movsxd rdx, eax
mov r8, qword [rbp - 0x50]
lea rcx, [r8 + 2]
call fcn.14029d8a0
movsxd rdx, dword [rbp - 0x48]
mov r9d, 1
lea r8, [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
call fcn.14029b4d8
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401ea290
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401e9030
movsxd rcx, dword [rbp - 0x44]
mov edx, 0x7d
mov rax, qword [rbp - 0x50]
mov word [rax + rcx*2], dx
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401ea290
lea rcx, [rbp - 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1401eb840
mov rbx, rax
lea rdi, [r15 + 0x130]
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401ea290
nop
cmp dword [rbp - 0x28], 0
jle 0x140110d7c
mov rcx, qword [rbp - 0x30]
call fcn.140298600
mov eax, dword [0x1403fe608]
test al, 1
jne 0x140110db4
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rbx, rax
test rax, rax
je 0x140110e08
mov ecx, dword [rdi + 0xc]
mov r8, qword [rdi]
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14032c188]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x48], 0
jle 0x140110e17
mov rcx, qword [rbp - 0x50]
call fcn.140298600
lea rax, [r15 + 0x130]
jmp 0x140110e27
lea rax, [rcx + 0x130]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret