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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2828
call fcn.10001ba0
push ebx
push esi
push 0x800
lea eax, [ebp - 0x1028]
mov ebx, edx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
push 0x800
lea eax, [ebp - 0x1828]
mov dword [ebp - 0x24], 0x400
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [ebp - 0x18], 0x400
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ParseApplicationUserModelId]
test eax, eax
jne 0x10010d4a
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1028]
push eax
call dword [sym.imp.KERNEL32.dll_GetPackagesByPackageFamily]
cmp eax, 0x7a
jne 0x10010d4a
mov esi, dword [ebp - 0x10]
mov eax, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
push edi
xor edi, edi
mov dword [ebp - 8], edi
test esi, esi
je 0x10010aea
cmp esi, 0x3fffffff
ja 0x10010d52
shl esi, 2
cmp esi, 0x1000
jb 0x10010ac3
lea ecx, [esi + 0x23]
cmp ecx, esi
jbe 0x10010d5c
push ecx
call eax
add esp, 4
test eax, eax
je 0x10010d61
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10010ad3
test esi, esi
je 0x10010ad1
push esi
call eax
add esp, 4
mov edi, eax
jmp 0x10010ad3
xor edi, edi
push esi
lea eax, [esi + edi]
push 0
push edi
mov dword [ebp - 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 0xc
mov esi, dword [ebp - 0xc]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], edx
test esi, esi
je 0x10010b5d
cmp esi, 0x7fffffff
ja 0x10010d57
add esi, esi
cmp esi, 0x1000
jb 0x10010b35
lea ecx, [esi + 0x23]
cmp ecx, esi
jbe 0x10010d5c
push ecx
call eax
add esp, 4
test eax, eax
je 0x10010d61
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10010b45
test esi, esi
je 0x10010b43
push esi
call eax
add esp, 4
mov ecx, eax
jmp 0x10010b45
xor ecx, ecx
push esi
lea edx, [esi + ecx]
mov dword [ebp - 4], ecx
push 0
push ecx
mov dword [ebp - 0x20], edx
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 4]
add esp, 0xc
push ecx
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1028]
push eax
call dword [sym.imp.KERNEL32.dll_GetPackagesByPackageFamily]
test eax, eax
jne 0x10010ce1
mov ecx, edi
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 8]
je 0x10010ce1
nop word [eax + eax]
push dword [ecx]
lea eax, [ebp - 0x828]
push str.ExtensionsContractIdWindows.ShareTargetPackageId_wsActivatableClassId
push 0x400
push eax
call fcn.1000edb0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x828]
push eax
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10010ccf
push 0x400
lea eax, [ebp - 0x828]
xor esi, esi
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x10010ccf
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x10010cb0
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x2028]
push 0x400
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
push str.CustomProperties
lea eax, [ebp - 0x2028]
push 0x400
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0x18
mov dword [ebp - 0x28], 0x800
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2828]
push eax
push 0
push str.SupportedFileTypes
lea eax, [ebp - 0x2028]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10010cb0
test ebx, ebx
je 0x10010d46
push 0x10051fec
lea eax, [ebp - 0x2828]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x10010d46
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea eax, [ebp - 0x2828]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10010d46
push 0x400
lea eax, [ebp - 0x828]
inc esi
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10010bf0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 8]
jne 0x10010b90
xor bl, bl
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10010d15
mov ecx, dword [ebp - 0x20]
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x10010d0f
mov ecx, dword [eax - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d61
mov eax, ecx
push eax
call esi
add esp, 4
test edi, edi
je 0x10010d3d
mov eax, dword [ebp - 8]
sub eax, edi
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x10010d37
mov ecx, dword [edi - 4]
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x10010d61
mov edi, ecx
push edi
call esi
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x10010ce3
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10011fa0
call fcn.10011fa0
call fcn.10012590
call sub.KERNEL32.dll_DebugBreak
int3