Function at 0x48746a
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x62c
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
push str.EITCC
call fcn.00484ff0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 8
mov dword [esp + 0x10], eax
push 0x559470
call ebx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
push esi
call edi
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00485050
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x644]
push eax
call ebx
push eax
mov dword [esp + 0x20], eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4874c6
xor edi, edi
jmp 0x4874cb
push eax
call edi
mov edi, eax
lea eax, [edi + ebp]
push eax
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
je 0x48752c
mov esi, dword [esp + 0x10]
lea eax, [edi + edi]
mov ecx, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
lea ecx, [ebp + ebp]
lea edi, [eax + ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov word [ebx + ecx*2], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
xor esi, esi
call dword [sym.imp.ole32.dll_StringFromCLSID]
lea ecx, [esp + 0x138]
push str.CLSID_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x20]
push esi
push esi
lea edx, [esp + 0x40]
push 0x100
push edx
push 0xffffffffffffffff
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x138]
push ecx
push edx
call edi
lea eax, [esp + 0x138]
push str.InprocServer32
push eax
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x140]
push esi
push edx
push SysReAllocString
mov dword [esp + 0x2c], 0x104
call edi
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x338]
push eax
push ecx
push esi
push esi
push esi
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
ja 0x48761d
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x62c
ret 0x18
lea eax, [esp + 0x38]
lea ecx, [esp + 0x43c]
push eax
push str.CLSID_sIconIndex
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x43c]
push edx
push 1
push 0
push eax
push SysReAllocString
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
call ebp
cmp dword [esp + 0x18], 1
jbe 0x48768b
test edi, edi
jne 0x48768b
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x640]
lea eax, [esp + 0x338]
push esi
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov edx, dword [esp + 0x648]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x62c
ret 0x18