Function at 0x30002ce3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [section..cdata]
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 0x30001668
push reloc.OLEAUT32.dll_SysReAllocString
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 0x30002efa
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 0x30002efa
push dword [ebp - 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
inc dword [ebp - 0x5c]
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x58], eax
je 0x30002efa
mov eax, dword [ebp - 0x5c]
add eax, eax
push eax
push 0x40
call edi
mov ebx, eax
cmp ebx, esi
je 0x30002efa
cmp dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
jbe 0x30002ec2
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 0x30002eb3
cmp dword [ebp - 0x78], 1
jne 0x30002eb3
cmp dword [ebp - 0x68], 6
jne 0x30002eb3
cmp word [ebx], 0x44
jne 0x30002eb3
cmp word [ebx + 2], 0x57
jne 0x30002eb3
mov ax, word [ebx + 4]
push eax
call fcn.300025a2
test eax, eax
je 0x30002eb3
mov di, word [ebx + 6]
push edi
call fcn.300025a2
test eax, eax
je 0x30002eb3
mov dx, word [ebx + 8]
push edx
call fcn.300025a2
test eax, eax
je 0x30002eb3
mov cx, word [ebx + 0xa]
push ecx
call fcn.300025a2
test eax, eax
je 0x30002eb3
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 0x30002eb3
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c4]
add eax, eax
cmp dword [ebp - 0x74], eax
jae 0x30002efa
push dword [ebp - 0x58]
push dword [ebp + 0x1c4]
push dword [ebp + 0x1c0]
call fcn.30002ccd
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jb 0x30002dd3
mov edi, dword [ebp + 0x1c8]
cmp edi, esi
je 0x30002ef3
push 0x104
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x30002ef3
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x1c0]
call fcn.300024da
mov dword [edi], eax
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x60], esi
je 0x30002f08
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x58], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x30002f18
push dword [ebp - 0x58]
call edi
cmp ebx, esi
je 0x30002f1f
push ebx
call edi
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
pop ebx
call fcn.300063f9
add ebp, 0x1b8
leave
ret 0xc