Function at 0x1400a0b60
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov qword [rbp - 9], 0xfffffffffffffffe
mov r14, rdx
xor r15b, r15b
mov rax, qword [rdx]
lea rsi, [0x1400eda60]
mov rbx, rsi
cmp dword [rax - 0x10], 0
cmovne rbx, rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp + 0x77], rdi
or r13, 0xffffffffffffffff
test rbx, rbx
je 0x1400a0bff
test rbx, 0xffffffffffff0000
jne 0x1400a0bec
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x1400a0c14
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x77]
call fcn.140001f70
jmp 0x1400a0c10
xor eax, eax
mov rcx, r13
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x1400a0c01
xor ecx, ecx
mov r8d, ecx
mov rdx, rbx
lea rcx, [rbp + 0x77]
call fcn.140001e80
mov rdi, qword [rbp + 0x77]
mov r12d, dword [rdi - 0x10]
lea ebx, [r12 + 1]
test ebx, ebx
jns 0x1400a0c2c
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400a0c4c
mov edx, ebx
lea rcx, [rbp + 0x77]
call fcn.140001c20
mov rdi, qword [rbp + 0x77]
mov rax, r12
xor r12d, r12d
mov word [rdi + rax*2], r12w
cmp ebx, dword [rdi - 0xc]
jg 0x1400a1047
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], r12w
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x7f], rax
mov r8, qword [r14 + 8]
lea rdx, str._I64u
lea rcx, [rbp + 0x7f]
call fcn.140004440
mov rdx, qword [rbp + 0x7f]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x77]
call fcn.140003c10
mov rdx, qword [rbp + 0x77]
mov ebx, dword [rdx - 0x10]
lea edi, [rbx + 1]
test edi, edi
jns 0x1400a0cc2
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a0ce2
mov edx, edi
lea rcx, [rbp + 0x77]
call fcn.140001c20
mov rdx, qword [rbp + 0x77]
mov word [rdx + rbx*2], r12w
cmp edi, dword [rdx - 0xc]
jg 0x1400a103c
mov dword [rdx - 0x10], edi
movsxd rax, edi
mov word [rdx + rax*2], r12w
mov rdx, qword [r14 + 0x10]
cmp dword [rdx - 0x10], 0
jne 0x1400a0d0a
mov rdx, rsi
jmp 0x1400a0d14
test rdx, rdx
jne 0x1400a0d14
mov ecx, r12d
jmp 0x1400a0d25
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rbp + 0x77]
call fcn.140003c10
mov rdx, qword [rbp + 0x77]
mov ebx, dword [rdx - 0x10]
lea edi, [rbx + 1]
test edi, edi
jns 0x1400a0d4a
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a0d6a
mov edx, edi
lea rcx, [rbp + 0x77]
call fcn.140001c20
mov rdx, qword [rbp + 0x77]
mov word [rdx + rbx*2], r12w
cmp edi, dword [rdx - 0xc]
jg 0x1400a1031
mov dword [rdx - 0x10], edi
movsxd rax, edi
mov word [rdx + rax*2], r12w
mov rdx, qword [r14 + 0x18]
cmp dword [rdx - 0x10], 0
jne 0x1400a0d92
mov rdx, rsi
jmp 0x1400a0d9c
test rdx, rdx
jne 0x1400a0d9c
mov ecx, r12d
jmp 0x1400a0dad
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rbp + 0x77]
call fcn.140003c10
mov rdx, qword [rbp + 0x77]
mov ebx, dword [rdx - 0x10]
lea edi, [rbx + 1]
test edi, edi
jns 0x1400a0dd2
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400a0df2
mov edx, edi
lea rcx, [rbp + 0x77]
call fcn.140001c20
mov rdx, qword [rbp + 0x77]
mov word [rdx + rbx*2], r12w
cmp edi, dword [rdx - 0xc]
jg 0x1400a1026
mov dword [rdx - 0x10], edi
movsxd rax, edi
mov word [rdx + rax*2], r12w
mov rax, qword [r14 + 0x20]
cmp dword [rax - 0x10], 0
je 0x1400a0e22
mov rsi, rax
test rax, rax
jne 0x1400a0e22
mov ecx, r12d
jmp 0x1400a0e33
xor eax, eax
mov rcx, r13
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rsi
lea rcx, [rbp + 0x77]
call fcn.140003c10
mov rdi, qword [rbp + 0x77]
mov esi, dword [rdi - 0x10]
lea ebx, [rsi + 1]
test ebx, ebx
jns 0x1400a0e5b
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400a0e7b
mov edx, ebx
lea rcx, [rbp + 0x77]
call fcn.140001c20
mov rdi, qword [rbp + 0x77]
mov word [rdi + rsi*2], r12w
cmp ebx, dword [rdi - 0xc]
jg 0x1400a101b
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], r12w
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x19], rax
mov r8d, dword [rbp + 0x67]
lea rdx, str.Module_d
lea rcx, [rbp - 0x19]
call fcn.140004440
mov qword [rbp - 1], r12
xor esi, esi
mov dword [rbp + 7], esi
mov qword [rbp + 0xf], rsi
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x11]
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 rdx, str.SOFTWARESony_CorporationVAIO_UpdatePatchListFromVUAX
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rbx, qword [rbp - 0x19]
test eax, eax
jne 0x1400a0fab
mov r12, qword [rbp - 0x11]
mov qword [rbp - 1], r12
mov dword [rbp + 7], esi
cmp dword [rdi - 8], 1
jle 0x1400a0f3c
mov edx, dword [rdi - 0x10]
lea rcx, [rbp + 0x77]
call fcn.140001930
mov rdi, qword [rbp + 0x77]
mov eax, esi
test rdi, rdi
setne al
test eax, eax
je 0x1400a0f96
mov r14d, esi
mov rsi, rdi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rsi, [rsi + rax*2]
lea r14d, [r14 + rax*2]
cmp eax, 1
jne 0x1400a0f50
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r15d, r15b
test eax, eax
mov eax, 1
cmove r15d, eax
xor esi, esi
test r12, r12
je 0x1400a0fab
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, rsi
mov qword [rbp - 1], rsi
test r12, r12
je 0x1400a0fba
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a0fd6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a0ff6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rbp + 0x77]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400a1015
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, r15b
jmp 0x1400a1052
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
nop
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret