Function at 0x30002cd3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x300080b4]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp + 0x1b4], eax
xor eax, eax
mov word [ebp - 0x54], si
mov ecx, 0x81
lea edi, [ebp - 0x52]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x1c4]
add ecx, ecx
mov edx, ecx
stosw word es:[edi], ax
mov edi, dword [ebp + 0x1c0]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x60]
push eax
push 0x20019
push esi
push 0x30001660
push 0x80000002
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
xor ebx, ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x30002eea
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x30002eea
push dword [ebp - 0x70]
mov edi, dword [0x300010d4]
inc dword [ebp - 0x5c]
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x58], eax
je 0x30002eea
mov eax, dword [ebp - 0x5c]
add eax, eax
push eax
push 0x40
call edi
mov ebx, eax
cmp ebx, esi
je 0x30002eea
cmp dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
jbe 0x30002eb2
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x30002ea3
cmp dword [ebp - 0x78], 1
jne 0x30002ea3
cmp dword [ebp - 0x68], 6
jne 0x30002ea3
cmp word [ebx], 0x44
jne 0x30002ea3
cmp word [ebx + 2], 0x57
jne 0x30002ea3
mov ax, word [ebx + 4]
push eax
call fcn.30002592
test eax, eax
je 0x30002ea3
mov di, word [ebx + 6]
push edi
call fcn.30002592
test eax, eax
je 0x30002ea3
mov dx, word [ebx + 8]
push edx
call fcn.30002592
test eax, eax
je 0x30002ea3
mov cx, word [ebx + 0xa]
push ecx
call fcn.30002592
test eax, eax
je 0x30002ea3
movzx eax, word [ebx + 4]
sub eax, 0x30
imul eax, eax, 0xa
movzx edi, di
lea eax, [eax + edi - 0x30]
imul eax, eax, 0xa
movzx edx, dx
lea eax, [eax + edx - 0x30]
imul eax, eax, 0xa
movzx ecx, cx
lea eax, [eax + ecx - 0x30]
cmp eax, dword [ebp - 0x80]
jbe 0x30002ea3
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c4]
add eax, eax
cmp dword [ebp - 0x74], eax
jae 0x30002eea
push dword [ebp - 0x58]
push dword [ebp + 0x1c4]
push dword [ebp + 0x1c0]
call fcn.30002cbd
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jb 0x30002dc3
mov edi, dword [ebp + 0x1c8]
cmp edi, esi
je 0x30002ee3
push 0x104
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [edi], esi
call dword [0x30001100]
test eax, eax
je 0x30002ee3
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x1c0]
call fcn.300024ca
mov dword [edi], eax
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x60], esi
je 0x30002ef8
push dword [ebp - 0x60]
call dword [entry0]
cmp dword [ebp - 0x58], esi
mov edi, dword [0x300010d8]
je 0x30002f08
push dword [ebp - 0x58]
call edi
cmp ebx, esi
je 0x30002f0f
push ebx
call edi
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
pop ebx
call fcn.3000607d
add ebp, 0x1b8
leave
ret 0xc