Function at 0x140025bc0
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], 6
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 0x140025cbe
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]
mov r8d, 0x80004005
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 0x140025c89
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140025ca0
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 0x140025d0f
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140025d22
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140001f70
jmp 0x140025d22
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 0x140025db8
cmp dword [rbx + 0x10], 0
jl 0x140025da7
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140025da7
call fcn.140001b90
mov r12, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140025d99
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 0x140025db8
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 0x140025dda
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 0x140025df9
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 0x140025e42
cmp eax, 8
jne 0x140025e46
mov dword [rdi + 0x50], r14d
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140025e9a
mov r12, qword [rsp + 0x28]
cmp rdi, r12
je 0x140025e92
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 0x140025e7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
cmp rdi, r12
jne 0x140025e60
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 0x140025ec1
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