Function at 0x140023e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov r8, rdx
xor r15b, r15b
lea r12, [rcx + 0x38]
mov rax, qword [r12]
cmp dword [rax - 0x10], 0
jne 0x1400240f5
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
mov qword [rbp - 0x10], r13
mov r9d, 0x20019
lea rbx, str.SOFTWARESony_CorporationVAIO_Update
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.140008440
test eax, eax
jne 0x1400240e2
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
test rbx, 0xffffffffffff0000
jne 0x140023eb3
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.1400017e0
test rax, rax
je 0x140023ec6
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140001f70
jmp 0x140023ec6
mov r8d, 0x25
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140001e80
nop
lea r8, [0x1400ddd20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140002ce0
nop
lea r8, str.TaskManager
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x40]
add rbx, 0xffffffffffffffe8
or esi, 0xffffffff
cmp rcx, rbx
je 0x140023f4e
cmp dword [rbx + 0x10], 0
jl 0x140023f40
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140023f40
call fcn.140001b90
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140023f36
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x40], rax
jmp 0x140023f4e
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x40]
call fcn.140001e80
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140023f6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140023f8b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r9d, 0x2001f
mov rbx, qword [rbp - 0x40]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.140008440
mov r14, qword [rbp - 0x20]
test eax, eax
jne 0x1400240b3
mov dword [rbp + 0x48], r13d
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.AppName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400240b3
mov eax, dword [rbp + 0x60]
cmp eax, 1
je 0x140023ff6
cmp eax, 2
jne 0x1400240b3
mov edi, dword [rbp + 0x48]
shr edi, 1
mov edx, edi
mov rcx, r12
call fcn.140001dd0
mov r13, rax
lea ecx, [rdi + rdi]
mov dword [rbp + 0x58], ecx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.AppName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400240b0
mov eax, dword [rbp - 0x48]
cmp eax, 1
je 0x140024044
cmp eax, 2
jne 0x1400240b0
test r13, r13
je 0x140024069
mov eax, dword [rbp + 0x58]
test eax, eax
je 0x140024062
test al, 1
jne 0x1400240b0
shr rax, 1
cmp word [r13 + rax*2 - 2], 0
je 0x140024069
jmp 0x1400240b0
xor eax, eax
mov word [r13], ax
mov rcx, qword [r12]
test rcx, rcx
jne 0x14002407a
xor r13d, r13d
mov eax, r13d
jmp 0x14002408b
movsxd rdx, dword [rcx - 0xc]
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x1400240a5
xor r13d, r13d
mov rcx, qword [r12]
cmp eax, dword [rcx - 0xc]
jg 0x1400240a5
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r12]
mov word [rax + rcx*2], r13w
jmp 0x1400240b3
mov ecx, 0x80070057
call fcn.140001000
int3
xor r13d, r13d
test r14, r14
je 0x1400240c5
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x1400240e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400240f1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x50]
mov rax, qword [r12]
cmp dword [rax - 0x10], 0
je 0x14002410d
mov rdx, r12
mov rcx, r8
call fcn.140002250
mov r15b, 1
movzx eax, r15b
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret