Function at 0x70d565e6
Capabilities:
Query or enumerate registry value

Disassembly:
pop edi
pop esi
pop ebx
leave
ret 0x10
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
jne 0x70d6d44a
test esi, esi
je 0x70d56648
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
jne 0x70d56638
add edi, 4
add edx, 4
dec dword [ebp - 4]
jne 0x70d56620
mov esi, dword [esi + 8]
add ebx, eax
jmp 0x70d56602
mov ecx, dword [ecx + 0x14]
lea ecx, [ecx + ecx + 7]
and ecx, 0xfffffff8
mov dword [edx], ecx
add eax, ecx
jmp 0x70d56626
push ebx
call fcn.70d566fd
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [ebp - 4], ebx
je 0x70d6d458
cmp dword [ebp + 8], eax
jne 0x70d6d462
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
jmp 0x70d56692
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx]
test esi, esi
jne 0x70d566da
add dword [ebp + 0x10], 4
add edx, 4
dec dword [ebp + 0x14]
mov dword [ebp + 8], edx
jne 0x70d5666d
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
je 0x70d5658f
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
jmp 0x70d5666d
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]
jmp 0x70d56676
mov ebx, dword [ebp + 0x10]
add ebx, 0xf
and ebx, 0xfffffff8
jmp 0x70d56602
call fcn.70dab194
jmp 0x70d5658f
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 0x70d6d4f9
mov esi, 0x103
cmp eax, esi
je 0x70d6d4f9
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jae 0x70d6d4f9
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 0x70d6d4f9
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 0x70d6d47f
mov eax, dword [ebp + 0x10]
add eax, 0xf
and eax, 0xfffffff8
add ebx, eax
mov dword [ebp - 4], ebx
jmp 0x70d56666