Function at 0x1010dad4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x48
mov eax, 0x1017a56f
call fcn.1012b67a
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], eax
inc esi
lea eax, [ecx + 0x88]
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
push ecx
lea ecx, [ebp - 0x34]
xor ebx, ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1010e85d
test al, al
jne 0x1010db3f
push 0x18a8
mov dword [ebp - 0x38], ebx
call fcn.1012b779
pop ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x1010db31
mov ecx, eax
call fcn.1010cc52
jmp 0x1010db33
mov eax, ebx
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], eax
jmp 0x1010db45
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [eax + 0xc60], ebx
je 0x1010db54
mov eax, esi
jmp 0x1010deeb
mov esi, 0x800
push 0x8000
mov dword [ebp - 0x30], esi
call fcn.1012b7a9
push esi
mov ebx, eax
call fcn.1012b7a9
and dword [ebp - 0x20], 0
mov edi, eax
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
pop ecx
pop ecx
push 0x8000
push 0
push ebx
mov dword [ebp - 0x14], 0x4000
mov dword [ebp - 0x10], esi
call fcn.1012db70
push esi
push 0
push edi
call fcn.1012db70
push 0x41
call fcn.10010082
add esp, 0x1c
test eax, eax
je 0x1010dbc6
lea ecx, [ebp - 0x10]
push ecx
push edi
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call eax
jmp 0x1010dbe2
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x1010dc4e
push edi
call fcn.1012b7b2
mov esi, dword [ebp - 0x10]
add esi, 2
mov dword [ebp - 0x14], 0x4000
push esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], esi
call fcn.1012b7a9
push 0x41
mov edi, eax
call fcn.10010082
add esp, 0xc
test eax, eax
je 0x1010dc32
lea ecx, [ebp - 0x10]
push ecx
push edi
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call eax
jmp 0x1010dc4e
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1010dd43
test eax, eax
jne 0x1010dcfd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], eax
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1012b7a9
pop ecx
mov ecx, dword [ebp - 0x14]
push ebx
inc ecx
mov dword [ebp - 0x54], eax
push ecx
push eax
call fcn.10019f19
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.1012b7a9
mov ecx, dword [ebp - 0x10]
mov esi, eax
inc ecx
mov dword [ebp - 0x48], esi
push ecx
push 0
push esi
call fcn.1012db70
push dword [ebp - 0x10]
push edi
push esi
call fcn.1012d5f0
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov esi, dword [ebp - 0x20]
add esp, 0x1c
mov dword [ebp - 0x34], esi
cmp dword [ecx + 0xce0], eax
mov ecx, dword [ebp - 0x24]
sete al
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ecx + 0xc54]
call fcn.1010e9e0
inc esi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x30]
jmp 0x1010db7e
mov esi, dword [ebp - 0x24]
add esi, 0xc54
or dword [esi + 0x2c], 0xffffffff
and dword [esi + 0x30], 0
jmp 0x1010dd22
push dword [ebp - 0x54]
call fcn.1012b7b2
push dword [ebp - 0x48]
call fcn.1012b7b2
pop ecx
pop ecx
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.1010eb31
test al, al
jne 0x1010dd10
mov ecx, esi
call fcn.1010e76b
xor eax, eax
jmp 0x1010deeb
push 0x8000
push 0
push ebx
mov dword [ebp - 0x14], 0x4000
mov dword [ebp - 0x10], esi
call fcn.1012db70
push esi
push 0
push edi
call fcn.1012db70
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push ebx
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [eax + 0x30]
cmp eax, 0xea
jne 0x1010ddc5
push edi
call fcn.1012b7b2
mov esi, dword [ebp - 0x10]
add esi, 2
mov dword [ebp - 0x14], 0x4000
push esi
mov dword [ebp - 0x10], esi
call fcn.1012b7a9
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push ebx
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [eax + 0x30]
cmp eax, 0x103
je 0x1010debe
test eax, eax
jne 0x1010deda
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1012b7a9
pop ecx
mov ecx, dword [ebp - 0x14]
push ebx
inc ecx
mov dword [ebp - 0x54], eax
push ecx
push eax
call fcn.10019f19
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
inc eax
push eax
call fcn.1012b7a9
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x48], eax
push ecx
push 0
push eax
call fcn.1012db70
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x48]
call fcn.1012d5f0
add esp, 0x1c
lea ecx, [ebp - 0x30]
push 2
pop eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
add eax, 0xc54
push ecx
mov ecx, eax
mov dword [ebp - 0x34], eax
call fcn.1010e8b3
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1010dea3
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
call fcn.1010e3da
test eax, eax
jne 0x1010de82
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x34]
call fcn.1010e391
test eax, eax
je 0x1010dea3
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x54]
and dword [eax + 0x14], 0
call fcn.1012b7b2
push dword [ebp - 0x48]
call fcn.1012b7b2
pop ecx
pop ecx
inc dword [ebp - 0x1c]
jmp 0x1010dd43
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1010e9e0
jmp 0x1010de9b
cmp dword [ebp - 0x38], 0
jne 0x1010deda
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1010e967
push edi
call fcn.1012b7b2
push ebx
call fcn.1012b7b2
xor eax, eax
pop ecx
inc eax
pop ecx
call fcn.1012b643
ret 4