Function at 0x1401707b0
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 0x140170ac1
mov byte [rcx + 0xb0], 0
mov rdi, qword [rcx + 0xb8]
cmp qword [rdi + 8], 0
je 0x140170820
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 [0x14042c9e0]
test al, 1
jne 0x140170860
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rdi, rax
lea r12, [0x140348ca0]
xor r15d, r15d
test rax, rax
je 0x140170a64
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xc0]
call fcn.140210300
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, [0x140351198]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], r15d
jle 0x1401708d1
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r15
mov rsi, qword [rbx + 0xd8]
cmp qword [rsi + 8], 0
je 0x14017090b
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 0x140170924
lea rdx, str.fullscreen
lea rcx, [rbp - 0x28]
call fcn.1401fd8b0
mov rsi, qword [rbx + 0xe0]
cmp qword [rsi + 8], 0
je 0x140170956
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 0x140170985
cmp dword [rbp - 0x1c], 0
jle 0x140170975
lea rdx, [0x140353a8c]
lea rcx, [rbp - 0x28]
call fcn.1401fd8b0
lea rdx, str.diskbusy
lea rcx, [rbp - 0x28]
call fcn.1401fd8b0
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xc8]
call fcn.140210300
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, [0x1403511c0]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], 0
jle 0x1401709d0
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0xd0]
call fcn.140210300
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, [0x140359f40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp - 0x10], 0
jle 0x140170a1b
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
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 0x140170a57
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
test r14b, r14b
jne 0x140170a79
xor ecx, ecx
call fcn.1401179c0
xor ecx, ecx
call fcn.140117e40
jmp 0x140170ac1
mov rax, qword [rbx + 0xa8]
cmp byte [rax + 0x34], 0
jne 0x140170ab8
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.1401078e0
nop
cmp dword [rbp - 0x20], 0
jle 0x140170ab8
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
movzx ecx, r14b
call fcn.1401179c0
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