Function at 0x140026f20
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], 0xa
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 0x14002739f
test al, al
je 0x140027105
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 0x140026fd2
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140026fe6
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001f70
jmp 0x140026fe6
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 0x140027070
cmp dword [rbx + 0x10], 0
jl 0x140027061
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140027061
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140027056
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 0x140027070
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 0x140027090
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 0x1400270af
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 0x1400270f1
lea rdx, str.Task
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x140027100
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400274df
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 0x140027388
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 0x140027208
cmp dword [rbx + 0x10], 0
jl 0x1400271f9
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400271f9
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400271ee
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 0x140027208
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 0x140027228
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 0x140027247
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 0x140027364
mov eax, r15d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400272a2
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 0x140027364
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 0x140027364
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 0x140027384
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1400274fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400274fa
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 0x1400273ec
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140027400
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001f70
jmp 0x140027400
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 0x14002748a
cmp dword [rbx + 0x10], 0
jl 0x14002747b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14002747b
call fcn.140001b90
mov rsi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140027470
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 0x14002748a
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 0x1400274aa
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 0x1400274c9
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 0x1400274fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp dword [r12 + 0x50], 4
je 0x14002750b
test r13b, r13b
je 0x1400277b5
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 0x1400277a7
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 0x1400275b5
movzx ebx, di
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x1400275c9
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001f70
jmp 0x1400275c9
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 0x140027653
cmp dword [rbx + 0x10], 0
jl 0x140027644
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140027644
call fcn.140001b90
mov rdi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140027639
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 0x140027653
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 0x140027673
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 0x140027692
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 0x14002776e
mov eax, r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400276f0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x60]
mov qword [rbp - 0x78], rdi
test eax, eax
jne 0x140027772
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 0x140027772
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 0x140027772
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140027784
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 0x1400277a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400277b5
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 0x140027823
mov rdi, qword [rbp + 0x20]
cmp rbx, rdi
je 0x14002781b
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 0x14002780e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, rdi
jne 0x1400277f0
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