Function at 0x14000c124
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
xor r13d, r13d
lea rax, [rsp + 0x78]
mov qword [r8], r13
lea rdx, str.SOFTWARERegisteredApplications
mov dword [r9], r13d
mov r15, r9
mov r12, r8
mov dword [rbp + 0x200], r13d
mov r9d, 0x20019
mov dword [rsp + 0x68], r13d
xor r8d, r8d
mov dword [rbp + 0x208], r13d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov r14d, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c1a0
xor eax, eax
jmp 0x14000c444
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0x208]
mov qword [rsp + 0x58], r13
xor r9d, r9d
mov qword [rsp + 0x50], r13
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000c436
cmp dword [rbp + 0x200], r13d
je 0x14000c436
mov rcx, qword [0x1400268c8]
lea edx, [rax + 8]
mov r8d, dword [rbp + 0x208]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x14000c436
xor eax, eax
lea rdi, [rbp - 0x70]
mov ecx, 0x20a
mov esi, r13d
rep stosb byte [rdi], al
cmp dword [rbp + 0x200], r13d
jbe 0x14000c420
mov eax, dword [rbp + 0x208]
lea r9, [rsp + 0x6c]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x70]
mov dword [rsp + 0x64], eax
mov edx, esi
lea rax, [rsp + 0x64]
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x6c], 0x104
mov word [rbp - 0x70], r13w
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000c412
cmp dword [rsp + 0x60], 1
jne 0x14000c412
mov eax, dword [rsp + 0x64]
lea rdx, str.WindowsStore
mov rcx, rbx
mov word [rbx + rax*2], r13w
call fcn.140001bb8
test rax, rax
je 0x14000c412
lea rax, [rbp - 0x80]
mov dword [rbp + 0x1f8], 1
mov edi, 0x20019
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
mov r14d, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c40d
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x70]
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.URLAssociations
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c403
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f8]
xor r8d, r8d
mov qword [rsp + 0x20], r13
lea rdx, str.ms_windows_store
mov dword [rbp + 0x1f0], r13d
mov dword [rbp + 0x1f8], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c3f8
cmp dword [rbp + 0x1f8], 1
jne 0x14000c3f8
mov rcx, qword [0x1400268c8]
lea edx, [rax + 8]
mov r8d, dword [rbp + 0x1f0]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14000c3f8
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f8]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.ms_windows_store
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c3e2
mov eax, dword [rbp + 0x1f0]
mov r14d, 1
mov dword [r15], eax
mov qword [r12], rdi
jmp 0x14000c3f8
mov rcx, qword [0x1400268c8]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
jne 0x14000c420
inc esi
cmp esi, dword [rbp + 0x200]
jb 0x14000c247
mov rcx, qword [0x1400268c8]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret