Function at 0x1004f3d4
Capabilities:
Delete registry value
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e84c8
mov eax, dword fs:[0]
push eax
mov eax, 0x1abc
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100504c8
test eax, eax
jne 0x1004f429
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bfae1
leave
ret
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
lea eax, [ebp - 0x1aa0]
call fcn.10008945
push 0x10107ca8
lea eax, [ebp - 0x1aa0]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.10014c04
xor eax, eax
mov dword [ebp - 0x1aa4], 7
mov dword [ebp - 0x1aa8], edi
mov word [ebp - 0x1ab8], ax
lea ebx, [ebp - 0x1abc]
mov byte [ebp - 4], 1
call fcn.1004f2e5
push 0xffffffffffffffff
push edi
mov eax, ebx
lea esi, [ebp - 0x1aa0]
call fcn.1000be6b
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Set_Search_Suggestions..
mov dword [ebp - 0x1ac0], edi
call ebx
cmp dword [ebp - 0x1a88], 8
mov eax, dword [ebp - 0x1a9c]
jae 0x1004f4af
lea eax, [ebp - 0x1a9c]
lea ecx, [ebp - 0x1ac0]
push ecx
push 0x20006
push edi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1004f560
push str.defered
call ebx
push 1
push 0x1010888c
push str.ResetSSFail
push str.Update
call fcn.10039999
add esp, 0x10
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100c29a8
lea eax, [ebp - 0x218]
push str.iexplore.exe
push eax
call fcn.100c19e5
add esp, 0x10
test eax, eax
je 0x1004f5fb
push 1
push 0xc8
call fcn.1004ee06
pop ecx
pop ecx
mov ebx, eax
push edi
push 1
lea esi, [ebp - 0x1abc]
call fcn.100016e6
push edi
push 1
lea esi, [ebp - 0x1aa0]
call fcn.100016e6
mov eax, ebx
jmp 0x1004f40f
push 1
push str.0_____
push str.ResetSSFail
mov esi, str.Update
push esi
call fcn.10039999
add esp, 0x10
push str.success_
call ebx
xor eax, eax
push 0x7fe
mov word [ebp - 0x1a68], ax
lea eax, [ebp - 0x1a66]
push edi
push eax
call fcn.100c1480
mov eax, dword [ebp - 0x1a9c]
add esp, 0xc
cmp dword [ebp - 0x1a88], 8
jae 0x1004f5b4
lea eax, [ebp - 0x1a9c]
lea ecx, [ebp - 0x1ac4]
push ecx
push 0x20019
push edi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004f5e4
lea eax, [ebp - 0x1a68]
push eax
lea ebx, [ebp - 0x1ac4]
call fcn.10039a42
pop ecx
xor eax, eax
cmp ax, word [ebp - 0x1a68]
jne 0x1004f602
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x1004f53d
xor eax, eax
push 0x1048
mov word [ebp - 0x1268], ax
lea eax, [ebp - 0x1266]
push edi
push eax
call fcn.100c1480
add esp, 0xc
push 0x825
lea eax, [ebp - 0x1268]
push eax
mov ebx, str.SuggestionsURL_JSON
push ebx
push esi
call fcn.100399f9
add esp, 0x10
cmp word [ebp - 0x1268], di
je 0x1004f6bd
sub esp, 0x1c
lea ecx, [ebp - 0x1268]
mov eax, esp
mov dword [ebp - 0x1ac4], esp
push ecx
call fcn.10008945
lea eax, [ebp - 0x1a84]
push eax
call fcn.1004ef01
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1a6c], 8
mov eax, dword [ebp - 0x1a70]
mov ecx, dword [ebp - 0x1a80]
lea eax, [eax + eax + 2]
jae 0x1004f68d
lea ecx, [ebp - 0x1a80]
push eax
push ecx
push 1
push edi
push ebx
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.1004f1b8
push edi
push 1
lea esi, [ebp - 0x1a84]
mov byte [ebp - 4], 1
call fcn.100016e6
mov esi, str.Update
jmp 0x1004f6ca
push ebx
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
mov word [ebp - 0x1268], ax
push 0x825
lea eax, [ebp - 0x1268]
push eax
mov ebx, str.SuggestionsURL
push ebx
push esi
call fcn.100399f9
add esp, 0x10
cmp word [ebp - 0x1268], di
je 0x1004f76b
sub esp, 0x1c
lea ecx, [ebp - 0x1268]
mov eax, esp
mov dword [ebp - 0x1ac4], esp
push ecx
call fcn.10008945
lea eax, [ebp - 0x1a84]
push eax
call fcn.1004ef01
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1a6c], 8
mov eax, dword [ebp - 0x1a70]
mov ecx, dword [ebp - 0x1a80]
lea eax, [eax + eax + 2]
jae 0x1004f740
lea ecx, [ebp - 0x1a80]
push eax
push ecx
push 1
push edi
push ebx
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.1004f1b8
push edi
push 1
lea esi, [ebp - 0x1a84]
mov byte [ebp - 4], 1
call fcn.100016e6
jmp 0x1004f778
push ebx
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1004f184
xor ebx, ebx
inc ebx
jmp 0x1004f53d