Function at 0x30028a48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
push ebx
push esi
push edi
mov esi, 0x300289f4
lea edi, [ebp - 0x318]
push 0x7c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x30a]
mov ebx, dword [ebp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp eax, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], 1
mov dword [ebx], edx
je 0x30028c56
cmp dword [ebp + 0x10], edx
je 0x30028c56
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x30005bd0
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x30028c56
and byte [eax], dl
mov esi, 0x10c
push 2
push esi
call fcn.30023fba
test eax, eax
mov dword [ebp + 0x10], eax
je 0x30028c56
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
lea eax, [ebp - 0x30c]
push 0x27
push eax
push dword [ebp - 0xc]
call dword [sym.imp.MSO9.DLL_Ordinal_924]
push dword [ebp - 0xc]
call fcn.30023f86
mov edi, dword [sym.imp.MSO9.DLL_Ordinal_1185]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x80000000
call edi
test eax, eax
je 0x30028b16
and dword [ebp - 8], 0
mov edi, dword [ebp + 0x10]
jmp 0x30028c3c
and dword [ebx], 0
lea eax, [ebp - 0x10]
push eax
push 0x30028a04
push dword [ebp - 4]
mov dword [ebp + 0x14], esi
call edi
test eax, eax
jne 0x30028b0a
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push edi
push eax
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x30028be4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x530]
push eax
push edi
call dword [sym.imp.MSO9.DLL_Ordinal_887]
lea eax, [ebp - 0x748]
push esi
push eax
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.MSO9.DLL_Ordinal_1459]
lea eax, [ebp - 0x748]
push edi
push eax
call dword [sym.imp.MSO9.DLL_Ordinal_933]
push 0x2c
push 2
push edi
call fcn.30028c60
mov esi, eax
push esi
call fcn.3002b090
cmp esi, edi
pop ecx
mov dword [ebx], eax
jbe 0x30028bd5
mov ebx, dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [esi], 0x2c
je 0x30028bb7
push esi
push edi
call ebx
mov esi, eax
cmp esi, edi
ja 0x30028ba8
cmp esi, edi
jbe 0x30028bd5
mov al, byte [esi]
cmp al, 0x20
je 0x30028bcd
cmp al, 9
je 0x30028bcd
cmp al, 0xa
je 0x30028bcd
cmp al, 0xd
jne 0x30028bd5
push esi
push edi
call ebx
mov esi, eax
jmp 0x30028bb7
push dword [ebp + 0xc]
and byte [esi], 0
push edi
call dword [sym.imp.MSO9.DLL_Ordinal_878]
jmp 0x30028c3c
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x30028a1c
push dword [ebp - 4]
call esi
test eax, eax
je 0x30028c3c
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x30028a2c
push dword [ebp - 4]
call esi
test eax, eax
je 0x30028c3c
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x30028a3c
push dword [ebp - 4]
call esi
test eax, eax
je 0x30028c3c
and dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x30028c4b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.30023ffc
mov eax, dword [ebp - 8]
jmp 0x30028c58
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10