Function at 0x10011b30
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2d4
mov dword [esp + 4], 0x3e8
mov eax, dword [0x1004b014]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadMenuW]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x2b4], eax
mov dword [esp + 4], 1
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2ac]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.shlwapi.dll_SHRegOpenUSKeyW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20019
mov dword [esp], str.SoftwareMicrosoftInternet_ExplorerToolbar
mov dword [ebp - 0x2b0], eax
call eax
sub esp, 0x14
test eax, eax
je 0x10011c68
lea eax, [ebp - 0x218]
mov ebx, dword [sym.imp.shell32.dll_SHGetFolderPathW]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1f
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
je 0x10011ee0
lea eax, [ebp - 0x218]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 6
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
je 0x10011eb8
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov dword [ebp - 0x2a4], 0x27
lea eax, [ebp - 0x2a8]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20019
mov dword [esp], str.SoftwareClassesCLSID
mov eax, dword [ebp - 0x2b0]
call eax
sub esp, 0x14
mov esi, eax
test eax, eax
jne 0x10011f8a
lea ebx, [ebp - 0x266]
mov dword [ebp - 0x2bc], edi
lea esi, [esi]
lea eax, [ebp - 0x2a4]
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegEnumUSValueW]
sub esp, 0x20
test eax, eax
jne 0x10011f00
cmp word [ebp - 0x266], 0
mov dword [ebp - 0x2a0], 0x64
mov dword [ebp - 0x2a4], 0x27
je 0x10011d40
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011d30
sub eax, ebx
cmp eax, 0x4c
je 0x10011d58
test byte [0x1002e130], 8
jne 0x10011dd0
add esi, 1
jmp 0x10011cc0
lea eax, [ebp - 0x29c]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 4], 0x20019
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2b0]
call eax
sub esp, 0x14
test eax, eax
je 0x10011e08
test byte [0x1002e130], 2
je 0x10011d4d
mov eax, ebx
call fcn.10010e90
mov dword [esp + 0xc], str.Failed_to_get_class_info_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x100354ec
mov dword [esp + 4], 0x1002e130
mov dword [esp], 1
call fcn.10011120
jmp 0x10011d4d
mov eax, ebx
call fcn.10010e90
mov dword [esp + 0xc], str.Found_invalid_IE_toolbar_entry:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x100354ec
mov dword [esp + 4], 0x1002e130
mov dword [esp], 3
call fcn.10011120
jmp 0x10011d4d
lea eax, [ebp - 0x2a0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegQueryUSValueW]
mov edi, eax
mov eax, dword [ebp - 0x29c]
sub esp, 0x20
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegCloseUSKey]
sub esp, 4
test edi, edi
je 0x10011f2f
test byte [0x1002e130], 2
je 0x10011d4d
mov eax, ebx
call fcn.10010e90
mov dword [esp + 0xc], str.Failed_to_get_toolbar_name_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x100354ec
mov dword [esp + 4], 0x1002e130
mov dword [esp], 1
call fcn.10011120
jmp 0x10011d4d
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x218]
mov edx, eax
call fcn.100116c0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x218]
mov edx, eax
call fcn.100116c0
jmp 0x10011c21
mov eax, dword [ebp - 0x2a8]
mov edi, dword [ebp - 0x2bc]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegCloseUSKey]
mov eax, dword [ebp - 0x2ac]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegCloseUSKey]
sub esp, 4
jmp 0x10011be5
mov edi, dword [ebp - 0x2b8]
mov eax, 0x30
mov edx, 0x40
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x274], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetMenuItemCount]
lea edx, [ebp - 0x298]
sub esp, 4
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_InsertMenuItemW]
sub esp, 0x10
jmp 0x10011d4d
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegCloseUSKey]
sub esp, 4
test byte [0x1002e130], 2
je 0x10011be5
mov eax, str.SoftwareClassesCLSID
call fcn.10010e90
mov dword [esp + 0xc], str.Failed_to_open_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x100354ec
mov dword [esp + 4], 0x1002e130
mov dword [esp], 1
call fcn.10011120
jmp 0x10011be5