Function at 0x140026600
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov r12, rcx
mov dword [rcx + 0x4c], 9
mov dword [rbp + 0xb0], 1
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, r12
call fcn.140024130
movzx r13d, al
xor r15d, r15d
cmp dword [r12 + 0x50], 4
je 0x140026a7f
test al, al
je 0x1400267e5
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdi, str.SOFTWARESony_CorporationVAIO_Update
test rdi, 0xffffffffffff0000
jne 0x1400266b2
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x1400266c6
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001f70
jmp 0x1400266c6
mov r8d, 0x25
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x10]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x58]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140026750
cmp dword [rbx + 0x10], 0
jl 0x140026741
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140026741
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140026736
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x140026750
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026770
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002678f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp + 0x38], r15
mov dword [rbp + 0x40], r15d
mov qword [rbp + 0x48], r15
mov r9d, 0x2001f
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x38]
call fcn.140008440
mov rsi, qword [rbp + 0x38]
test eax, eax
jne 0x1400267d1
lea rdx, str.Task
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x1400267e0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140026bbf
mov rbx, r15
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], r15
mov qword [rsp + 0x70], r15
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdi, str.SOFTWARESony_CorporationVAIO_Update
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026a68
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], r15d
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140002710
nop
lea r8, [0x1400ddd20]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 8]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x68]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400268e8
cmp dword [rbx + 0x10], 0
jl 0x1400268d9
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400268d9
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400268ce
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x1400268e8
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026908
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026927
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x40], r15
lea rax, [rbp + 0xc]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026a44
mov eax, r15d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140026982
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rbp - 0x40]
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], r15d
test eax, eax
jne 0x140026a44
lea rsi, str.ShowResult
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.Task
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [r12 + 0x50]
mov dword [rbp + 0xb8], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.UpdateType
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [r12 + 0x60]
test r11d, r11d
je 0x140026a44
mov dword [rbp + 0xc0], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VCTriggerType
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026a64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x140026bda
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140026bda
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdi, str.SOFTWARESony_CorporationVAIO_Update
test rdi, 0xffffffffffff0000
jne 0x140026acc
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140026ae0
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001f70
jmp 0x140026ae0
mov r8d, 0x25
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x60]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140026b6a
cmp dword [rbx + 0x10], 0
jl 0x140026b5b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140026b5b
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140026b50
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140026b6a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026b8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026ba9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026bda
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp dword [r12 + 0x50], 4
je 0x140026beb
test r13b, r13b
je 0x140026e95
mov rbx, r15
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov qword [rsp + 0x78], r15
lea rax, [rbp + 4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026e87
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], r15d
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
test rdi, 0xffffffffffff0000
jne 0x140026c95
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140026ca9
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001f70
jmp 0x140026ca9
mov r8d, 0x25
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x50]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140026d33
cmp dword [rbx + 0x10], 0
jl 0x140026d24
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140026d24
call fcn.140001b90
mov rdi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140026d19
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x140026d33
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026d53
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026d72
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x60], r15
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026e4e
mov eax, r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140026dd0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x60]
mov qword [rbp - 0x78], rdi
test eax, eax
jne 0x140026e52
mov eax, dword [r12 + 0x50]
mov dword [rbp + 0xc8], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.UpdateType
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [r12 + 0x60]
test r11d, r11d
je 0x140026e52
mov dword [rbp - 0x80], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VCTriggerType
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140026e52
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140026e64
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026e83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140026e95
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
mov rax, qword [r12]
lea r8, [rbp + 0x18]
lea rdx, [r12 + 0x4c]
mov rcx, r12
call qword [rax + 0x18]
nop
mov rbx, qword [rbp + 0x18]
test rbx, rbx
je 0x140026f03
mov rdi, qword [rbp + 0x20]
cmp rbx, rdi
je 0x140026efb
nop word [rax + rax]
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026eee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, rdi
jne 0x140026ed0
mov rbx, qword [rbp + 0x18]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret