Function at 0x10024850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135259
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x10182440]
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 - 0x254], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x258], esi
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10106310
add esp, 0xc
mov dword [ebp - 0x230], 0x104
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x230]
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 0x10024b75
xorps xmm0, xmm0
mov dword [ebp - 0x21c], eax
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
je 0x10024927
push 0x20119
jmp 0x1002492c
push 0x20219
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
call fcn.1001d780
add esp, 0x10
test al, al
je 0x10024b3f
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10026680
test al, al
je 0x10024b3f
push 0x90
call fcn.100c3eca
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1002499f
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.100201c0
jmp 0x100249a1
xor esi, esi
xorps xmm0, xmm0
lea ebx, [esi + 0x10]
movlpd qword [ebp - 0x22c], xmm0
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], esi
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 0x100249db
lock inc dword [edi]
mov ecx, dword [ebp - 0x254]
mov dword [eax], ebx
mov dword [eax + 4], esi
lea eax, [ebp - 0x224]
push eax
call fcn.10028810
test al, al
je 0x10024b0e
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x10024a13
lock inc dword [edi]
mov ecx, dword [ebp - 0x254]
mov dword [eax], ebx
mov dword [eax + 4], esi
call fcn.10024bb0
mov ecx, ebx
call fcn.100203b0
test al, al
je 0x10024b0e
test esi, esi
je 0x10024a39
lock inc dword [edi]
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], esi
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x248]
call fcn.10008ec0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10024a9a
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10008ec0
call fcn.100283b0
add esp, 0x18
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
lea ecx, [ebp - 0x248]
call fcn.10009070
mov byte [ebp - 4], 3
test esi, esi
je 0x10024acd
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x10024acd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10024acd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
mov ecx, ebx
mov esi, dword [ebx]
mov edi, dword [esi + 4]
push edi
push esi
call fcn.100205b0
mov edx, dword [ebx + 4]
mov ecx, 0xffffffe
sub ecx, edx
cmp ecx, 1
jb 0x10024b9d
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x228]
mov dword [edi], eax
jmp 0x10024b14
mov ebx, dword [ebp - 0x254]
test esi, esi
je 0x10024b39
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10024b39
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10024b39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x258]
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0
test eax, eax
je 0x10024b60
push eax
call edi
mov dword [ebp - 0x224], 0
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x220], 0
jmp 0x100248a0
mov eax, dword [ebp + 8]
test eax, eax
je 0x10024b7f
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.100c424e
mov esp, ebp
pop ebp
ret 0x18
push str.list_T__too_long
call fcn.1003bab9
int3