Function at 0x10026090
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044f26
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x1005a4a0]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x258], ebx
push ebx
mov esi, 0xf
push 0x10047a54
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.10004791
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0xc]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x25c], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xc]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x258], ebx
mov byte [ecx], bl
call fcn.100044e0
call fcn.10025700
add esp, 0x24
cmp al, bl
jne 0x100261a6
lea eax, [ebp - 0x234]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
push eax
mov ecx, edi
mov byte [edi], bl
call fcn.1000742a
cmp dword [ebp - 0x220], 0x10
jb 0x10026166
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.1002eeea
add esp, 4
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
jb 0x1002618a
mov edx, dword [ebp + 0xc]
push edx
call fcn.1002eeea
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x100263b3
mov eax, dword [ebp + 0x28]
push eax
jmp 0x100263ab
push 0x207
lea ecx, [ebp - 0x217]
push ebx
push ecx
mov byte [ebp - 0x218], bl
call fcn.10030e40
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x254], ebx
jae 0x100261d3
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x254]
push edx
push eax
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1002625a
lea ecx, [ebp - 0x234]
push ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov ecx, edi
mov byte [edi], bl
call fcn.1000742a
cmp dword [ebp - 0x220], 0x10
jb 0x1002621a
mov edx, dword [ebp - 0x234]
push edx
call fcn.1002eeea
add esp, 4
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
jb 0x1002623e
mov eax, dword [ebp + 0xc]
push eax
call fcn.1002eeea
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x100263b3
mov ecx, dword [ebp + 0x28]
push ecx
jmp 0x100263ab
mov eax, dword [ebp - 0x254]
push 0x208
lea edx, [ebp - 0x218]
push edx
push ebx
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
jne 0x100262db
lea ebx, [ebx]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1000465e
lea eax, [ebp - 0x218]
lea edx, [eax + 1]
jmp 0x100262a0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100262a0
sub eax, edx
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.100046f8
mov ecx, dword [ebp - 0x254]
push 0x208
lea eax, [ebp - 0x218]
push eax
inc esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
je 0x10026280
cmp dword [ebp - 0x224], ebx
je 0x1002632b
push 0xffffffffffffffff
push 1
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x234]
call fcn.100059da
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.1000742a
mov esi, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], esi
jb 0x10026330
mov eax, dword [ebp - 0x250]
push eax
call fcn.1002eeea
add esp, 4
jmp 0x10026330
mov esi, 0x10
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x234]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push edx
mov ecx, edi
mov byte [edi], bl
call fcn.1000742a
cmp dword [ebp - 0x220], esi
jb 0x1002636e
mov eax, dword [ebp - 0x234]
push eax
call fcn.1002eeea
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
cmp dword [ebp + 0x20], esi
jb 0x10026395
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002eeea
add esp, 4
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
cmp dword [ebp + 0x3c], esi
jb 0x100263b3
mov edx, dword [ebp + 0x28]
push edx
call fcn.1002eeea
add esp, 4
mov eax, 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.10030fba
mov esp, ebp
pop ebp
ret