Function at 0x4865f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4acca8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x4d41f0
push 0x4d4188
push ebx
push eax
call fcn.004abc04
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x48664f
lea eax, [ebx + 5]
jmp 0x48684e
xor eax, eax
mov word [esp + 0x20], ax
push 0x32
mov eax, str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.00401f30
push ebx
lea ecx, [edi + 0x90]
push ecx
or eax, 0xffffffff
mov dword [esp + 0x50], ebx
call fcn.00403510
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jae 0x48669d
lea edx, [esp + 0x20]
push SysReAllocString
lea esi, [esp + 0x14]
call fcn.004090e0
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x486827
cmp dword [edi + 0x1c], 8
jb 0x4866c2
mov ebx, dword [edi + 8]
jmp 0x4866c5
lea ebx, [edi + 8]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x4866ea
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.DisplayName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x38], 8
jb 0x4866f5
mov ebx, dword [edi + 0x24]
jmp 0x4866f8
lea ebx, [edi + 0x24]
test ebx, ebx
je 0x486719
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push 0x4bede8
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x54], 8
jb 0x486724
mov ebx, dword [edi + 0x40]
jmp 0x486727
lea ebx, [edi + 0x40]
test ebx, ebx
je 0x486748
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.SuggestionsURL
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x70], 8
jb 0x486753
mov ebx, dword [edi + 0x5c]
jmp 0x486756
lea ebx, [edi + 0x5c]
test ebx, ebx
je 0x486777
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.SuggestionsURLFallback
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x8c], 8
jb 0x486785
mov ebx, dword [edi + 0x78]
jmp 0x486788
lea ebx, [edi + 0x78]
test ebx, ebx
je 0x4867a9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.FaviconURLFallback
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0xc4], 8
jb 0x4867ba
mov ebx, dword [edi + 0xb0]
jmp 0x4867c0
lea ebx, [edi + 0xb0]
test ebx, ebx
je 0x4867e1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push 0x4b681c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0xe0], 8
jb 0x4867f2
mov edi, dword [edi + 0xcc]
jmp 0x4867f8
add edi, 0xcc
test edi, edi
je 0x486819
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push str.FaviconPath
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test esi, esi
je 0x486836
push esi
jmp 0x486830
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x486836
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x34], 8
jb 0x48684a
mov eax, dword [esp + 0x20]
push eax
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049110c
mov esp, ebp
pop ebp
ret 4