Function at 0x10024ce
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1008044]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], ebx
call fcn.0100243c
call fcn.010023bc
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x11c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x10011f0
push 0x80000002
call esi
test eax, eax
jne 0x1002596
cmp dword [0x10082cc], ebx
mov eax, 0x1001280
jne 0x1002563
mov eax, 0x1001278
lea ecx, [ebp - 0x10c]
push ecx
push edi
push ebx
push eax
push dword [ebp - 0x11c]
call esi
test eax, eax
jne 0x1002596
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x118]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x10082c0], eax
je 0x10027f0
cmp dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x12c], 0x104
jbe 0x10027fa
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
xor esi, esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10027fa
cmp dword [ebp - 0x134], ebx
je 0x100262a
push 0x1001274
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10027cc
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x10082c0]
mov dword [esi + ecx], eax
mov eax, dword [0x10082c0]
cmp dword [esi + eax], ebx
je 0x10027cc
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x10082c0]
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x114]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10027cc
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 4]
push eax
push 0x100117c
push dword [ebp - 0x114]
call fcn.01001bf2
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 8]
push eax
push 0x1001188
push dword [ebp - 0x114]
call fcn.01001bf2
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 0xc]
push eax
push 0x100118c
push dword [ebp - 0x114]
call fcn.01001bf2
push dword [ebp - 0x114]
call dword [entry0]
mov eax, dword [0x10082c0]
cmp dword [esi + eax + 4], ebx
jne 0x1002757
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x10082c0]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x10082c0]
mov ecx, dword [esi + eax + 4]
cmp ecx, ebx
je 0x1002757
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov dword [ebp - 0x138], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100273a
sub eax, dword [ebp - 0x138]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp - 0x120]
mov eax, dword [0x10082c0]
push dword [esi + eax + 4]
push ebx
push 0x180
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x19a
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x130], ebx
je 0x10027c3
push dword [ebp - 0x130]
mov eax, dword [0x10082c0]
push dword [esi + eax + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10027c3
push ebx
push dword [ebp - 0x110]
push 0x186
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 0x120]
add esi, 0x14
inc dword [ebp - 0x110]
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], 0x104
jb 0x10025dc
jmp 0x10027fa
mov dword [ebp - 0x128], 0x8007000e
cmp dword [ebp - 0x10c], ebx
je 0x100280e
push dword [ebp - 0x10c]
call dword [entry0]
cmp dword [ebp - 0x11c], ebx
pop edi
pop esi
pop ebx
je 0x1002825
push dword [ebp - 0x11c]
call dword [entry0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
call fcn.0100392b
leave
ret 8