Function at 0x4b5fc9
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c8e85
call fcn.004c7e20
sub esp, 0x440
mov eax, dword [0x4ed384]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4b5ff5
xor eax, eax
jmp 0x4b629b
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 0x4b603a
cmp dword [ebp - 0x434], ebx
je 0x4b6030
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x4b629b
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 0x4b6276
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 0x4b60c7
mov byte [ebp - 4], 0
cmp dword [ebp - 0x42c], ebx
jmp 0x4b625b
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp - 0x430]
call fcn.00402f03
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 0x4b6239
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x42c]
push eax
call fcn.004b4f4a
test eax, eax
jne 0x4b6239
cmp dword [ebp - 0x42c], eax
je 0x4b6139
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x42c], 0
mov eax, dword [0x4f0980]
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.00405986
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 0x4b61c4
and word [ebp - 0x428], ax
mov ecx, 0x81
lea edi, [ebp - 0x426]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4d1350
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 0x4b61d2
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x4b6239
push eax
jmp 0x4b6234
push 0x34
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x4b61e7
call fcn.004b55c4
mov esi, eax
jmp 0x4b61e9
xor esi, esi
test esi, esi
mov dword [ebp - 0x440], esi
je 0x4b6228
lea edi, [ebp - 0x430]
mov eax, esi
call fcn.00402f73
lea eax, [ebp - 0x428]
push eax
lea eax, [esi + 4]
call fcn.00402fb6
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.004c4a55
add ebx, 0xfffffff4
cmp ebx, dword [0x4f0984]
je 0x4b6239
push ebx
call fcn.004013aa
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b6250
push eax
call fcn.004013aa
mov byte [ebp - 4], 0
cmp dword [ebp - 0x42c], 0
je 0x4b6269
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x438]
xor ebx, ebx
jmp 0x4b6042
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 0x4b6297
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.004c7b01
leave
ret 4