Function at 0x10024870
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135279
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.10106340
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 0x10024b95
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 0x10024947
push 0x20119
jmp 0x1002494c
push 0x20219
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
call fcn.1001d7a0
add esp, 0x10
test al, al
je 0x10024b5f
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100266a0
test al, al
je 0x10024b5f
push 0x90
call fcn.100c3efa
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x100249bf
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.100201e0
jmp 0x100249c1
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 0x100249fb
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.10028830
test al, al
je 0x10024b2e
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x10024a33
lock inc dword [edi]
mov ecx, dword [ebp - 0x254]
mov dword [eax], ebx
mov dword [eax + 4], esi
call fcn.10024bd0
mov ecx, ebx
call fcn.100203d0
test al, al
je 0x10024b2e
test esi, esi
je 0x10024a59
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 0x10024aba
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10008ec0
call fcn.100283d0
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 0x10024aed
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x10024aed
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10024aed
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.100205d0
mov edx, dword [ebx + 4]
mov ecx, 0xffffffe
sub ecx, edx
cmp ecx, 1
jb 0x10024bbd
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x228]
mov dword [edi], eax
jmp 0x10024b34
mov ebx, dword [ebp - 0x254]
test esi, esi
je 0x10024b59
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10024b59
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10024b59
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 0x10024b80
push eax
call edi
mov dword [ebp - 0x224], 0
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x220], 0
jmp 0x100248c0
mov eax, dword [ebp + 8]
test eax, eax
je 0x10024b9f
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.100c427e
mov esp, ebp
pop ebp
ret 0x18
push str.list_T__too_long
call fcn.1003bac9
int3