Function at 0x70d4a4b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
push esi
lea eax, [ebp - 0x18]
push eax
push 9
xor ebx, ebx
push ebx
push 0x70d63a68
mov esi, 0x208
push 0x80000002
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x70d74e41
pop esi
pop ebx
leave
ret
push esi
call fcn.70d0152c
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d4a4f3
push edi
mov edi, dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push ebx
push ebx
push eax
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x104
push dword [ebp - 0x18]
mov dword [ebp - 8], edi
call esi
cmp eax, 0xea
jne 0x70d74ec4
push dword [ebp - 4]
add edi, edi
mov dword [ebp - 0x24], edi
call fcn.70d015b0
push edi
call fcn.70d0152c
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70d75064
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 8], edi
push dword [ebp - 0x18]
call esi
cmp eax, ebx
jne 0x70d7504e
inc dword [ebp - 0x10]
push 0xc
call fcn.70d0152c
mov esi, eax
cmp esi, ebx
je 0x70d74e53
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x648]
push eax
mov dword [ebp - 0x20], ebx
call fcn.70d090ac
cmp eax, ebx
mov dword [esi], eax
jne 0x70d74f08
push esi
call fcn.70d015b0
jmp 0x70d74e53
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
shr dword [ebp - 8], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
je 0x70d7503f
mov ecx, dword [ebp - 4]
mov ax, word [ecx + eax*2]
cmp ax, 0x2c
jne 0x70d74f3e
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 1
jmp 0x70d7502f
cmp ax, bx
jne 0x70d75021
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x70d7502f
cmp dword [ebp - 0x14], ebx
mov word [ebp + eax*2 - 0x440], bx
mov dword [ebp - 0xc], ebx
je 0x70d74f7b
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x440]
push eax
call fcn.70d090ac
mov dword [ebp - 0x14], ebx
jmp 0x70d74ff1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70d55eb2
test eax, eax
je 0x70d7502f
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70d09c48
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70daa938
cmp eax, ebx
jne 0x70d74fdd
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.70d09163
cmp eax, ebx
je 0x70d7502f
mov eax, dword [eax + 0xc]
mov ecx, dword [0x70e7a4a8]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
push eax
call fcn.70d090ac
mov edi, eax
cmp edi, ebx
je 0x70d7502f
push 8
call fcn.70d0152c
cmp eax, ebx
je 0x70d7502f
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov dword [eax], edi
jne 0x70d75016
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
jmp 0x70d7501c
mov dword [eax + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp - 0x20], eax
jmp 0x70d7502f
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [ebp + ecx*2 - 0x440], ax
mov eax, dword [ebp - 0x28]
inc eax
cmp eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
jb 0x70d74f22
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], esi
jmp 0x70d74e53
cmp dword [ebp - 4], ebx
je 0x70d7505b
push dword [ebp - 4]
call fcn.70d015b0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x70d4a4f3