Function at 0x1002ed10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10155a79
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x101a4494]
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
mov ebx, ecx
mov dword [ebp - 0x234], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], esi
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1012e610
add esp, 0xc
mov dword [ebp - 0x24c], 0x104
lea eax, [ebp - 0x268]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1002f019
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
je 0x1002edd6
push 0x20119
jmp 0x1002eddb
push 0x20219
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x244]
push eax
call fcn.1001b240
add esp, 0x10
test al, al
je 0x1002efe3
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.10030c30
test al, al
je 0x1002efe3
push 0x90
call fcn.100f4a3f
mov esi, eax
add esp, 4
mov dword [ebp - 0x258], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1002ee4e
lea ecx, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_CAppUninstallThirdEntry_.0
call fcn.1002b690
jmp 0x1002ee50
xor esi, esi
lea ebx, [esi + 0x10]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
sub esp, 8
mov byte [ebp - 4], 3
lea edi, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x1002ee7f
lock inc dword [edi]
mov ecx, dword [ebp - 0x234]
mov dword [eax], ebx
mov dword [eax + 4], esi
lea eax, [ebp - 0x244]
push eax
call fcn.10032bc0
test al, al
je 0x1002efb2
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x1002eeb7
lock inc dword [edi]
mov ecx, dword [ebp - 0x234]
mov dword [eax], ebx
mov dword [eax + 4], esi
call fcn.1002f050
mov ecx, ebx
call fcn.1002b880
test al, al
je 0x1002efb2
test esi, esi
je 0x1002eedd
lock inc dword [edi]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], esi
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.1000da50
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1002ef3e
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.1000da50
call fcn.10032760
add esp, 0x18
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
lea ecx, [ebp - 0x230]
call fcn.100098e0
mov byte [ebp - 4], 3
test esi, esi
je 0x1002ef71
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x1002ef71
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002ef71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x254]
push eax
mov ecx, ebx
mov esi, dword [ebx]
mov edi, dword [esi + 4]
push edi
push esi
call fcn.1002bc80
mov edx, dword [ebx + 4]
mov ecx, 0xffffffe
sub ecx, edx
cmp ecx, 1
jb 0x1002f041
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x250]
mov dword [edi], eax
jmp 0x1002efb8
mov ebx, dword [ebp - 0x234]
test esi, esi
je 0x1002efdd
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1002efdd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002efdd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x238]
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0
test eax, eax
je 0x1002f004
push eax
call edi
mov dword [ebp - 0x244], 0
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x240], 0
jmp 0x1002ed60
mov eax, dword [ebp + 8]
test eax, eax
je 0x1002f023
push eax
call 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.100f4dc3
mov esp, ebp
pop ebp
ret 0x18
push str.list_T__too_long
call fcn.1004f2b0
int3