Function at 0x401ce4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff1c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x401fd3
mov edx, dword [ebp - 0xc]
shl edx, 2
lea edx, [edx + edx*4]
add edx, 0x40d4e8
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0xc]
shl ecx, 3
add ecx, 0x40d560
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0xc8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x401d7b
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
mov edx, dword [ebp - 0x14]
push dword [edx]
call fcn.0040c2c8
test eax, eax
jne 0x401d74
cmp dword [ebp - 4], 1
jne 0x401d74
push 0xffffffffffffffff
lea ecx, [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push 1
push 0x400
call fcn.0040c306
cmp eax, 2
je 0x401d7b
xor eax, eax
jmp 0x401fe9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x401e58
xor esi, esi
jmp 0x401e45
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, esi
shl eax, 2
lea eax, [eax + eax*2]
add ebx, eax
mov dword [ebp - 8], 0xc8
cmp byte [ebx + 4], 0
je 0x401e07
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebx]
mov edx, dword [ebp - 0x14]
push dword [edx]
call fcn.0040c2c8
test eax, eax
jne 0x401e00
cmp dword [ebp - 4], 1
jne 0x401e00
push 0xffffffffffffffff
lea ecx, [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
cmp dword [ebx + 8], 0
jne 0x401deb
mov eax, 0x40d160
jmp 0x401dee
mov eax, dword [ebx + 8]
push eax
push 1
push 0x400
call fcn.0040c306
cmp eax, 2
je 0x401e44
xor eax, eax
jmp 0x401fe9
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebx]
mov edx, dword [ebp - 0x14]
push dword [edx]
call fcn.0040c2c8
test eax, eax
jne 0x401e3d
cmp dword [ebp - 4], 4
jne 0x401e3d
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0xe4]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x401e44
xor eax, eax
jmp 0x401fe9
inc esi
lea edx, [esi + esi*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
cmp dword [eax + edx*4], 0
jne 0x401d8f
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x401fd0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x401fba
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
shl eax, 2
mov ecx, dword [edx + 4]
lea eax, [eax + eax*2]
add esi, eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xc8
cmp dword [esi + 4], 0
je 0x401eeb
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.0040c2c8
test eax, eax
jne 0x401ee4
cmp dword [ebp - 4], 1
jne 0x401ee4
push 0xffffffffffffffff
lea ecx, [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
push dword [esi + 4]
push 1
push 0x400
call fcn.0040c306
cmp eax, 2
je 0x401eeb
xor eax, eax
jmp 0x401fe9
cmp dword [esi + 8], 0
je 0x401fb7
xor edi, edi
jmp 0x401fa7
mov ebx, edi
shl ebx, 2
lea ebx, [ebx + ebx*2]
add ebx, dword [esi + 8]
mov dword [ebp - 8], 0xc8
cmp byte [ebx + 4], 0
je 0x401f6c
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push dword [ebx]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0040c2c8
test eax, eax
jne 0x401f68
cmp dword [ebp - 4], 1
jne 0x401f68
push 0xffffffffffffffff
lea edx, [ebp - 0xe4]
push edx
push 0xffffffffffffffff
cmp dword [ebx + 8], 0
jne 0x401f53
mov ecx, 0x40d160
jmp 0x401f56
mov ecx, dword [ebx + 8]
push ecx
push 1
push 0x400
call fcn.0040c306
cmp eax, 2
je 0x401fa6
xor eax, eax
jmp 0x401fe9
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xe4]
push eax
lea edx, [ebp - 4]
push edx
push 0
push dword [ebx]
mov ecx, dword [ebp - 0x14]
push dword [ecx]
call fcn.0040c2c8
test eax, eax
jne 0x401fa2
cmp dword [ebp - 4], 4
jne 0x401fa2
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0xe4]
mov edx, dword [eax]
cmp edx, dword [ecx]
je 0x401fa6
xor eax, eax
jmp 0x401fe9
inc edi
lea edx, [edi + edi*2]
mov ecx, dword [esi + 8]
cmp dword [ecx + edx*4], 0
jne 0x401efc
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
lea eax, [eax + eax*2]
cmp dword [ecx + eax*4], 0
jne 0x401e6f
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
cmp dword [eax*4 + 0x40d4ec], 0
jne 0x401cfa
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret