Function at 0x140025f30
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
xor edi, edi
xor r8d, r8d
test edx, edx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov r9d, 0x2001f
mov rcx, 0xffffffff80000002
je 0x1400260fd
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140025fb7
mov rbx, qword [rsp + 0x58]
lea rdi, [0x140260b08]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.RTSnMg64.cpl
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140026234
lea rax, [rsp + 0xb8]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rbx, rdi
lea rdx, str.Control_Paneldont_load
test eax, eax
lea rax, [rsp + 0x70]
mov r9d, 0x2001f
cmove rbx, qword [rsp + 0x80]
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140026096
test rbx, rbx
mov eax, edi
je 0x140026052
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov rbx, qword [rsp + 0x70]
jne 0x140026096
lea rdi, [0x140260b08]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.RTSnMg64.cpl
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140026234
lea rax, [rsp + 0xc0]
lea rdx, str.Control_Paneldont_load
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026234
test rbx, rbx
je 0x1400260f3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
jmp 0x140026234
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140026120
mov rbx, qword [rsp + 0x68]
jmp 0x1400261c4
lea rax, [rsp + 0xc8]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rbx, rdi
lea rdx, str.Control_Paneldont_load
test eax, eax
lea rax, [rsp + 0x88]
mov r9d, 0x2001f
cmove rbx, qword [rsp + 0x78]
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400261d6
test rbx, rbx
mov eax, edi
je 0x1400261b8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov rbx, qword [rsp + 0x88]
jne 0x1400261d6
lea rdx, str.RTSnMg64.cpl
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140026234
lea rax, [rsp + 0x90]
lea rdx, str.Control_Paneldont_load
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026234
test rbx, rbx
je 0x14002622f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140026242
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret