Function at 0x10014780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131738
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x101ba518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x101c9c30
mov dword [ebp - 0x70], vtable.softricity::shared::lock_holder_class_softricity::shared::critical_section_.0
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0x101c9c30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101c9c48]
inc eax
mov dword [0x101c9c48], eax
cmp eax, 1
jne 0x100147e3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x101c9c4c], eax
mov byte [ebp - 0x6c], 1
mov dword [ebp - 4], 0
push dword [ebp - 0x60]
mov edx, dword [0x101c9c58]
push ecx
mov ecx, dword [0x101c9c54]
call fcn.100162a0
mov eax, dword [0x101c9c54]
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [0x101c9c58], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftAppVISVVirtualized
push 0x80000002
mov dword [ebp - 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10014924
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
push 0x104
mov dword [ebp - 0x58], 0x100
call fcn.10014df0
mov byte [ebp - 4], 2
xor esi, esi
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
sub ebx, edi
sar ebx, 1
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], ebx
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push edi
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100148fe
push dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.10009290
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x101c9c54
call fcn.10014bd0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x100148e7
push dword [ebp - 0x28]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
inc esi
mov word [ebp - 0x28], ax
jmp 0x10014880
mov byte [ebp - 4], 1
test edi, edi
je 0x10014924
push edi
call fcn.10115284
add esp, 4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftAppVISVVirtualized
push 0x80000002
mov dword [ebp - 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x10014acd
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
push 0x104
mov dword [ebp - 0x4c], 0x200
call fcn.10014df0
mov byte [ebp - 4], 5
xor esi, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub eax, edi
sar eax, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10014a0a
push dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push edi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.10009290
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x101c9c54
call fcn.10014bd0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2c], 8
jb 0x100149f0
push dword [ebp - 0x40]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
inc esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0
jmp 0x1001498b
mov byte [ebp - 4], 4
test edi, edi
je 0x10014a30
push edi
call fcn.10115284
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, 0x80
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10014a53
push ebx
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x10014a6f
push ecx
call eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 0
dec dword [0x101c9c48]
mov ecx, dword [0x101c9c4c]
cmove ecx, eax
mov dword [ebp - 0x70], vtable.softricity::shared::lock_holder_class_softricity::shared::critical_section_.0
push 0x101c9c30
mov dword [0x101c9c4c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x6c], 0
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10115289
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x10014a30
cmp eax, 3
je 0x10014a30
call fcn.10013e50
mov esi, eax
mov edi, edx
or esi, dword [ebp - 0x60]
or edi, 0x112a
jmp 0x10014a37