Function at 0x1400a1160
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r9
mov r13, r8
mov r15, rdx
mov r14, rcx
xor esi, esi
cmp qword [0x14011e2b0], rsi
jne 0x1400a1278
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x38], rsi
mov r9d, 0x2001f
lea r8, str.SOFTWARESony_CorporationVAIO_Update
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x48]
call fcn.140008440
test eax, eax
jne 0x1400a1269
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400a11f0
lea r8, str.PatchListFromVUAX
mov rdi, qword [rbp - 0x48]
mov rdx, rdi
call fcn.140021e20
jmp 0x1400a125f
cmp byte [0x14011deb8], sil
jne 0x1400a1234
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a1224
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14011deb0], rax
jmp 0x1400a122b
mov rax, qword [0x14011deb0]
mov byte [0x14011deb8], 1
jmp 0x1400a123b
mov rax, qword [0x14011deb0]
lea rdx, str.PatchListFromVUAX
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
test rax, rax
je 0x1400a1259
xor r9d, r9d
mov r8d, dword [rbp - 0x40]
call rax
jmp 0x1400a125f
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rdi, rdi
je 0x1400a1278
mov rcx, rdi
jmp 0x1400a1272
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400a1278
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
or rbx, 0xffffffffffffffff
test r14, r14
jne 0x1400a12e9
mov ecx, esi
jmp 0x1400a12fa
xor eax, eax
mov rcx, rbx
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140001e80
mov qword [rbp - 0x28], r15
test r13, r13
jne 0x1400a1316
mov ecx, esi
jmp 0x1400a1327
xor eax, eax
mov rcx, rbx
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.140001e80
test r12, r12
jne 0x1400a133f
mov ecx, esi
jmp 0x1400a1350
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.140001e80
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x1400a1379
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea esi, [rcx - 1]
mov r8d, esi
lea rcx, [rbp - 0x10]
call fcn.140001e80
mov rsi, qword [0x14011e2a8]
lea r9, [rbp - 0x30]
mov r8, qword [rsi + 8]
mov rdx, rsi
lea rcx, [0x14011e2a8]
call fcn.1400a0aa0
mov rdi, rax
movabs rcx, 0x666666666666665
mov rdx, qword [0x14011e2b0]
sub rcx, rdx
cmp rcx, 1
jae 0x1400a13ce
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rdx
mov qword [0x14011e2b0], rdx
mov qword [rsi + 8], rax
mov rax, qword [rax + 8]
mov qword [rax], rdi
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a1401
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a141f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a143d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400a1459
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret