Function at 0x1400258a0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rdi, rcx
mov dword [rcx + 0x4c], 4
mov byte [rcx + 0x5c], 0
xor r14d, r14d
mov dword [rbp + 0x100], r14d
mov rax, qword [rcx]
lea rdx, [rbp + 0x100]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
or esi, 0xffffffff
cmp dword [rdi + 0x50], 6
jne 0x14002599b
lea rcx, [rsp + 0x50]
call fcn.14009f810
nop
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x110], rax
mov rax, qword [rdi]
lea rdx, [rbp + 0x110]
mov rcx, rdi
call qword [rax + 0xe0]
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.1400a0350
nop
mov rdx, qword [rbp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025966
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x14002597d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rcx, [rbp + 0x40]
call fcn.14004bd80
nop
lea rcx, [rbp - 0x38]
call fcn.14004bd80
nop
lea rcx, [rsp + 0x50]
call fcn.14004bd80
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x108], rax
lea rdx, str.SOFTWARESony_CorporationVAIO_Update
test rdx, 0xffffffffffff0000
jne 0x1400259ec
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x1400259ff
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140001f70
jmp 0x1400259ff
mov r8d, 0x25
lea rcx, [rbp + 0x108]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rbp + 0x108]
lea rcx, [rsp + 0x40]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp + 0x118]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x108]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140025a95
cmp dword [rbx + 0x10], 0
jl 0x140025a84
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140025a84
call fcn.140001b90
mov r12, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140025a76
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [r12 + 0x18]
mov qword [rbp + 0x108], rax
jmp 0x140025a95
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x108]
call fcn.140001e80
nop
mov rdx, qword [rbp + 0x118]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025ab7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025ad6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x108]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call qword [rax + 0x18]
mov dword [rdi + 0x60], r14d
mov eax, dword [rdi + 0x50]
cmp eax, 6
je 0x140025b1f
cmp eax, 8
jne 0x140025b23
mov dword [rdi + 0x50], r14d
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140025b7a
mov r12, qword [rsp + 0x28]
cmp rdi, r12
je 0x140025b72
nop word [rax + rax]
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140025b5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
cmp rdi, r12
jne 0x140025b40
mov rbx, qword [rbp + 0x108]
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140025ba1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x1c0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret