Function at 0x1401723f0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, rcx
cmp byte [rcx + 0xb0], 0
je 0x140172701
mov byte [rcx + 0xb0], 0
mov rdi, qword [rcx + 0xb8]
cmp qword [rdi + 8], 0
je 0x140172460
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
and al, 1
mov byte [rdi + 0xb1], al
movzx r14d, byte [rdi + 0xb1]
mov eax, dword [0x140431ac0]
test al, 1
jne 0x1401724a0
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 rdi, rax
lea r12, [0x14034d1a0]
xor r15d, r15d
test rax, rax
je 0x1401726a4
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xc0]
call fcn.1402138d0
mov ecx, dword [rax + 0xc]
mov rdx, qword [rax]
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, [0x140354fe0]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], r15d
jle 0x140172511
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r15
mov rsi, qword [rbx + 0xd8]
cmp qword [rsi + 8], 0
je 0x14017254b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
and al, 1
mov byte [rsi + 0xb1], al
cmp byte [rsi + 0xb1], 0
je 0x140172564
lea rdx, str.fullscreen
lea rcx, [rbp - 0x28]
call fcn.140200ef0
mov rsi, qword [rbx + 0xe0]
cmp qword [rsi + 8], 0
je 0x140172596
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
and al, 1
mov byte [rsi + 0xb1], al
cmp byte [rsi + 0xb1], 0
je 0x1401725c5
cmp dword [rbp - 0x1c], 0
jle 0x1401725b5
lea rdx, [0x14035803c]
lea rcx, [rbp - 0x28]
call fcn.140200ef0
lea rdx, str.diskbusy
lea rcx, [rbp - 0x28]
call fcn.140200ef0
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xc8]
call fcn.1402138d0
mov ecx, dword [rax + 0xc]
mov rdx, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140355068]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], 0
jle 0x140172610
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xd0]
call fcn.1402138d0
mov ecx, dword [rax + 0xc]
mov rdx, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14035e5e8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], 0
jle 0x14017265b
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
mov eax, dword [rbp - 0x1c]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SchedulerNotWhen
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
cmp dword [rbp - 0x20], 0
jle 0x140172697
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
test r14b, r14b
jne 0x1401726b9
xor ecx, ecx
call fcn.1401193b0
xor ecx, ecx
call fcn.140119830
jmp 0x140172701
mov rax, qword [rbx + 0xa8]
cmp byte [rax + 0x35], 0
jne 0x1401726f8
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r15
cmp byte [rax + 0x2e], 0
sete r8b
cmp byte [rax + 0x2f], 0
sete dl
lea r9, [rbp - 0x28]
xor ecx, ecx
call fcn.140108ec0
nop
cmp dword [rbp - 0x20], 0
jle 0x1401726f8
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
movzx ecx, r14b
call fcn.1401193b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret