Function at 0x14000b8b0
Capabilities:
Check mutex on windows
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, r8
mov r12, rdx
mov r15, rcx
xor esi, esi
mov edi, esi
mov dword [rbp - 0x21], esi
call fcn.140091150
test al, al
je 0x14000b8ff
call fcn.140008d90
test al, al
jne 0x14000b915
mov rcx, r15
call fcn.140008b80
test al, al
jne 0x14000b915
mov eax, 0x80004005
jmp 0x14000bf8b
call fcn.140091150
or rbx, 0xffffffffffffffff
test al, al
je 0x14000b9b1
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
test r12, r12
je 0x14000b983
test r12, 0xffffffffffff0000
jne 0x14000b970
movzx edi, r12w
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14000b995
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140001f70
jmp 0x14000b995
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000b985
mov ecx, esi
mov r8d, ecx
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.140001e80
nop
mov edi, 1
mov dword [rbp - 0x21], edi
lea rdx, [rbp - 0x41]
mov rcx, r15
call fcn.1400088b0
test al, al
sete r13b
jmp 0x14000b9b4
mov r13b, 1
test dil, 1
je 0x14000b9d8
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000b9d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test r13b, r13b
je 0x14000ba2f
call fcn.140091150
test al, al
je 0x14000b9ef
call fcn.140008d90
test al, al
jne 0x14000b9fb
mov rcx, r15
call fcn.140008b80
test al, al
je 0x14000ba19
mov dword [rbp - 0x4d], esi
lea rdx, [rbp - 0x4d]
lea rcx, str.SoftwareSelfUpdateAvailable
call fcn.14005da70
cmp dword [rbp - 0x4d], 0
setne al
test al, al
jne 0x14000ba2f
lea rcx, str.InstallSoftware:E_VU_SSUOPTIONDISABLED
call fcn.1400191f0
mov eax, 0x80040201
jmp 0x14000bf8b
mov rcx, r15
call fcn.1400085f0
test al, al
jne 0x14000ba45
mov eax, 0x8004020f
jmp 0x14000bf8b
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
test r12, r12
je 0x14000baa2
test r12, 0xffffffffffff0000
jne 0x14000ba8f
movzx edi, r12w
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14000bab4
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140001f70
jmp 0x14000bab4
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000baa4
mov ecx, esi
mov r8d, ecx
mov rdx, r12
lea rcx, [rbp - 0x31]
call fcn.140001e80
nop
lea rdx, [rbp - 0x31]
mov rcx, qword [0x14011e220]
call fcn.140023ae0
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bae3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, str.GlobalVAIO_Update_SSU_Mutex
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r13, rax
test rax, rax
je 0x14000bf65
cmp rax, 0xffffffffffffffff
je 0x14000bf65
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000bf48
cmp eax, 5
je 0x14000bf48
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
test r12, r12
je 0x14000bb84
test r12, 0xffffffffffff0000
jne 0x14000bb71
movzx edi, r12w
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14000bb96
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140001f70
jmp 0x14000bb96
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000bb86
mov ecx, esi
mov r8d, ecx
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140001e80
nop
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
lea r8, [rbp - 0x49]
mov rdx, r12
mov rcx, r15
call fcn.1400ae3b0
mov r12d, eax
test eax, eax
js 0x14000bf24
mov rax, qword [rbp - 0x49]
cmp dword [rax - 0x10], 0
je 0x14000bf24
mov rcx, qword [0x14011e220]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp eax, 1
jne 0x14000bc40
mov r12d, 0x8004020e
lea rcx, str.InstallSoftware:E_VU_VAIOUPDATEBUSY
call fcn.1400191f0
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bc1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000bf6b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14000bf6b
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.14003a290
mov r12d, eax
mov eax, 0x80040208
test r12d, r12d
cmovs r12d, eax
mov qword [rbp - 0x11], rsi
mov dword [rbp - 9], esi
mov qword [rbp - 1], rsi
mov qword [rbp - 0x29], rsi
lea rax, [rbp + 0x17]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
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 0x14000bee3
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x11], rax
mov dword [rbp - 9], esi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x59], rax
test rdi, 0xffffffffffff0000
jne 0x14000bd01
movzx edi, di
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14000bd14
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140001f70
jmp 0x14000bd14
mov r8d, 0x25
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0xf]
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 rdi, qword [rbp - 0x59]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14000bd98
cmp dword [rdi + 0x10], 0
jl 0x14000bd8a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000bd8a
call fcn.140001b90
mov r14, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000bd80
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x59], rax
jmp 0x14000bd98
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.140001e80
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bdb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bdd5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x19], rsi
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdi, qword [rbp - 0x59]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000bec5
mov eax, esi
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14000be2f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rbp - 0x19]
mov qword [rbp - 0x11], r14
mov dword [rbp - 9], esi
test eax, eax
jne 0x14000bec5
mov eax, esi
mov rcx, qword [rbp + 0x77]
test rcx, rcx
setne al
test eax, eax
je 0x14000be82
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.AppStartupPath
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbp + 0x7f]
test rax, rax
setne sil
test esi, esi
je 0x14000bec5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov r9, qword [rbp + 0x7f]
mov qword [rsp + 0x20], r9
mov r9d, 1
xor r8d, r8d
lea rdx, str.AppStartupOption
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bedf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rbp - 0x11]
mov rcx, r15
call fcn.140009cd0
mov dword [rbp - 0x1d], 7
mov rcx, qword [0x14011e220]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x1d]
call qword [rax + reloc.ATL100.DLL_Ordinal_56]
mov ecx, 0x80004005
test eax, eax
cmovs r12d, ecx
test rsi, rsi
je 0x14000bf24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bf43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14000bc1b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, 0x8004020e
lea rcx, str.InstallSoftware:E_VU_VAIOUPDATEBUSY
call fcn.1400191f0
jmp 0x14000bf88
mov r12d, 0x80004005
test r13, r13
je 0x14000bf88
cmp r13, 0xffffffffffffffff
je 0x14000bf88
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r12d
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret