Function at 0x1401129f0
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 [0x14041da10]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
cmp dword [rcx + 0x144], 0
jne 0x140112d50
mov r14, qword [0x14041eee8]
or rdi, 0xffffffffffffffff
test r14, r14
jne 0x140112a4e
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x48], rsi
jmp 0x140112a66
mov rbx, rdi
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140112a51
xor esi, esi
mov qword [rbp - 0x48], rsi
test ebx, ebx
jne 0x140112a73
lea rax, [0x14034d1a0]
mov qword [rbp - 0x50], rax
jmp 0x140112a95
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140203bb0
nop
xor ecx, ecx
call fcn.1400f4570
mov rbx, rax
test rax, rax
je 0x140112b18
lea r8, [rbp - 0x50]
lea rdx, [0x140355298]
mov rcx, rax
call fcn.1400d9fd0
test al, al
je 0x140112b0b
mov r8d, 1
lea rdx, [0x140355efc]
lea rcx, [rbp - 0x50]
call fcn.140205020
lea rcx, [rbp - 0x50]
test al, al
je 0x140112aff
mov r8d, 1
lea rdx, [0x140355f3c]
call fcn.140202750
test al, al
jne 0x140112b0b
lea rcx, [rbp - 0x50]
mov rdx, qword [0x14041eee8]
call fcn.140200d00
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x44], 0x26
jne 0x140112b63
mov edx, 0x26
lea rcx, [r15 + 0x138]
call fcn.1402028a0
movsxd r9, dword [rbp - 0x44]
mov eax, dword [r15 + 0x140]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x50]
mov rcx, qword [r15 + 0x138]
call fcn.1402c06dc
mov edx, dword [rbp - 0x44]
lea rcx, [r15 + 0x138]
call fcn.140203bb0
jmp 0x140112d38
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 0x140112bbb
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140112b84
mov rsi, rdi
test edi, edi
jle 0x140112bbb
mov edx, edi
lea rcx, [rbp - 0x50]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rbp - 0x50]
call fcn.1402c06dc
mov edx, edi
jmp 0x140112bc3
cmp dword [rbp - 0x44], 0
jle 0x140112bcc
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.140203bb0
mov eax, 0x7b
mov word [rbp - 0x40], ax
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1402028a0
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.1402c2fb0
movsxd rdx, dword [rbp - 0x48]
mov r9d, 1
lea r8, [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
call fcn.1402c06dc
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.140203bb0
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1402028a0
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.140203bb0
lea rcx, [rbp - 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140205160
mov rbx, rax
lea rdi, [r15 + 0x138]
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rbp - 0x28], 0
jle 0x140112cac
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140112ce4
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x140112d38
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, [0x140355298]
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 0x140112d47
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
lea rax, [r15 + 0x138]
jmp 0x140112d57
lea rax, [rcx + 0x138]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402bcad0
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