Function at 0x70da6626
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 0x70da6687
mov ebx, dword [ebp + 0x10]
add ebx, 0xf
and ebx, 0xfffffff8
jmp 0x70da6687
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 0x70da6677
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 0x70da6663
mov esi, dword [esi + 8]
add ebx, eax
test esi, esi
jne 0x70da6649
push ebx
call fcn.70db6e66
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [ebp - 4], ebx
jne 0x70da66a6
call fcn.70db6cf0
jmp 0x70da67e4
cmp dword [ebp + 8], eax
je 0x70da6754
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 0x70da6746
mov esi, 0x103
cmp eax, esi
je 0x70da6746
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jae 0x70da6746
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 0x70da6746
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 0x70da66cc
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 0x70da67d9
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 0x70da67bd
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 0x70da6796
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 0x70da675b
pop edi
pop esi
pop ebx
leave
ret 0x10