Function at 0x140026270
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rcx + 0x4c], 8
mov dword [rbp + 0x67], 1
mov rax, qword [rcx]
lea rdx, [rbp + 0x67]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
xor r14d, r14d
mov qword [rbp - 0x39], r14
mov dword [rbp - 0x31], r14d
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x41], r14
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rbx, str.SOFTWARESony_CorporationVAIO_Update
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140026570
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], r14d
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
test rbx, 0xffffffffffff0000
jne 0x140026356
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140026369
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140001f70
jmp 0x140026369
mov r8d, 0x25
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x49]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400263ef
cmp dword [rbx + 0x10], 0
jl 0x1400263e1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400263e1
call fcn.140001b90
mov rdi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400263d7
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x49], rax
jmp 0x1400263ef
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140001e80
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002640f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002642e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x21], r14
lea rax, [rbp + 0xf]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp - 0x49]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002653b
mov eax, r14d
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14002648a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x21]
mov qword [rbp - 0x39], rdi
test eax, eax
jne 0x14002653f
lea r13, str.Install
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, str.Task
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x50]
mov dword [rbp + 0x6f], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6f]
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 [rsi + 0x60]
test r11d, r11d
je 0x14002653f
mov dword [rbp + 0x77], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x77]
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 0x14002653f
mov rdi, qword [rbp - 0x39]
test rdi, rdi
je 0x140026551
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x39], r14
mov dword [rbp - 0x31], r14d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140026570
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov rax, qword [rsi]
lea r8, [rbp - 0x19]
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call qword [rax + 0x18]
nop
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400265d3
mov rdi, qword [rbp - 0x11]
cmp rbx, rdi
je 0x1400265cb
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400265be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, rdi
jne 0x1400265a0
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400265ee
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret