Function at 0x10008e61
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
mov esi, 0x104
jne 0x10008f45
cmp dword [ebp - 0xc], ebx
jbe 0x10008f45
mov dword [ebp - 4], ebx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
mov byte [ebp - 0x12c], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
mov byte [ebp - 0x230], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10008f36
cmp dword [ebp - 0x1c], 1
jne 0x10008f36
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 8]
push eax
call fcn.1000260b
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10008ffa
lea ecx, [ebp - 8]
call fcn.100025df
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x10008ea5
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x334]
mov dword [ebp - 0x10], esi
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call edi
cmp eax, ebx
jne 0x100090ca
lea eax, [ebp - 0x334]
push 0x2001f
push eax
lea ecx, [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.10002402
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x10009024
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.10008e61
test eax, eax
je 0x1000903a
cmp dword [ebp - 4], ebx
je 0x10008fc9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
inc dword [ebp - 8]
cmp dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
je 0x10008fdd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
jmp 0x10008f67
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ecx], eax
jb 0x10009017
mov dword [ecx], eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0x18]
call fcn.1000a8f0
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.100025df
jmp 0x100090c8
cmp dword [ebp - 4], ebx
je 0x10009032
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
jmp 0x100090ca
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
mov byte [ebp - 0x12c], bl
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1000a9e0
mov esi, dword [ebp + 0x10]
mov edi, eax
push esi
call fcn.1000a9e0
add edi, eax
pop ecx
cmp edi, 0x103
pop ecx
jae 0x100090ba
push dword [ebp + 0xc]
lea eax, [ebp - 0x12c]
push eax
call fcn.1000a900
lea eax, [ebp - 0x12c]
push 0x1000c074
push eax
call fcn.1000a900
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.1000a900
push esi
call fcn.1000a9e0
push eax
push ebx
push esi
call fcn.1000a550
lea eax, [ebp - 0x12c]
push eax
push esi
call fcn.1000a8f0
add esp, 0x30
cmp dword [ebp - 4], ebx
je 0x100090c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18