Function at 0x14010fd80
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 [0x140415a10]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
cmp dword [rcx + 0x13c], 0
jne 0x1401100e0
mov r14, qword [0x140416ee8]
or rdi, 0xffffffffffffffff
test r14, r14
jne 0x14010fdde
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x48], rsi
jmp 0x14010fdf6
mov rbx, rdi
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x14010fde1
xor esi, esi
mov qword [rbp - 0x48], rsi
test ebx, ebx
jne 0x14010fe03
lea rax, [0x140346ce0]
mov qword [rbp - 0x50], rax
jmp 0x14010fe25
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401fde50
nop
xor ecx, ecx
call fcn.1400f1cf0
mov rbx, rax
test rax, rax
je 0x14010fea8
lea r8, [rbp - 0x50]
lea rdx, [0x14034f418]
mov rcx, rax
call fcn.1400d8ae0
test al, al
je 0x14010fe9b
mov r8d, 1
lea rdx, [0x140350078]
lea rcx, [rbp - 0x50]
call fcn.1401ff2c0
lea rcx, [rbp - 0x50]
test al, al
je 0x14010fe8f
mov r8d, 1
lea rdx, [0x140350074]
call fcn.1401fc9f0
test al, al
jne 0x14010fe9b
lea rcx, [rbp - 0x50]
mov rdx, qword [0x140416ee8]
call fcn.1401fafa0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x44], 0x26
jne 0x14010fef3
mov edx, 0x26
lea rcx, [r15 + 0x130]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbp - 0x44]
lea rcx, [r15 + 0x130]
call fcn.1401fde50
jmp 0x1401100c8
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 0x14010ff4b
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x14010ff14
mov rsi, rdi
test edi, edi
jle 0x14010ff4b
mov edx, edi
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rbp - 0x50]
call fcn.1402ba94c
mov edx, edi
jmp 0x14010ff53
cmp dword [rbp - 0x44], 0
jle 0x14010ff5c
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.1401fde50
mov eax, 0x7b
mov word [rbp - 0x40], ax
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
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.1402bd280
movsxd rdx, dword [rbp - 0x48]
mov r9d, 1
lea r8, [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
call fcn.1402ba94c
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401fde50
mov edx, dword [rbp - 0x44]
inc edx
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
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.1401fde50
lea rcx, [rbp - 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1401ff400
mov rbx, rax
lea rdi, [r15 + 0x130]
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401fde50
nop
cmp dword [rbp - 0x28], 0
jle 0x14011003c
mov rcx, qword [rbp - 0x30]
call fcn.1402b7350
mov eax, dword [0x140429a18]
test al, 1
jne 0x140110074
or eax, 1
mov dword [0x140429a18], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1404299f0], rax
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [0x14034ce18]
lea rcx, [0x1404299f0]
call fcn.1400ea630
mov rbx, rax
test rax, rax
je 0x1401100c8
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, [0x14034f418]
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 0x1401100d7
mov rcx, qword [rbp - 0x50]
call fcn.1402b7350
lea rax, [r15 + 0x130]
jmp 0x1401100e7
lea rax, [rcx + 0x130]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402b6d40
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