Function at 0x4c7288
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4ede41
call fcn.004eadec
sub esp, 0x440
mov eax, dword [0x516ad4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4c72b4
xor eax, eax
jmp 0x4c755a
mov dword [ebp - 0x434], ebx
push 0x20019
push str.SOFTWAREASIO
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x434]
mov dword [ebp - 4], ebx
call fcn.00401247
test eax, eax
je 0x4c72f9
cmp dword [ebp - 0x434], ebx
je 0x4c72ef
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x4c755a
push esi
mov dword [ebp - 0x438], ebx
push edi
push 0x7f
pop ecx
xor eax, eax
mov word [ebp - 0x220], bx
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x434]
lea eax, [ebp - 0x44c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x438]
mov esi, 0x100
push edi
mov dword [ebp - 0x43c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4c7535
mov dword [ebp - 0x42c], ebx
push 0x20019
lea eax, [ebp - 0x220]
push eax
push edi
lea eax, [ebp - 0x42c]
call fcn.00401247
test eax, eax
je 0x4c7386
mov byte [ebp - 4], 0
cmp dword [ebp - 0x42c], ebx
jmp 0x4c751a
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp - 0x430]
call fcn.004031b3
mov ebx, str.CLSID
push ebx
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x43c], esi
push eax
lea esi, [ebp - 0x43c]
lea edi, [ebp - 0x220]
call fcn.0040127a
test eax, eax
jne 0x4c74f8
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x42c]
push eax
call fcn.004c6201
test eax, eax
jne 0x4c74f8
cmp dword [ebp - 0x42c], eax
je 0x4c73f8
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x42c], 0
mov eax, dword [0x51a438]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x444]
push str.CLSID_sInprocServer32
push eax
mov byte [ebp - 4], 3
call fcn.004060d6
mov ebx, dword [ebp - 0x444]
add esp, 0xc
push 0x2001f
push ebx
push SysReAllocStringLen
lea eax, [ebp - 0x42c]
call fcn.00401247
test eax, eax
jne 0x4c7483
and word [ebp - 0x428], ax
mov ecx, 0x81
lea edi, [ebp - 0x426]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4f7548
lea eax, [ebp - 0x42c]
push eax
lea esi, [ebp - 0x440]
lea edi, [ebp - 0x428]
mov dword [ebp - 0x440], 0x104
call fcn.0040127a
test eax, eax
je 0x4c7491
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x4c74f8
push eax
jmp 0x4c74f3
push 0x34
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x4c74a6
call fcn.004c6873
mov esi, eax
jmp 0x4c74a8
xor esi, esi
test esi, esi
mov dword [ebp - 0x440], esi
je 0x4c74e7
lea edi, [ebp - 0x430]
mov eax, esi
call fcn.00403223
lea eax, [ebp - 0x428]
push eax
lea eax, [esi + 4]
call fcn.00403266
lea edi, [esi + 8]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.004c7887
add ebx, 0xfffffff4
cmp ebx, dword [0x51a43c]
je 0x4c74f8
push ebx
call fcn.004013aa
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4c750f
push eax
call fcn.004013aa
mov byte [ebp - 4], 0
cmp dword [ebp - 0x42c], 0
je 0x4c7528
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x438]
xor ebx, ebx
jmp 0x4c7301
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
neg esi
sbb esi, esi
and esi, 0x7fffbffe
add esi, 0x80004002
cmp edi, ebx
je 0x4c7556
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004eae3c
leave
ret 4