Function at 0x70da66a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, dword [ecx]
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0x14], ecx
je 0x70da6707
mov ebx, dword [ebp + 0x10]
add ebx, 0xf
and ebx, 0xfffffff8
jmp 0x70da6707
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
add eax, 7
and eax, 0xfffffff8
add edx, 8
lea edi, [ecx + 0x24]
mov dword [ebp - 4], 4
mov ecx, dword [edi]
test ecx, ecx
je 0x70da66f7
mov ecx, dword [ecx + 0x14]
lea ecx, [ecx + ecx + 7]
and ecx, 0xfffffff8
mov dword [edx], ecx
add eax, ecx
add edi, 4
add edx, 4
dec dword [ebp - 4]
jne 0x70da66e3
mov esi, dword [esi + 8]
add ebx, eax
test esi, esi
jne 0x70da66c9
push ebx
call fcn.70db6ee6
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [ebp - 4], ebx
jne 0x70da6726
call fcn.70db6d70
jmp 0x70da6864
cmp dword [ebp + 8], eax
je 0x70da67d4
cmp dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 4], ecx
lea ecx, [ebx + 8]
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
mov dword [ebx], 0xbfbfbfbf
mov dword [ebp - 8], ecx
jbe 0x70da67c6
mov esi, 0x103
cmp eax, esi
je 0x70da67c6
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jae 0x70da67c6
and dword [ebp - 0x10], 0
mov eax, 0x104
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, esi
je 0x70da67c6
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x11c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], ecx
add dword [ebp - 4], ecx
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x14]
jb 0x70da674c
mov eax, dword [ebp + 0x10]
add eax, 0xf
and eax, 0xfffffff8
add ebx, eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
jmp 0x70da6859
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov ecx, dword [edx]
mov dword [ebp + 0x10], eax
lea eax, [ecx + 7]
mov edi, ebx
mov ebx, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
add edx, 8
and eax, 0xfffffff8
add ecx, 0x24
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], 4
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx]
test esi, esi
je 0x70da683d
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
shl ecx, 1
mov edx, ecx
shr ecx, 2
lea edi, [ebx + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [edx]
add dword [ebp + 0x10], 4
add edx, 4
dec dword [ebp + 0x14]
mov dword [ebp + 8], edx
jne 0x70da6816
mov dword [ebx], eax
add ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x70da67db
pop edi
pop esi
pop ebx
leave
ret 0x10