Function at 0x14007a090
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movzx r15d, r8b
mov rbx, rdx
xor r14b, r14b
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
xor eax, eax
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14007a125
test rbx, 0xffffffffffff0000
jne 0x14007a114
movzx edi, bx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14007a137
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140001f70
jmp 0x14007a137
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14007a127
mov ecx, eax
mov r8d, ecx
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140001e80
nop
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov dword [rbp + 0x17], ebx
mov qword [rbp + 0x1f], rbx
mov qword [rbp - 0x11], rbx
mov dword [rbp - 9], ebx
mov qword [rbp - 1], rbx
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x59], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x41], rdi
call fcn.14001a970
test eax, eax
jne 0x14007a1a0
lea r8d, [rbx + 0x2d]
lea rdx, str.SOFTWARESony_CorporationShared_InfoVEAppDB
lea rcx, [rbp - 0x59]
call fcn.140001e80
jmp 0x14007a1d3
cmp eax, 9
jne 0x14007a1d3
lea r8d, [rax + 0x24]
lea rdx, str.SOFTWARESony_CorporationShared_InfoVEAppDB
lea rcx, [rbp - 0x59]
call fcn.140001e80
mov r8d, Ordinal_61
lea rdx, str.SOFTWAREWow6432NodeSony_CorporationShared_InfoVEAppDB
lea rcx, [rbp - 0x41]
call fcn.140001e80
mov rdi, qword [rbp - 0x41]
mov r13d, ebx
cmp r13d, 1
jne 0x14007a23c
lea rcx, [rdi - 0x18]
mov rbx, qword [rbp - 0x59]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14007a23a
cmp dword [rbx + 0x10], 0
jl 0x14007a22a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007a22a
call fcn.140001b90
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14007a21c
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x59], rax
mov rdi, qword [rbp - 0x41]
jmp 0x14007a23a
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140001e80
xor ebx, ebx
mov r9d, 0x20019
mov r8, qword [rbp - 0x59]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.140008440
test eax, eax
jne 0x14007a5f8
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x51], rdi
mov edx, 0x104
mov dword [rbp + 0x7f], edx
mov r12d, ebx
test edx, edx
js 0x14007a632
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, edx
or eax, ecx
jge 0x14007a2a8
lea rcx, [rbp - 0x51]
call fcn.140001c20
mov rdi, qword [rbp - 0x51]
lea rax, [rbp + 0x2f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x7f]
mov r8, rdi
mov edx, r12d
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14007a5d5
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14007a627
cmp eax, dword [rdi - 0xc]
jg 0x14007a627
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], bx
lea r8, [0x1400ddd20]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.140002ce0
nop
lea r8, [rbp - 0x51]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140008ad0
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a34a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x21], rbx
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x31]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007a515
mov eax, ebx
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14007a38a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rbp - 0x21]
mov qword [rbp - 0x11], rbx
mov dword [rbp - 9], 0
test eax, eax
jne 0x14007a513
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x19], rdi
mov edx, 0x104
mov dword [rbp + 0x7f], edx
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, edx
or eax, ecx
jge 0x14007a3e3
lea rcx, [rbp - 0x19]
call fcn.140001c20
mov edx, dword [rbp + 0x7f]
mov rdi, qword [rbp - 0x19]
lea eax, [rdx + rdx]
mov dword [rbp - 0x49], eax
mov dword [rbp + 0x7f], 0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x29]
xor r8d, r8d
lea rdx, str.appid
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007a450
mov eax, dword [rbp - 0x29]
cmp eax, 1
je 0x14007a426
cmp eax, 2
jne 0x14007a450
mov ecx, dword [rbp - 0x49]
test rdi, rdi
je 0x14007a44b
test ecx, ecx
je 0x14007a446
test cl, 1
jne 0x14007a450
mov eax, ecx
shr rax, 1
cmp word [rdi + rax*2 - 2], 0
je 0x14007a44b
jmp 0x14007a450
xor eax, eax
mov word [rdi], ax
shr ecx, 1
mov dword [rbp + 0x7f], ecx
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14007a61c
cmp eax, dword [rdi - 0xc]
jg 0x14007a61c
mov dword [rdi - 0x10], eax
cdqe
xor ebx, ebx
mov word [rdi + rax*2], bx
mov eax, ebx
test r15b, r15b
je 0x14007a4a5
mov rdx, qword [rbp - 0x39]
test rdx, rdx
setne al
test eax, eax
je 0x14007a606
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x14007a555
jmp 0x14007a4f7
mov rbx, qword [rbp - 0x39]
test rbx, rbx
setne al
test eax, eax
je 0x14007a611
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x14007a593
test rbx, rbx
je 0x14007a4f5
cmp dword [rdi - 0x10], 0
jl 0x14007a4f5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsstr]
test rax, rax
je 0x14007a4f5
sub rax, rdi
sar rax, 1
test eax, eax
je 0x14007a593
xor ebx, ebx
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a515
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14007a515
xor ebx, ebx
mov dword [rbp + 0x7f], 0x104
inc r12d
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jle 0x14007a540
mov rdi, qword [rbp - 0x51]
mov edx, dword [rbp + 0x7f]
jmp 0x14007a282
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp - 0x51]
mov edx, dword [rbp + 0x7f]
jmp 0x14007a282
mov r14b, 1
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a573
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a5d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14007a5d1
mov r14b, 1
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a5b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a5cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor ebx, ebx
mov rdi, qword [rbp - 0x51]
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a5ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp - 0x41]
test r14b, r14b
jne 0x14007a63d
inc r13d
cmp r13d, 2
jge 0x14007a63d
jmp 0x14007a1d6
mov ecx, 0x80004005
call fcn.140001000
int3
mov ecx, 0x80004005
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a658
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007a677
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14007a687
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14007a697
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14007a6b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, r14b
lea r11, [rsp + 0xd0]
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