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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417d31
mov eax, dword fs:[0]
push eax
mov eax, 0x1abc
call fcn.00410910
mov eax, dword [0x41f070]
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.00402af3
test eax, eax
jne 0x401b07
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.0040914b
leave
ret
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
lea esi, [ebp - 0x1aa0]
call fcn.00404a6d
push 0x41b79c
mov eax, esi
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004053f0
xor eax, eax
mov dword [ebp - 0x1aa4], 7
mov dword [ebp - 0x1aa8], edi
mov word [ebp - 0x1ab8], ax
lea eax, [ebp - 0x1abc]
push eax
mov byte [ebp - 4], 1
call fcn.004019d0
pop ecx
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x1abc]
mov ecx, esi
call fcn.00405d5a
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Set_Search_Suggestions..
mov dword [ebp - 0x1ac0], edi
call esi
cmp dword [ebp - 0x1a88], 8
mov eax, dword [ebp - 0x1a9c]
jae 0x401b8b
lea eax, [ebp - 0x1a9c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x1ac0]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
call ebx
cmp eax, edi
je 0x401c29
push str.defered
call esi
push 0x41b670
push str.ResetSSFail
call fcn.0040736c
pop ecx
pop ecx
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.004099a1
lea eax, [ebp - 0x218]
push 0x41b01c
push eax
call fcn.004099b8
add esp, 0x10
test eax, eax
je 0x401cb7
call fcn.004014f3
mov ebx, eax
push edi
push 1
lea esi, [ebp - 0x1abc]
call fcn.004056de
push edi
push 1
lea esi, [ebp - 0x1aa0]
call fcn.004056de
mov eax, ebx
jmp 0x401aed
push 0x41b674
push str.ResetSSFail
call fcn.0040736c
pop ecx
pop ecx
push str.success_
call esi
xor eax, eax
push 0x7fe
mov word [ebp - 0x1a68], ax
lea eax, [ebp - 0x1a66]
push edi
push eax
call fcn.0040a6a0
mov eax, dword [ebp - 0x1a9c]
add esp, 0xc
cmp dword [ebp - 0x1a88], 8
jae 0x401c74
lea eax, [ebp - 0x1a9c]
lea ecx, [ebp - 0x1ac4]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x401ca0
lea eax, [ebp - 0x1a68]
push eax
lea ebx, [ebp - 0x1ac4]
call fcn.004073fe
pop ecx
xor eax, eax
cmp ax, word [ebp - 0x1a68]
jne 0x401cbe
push dword [ebp - 0x1ac0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x401c06
xor eax, eax
push 0x1048
mov word [ebp - 0x1268], ax
lea eax, [ebp - 0x1266]
push edi
push eax
call fcn.0040a6a0
add esp, 0xc
push 0x825
lea eax, [ebp - 0x1268]
push eax
mov ebx, str.SuggestionsURL_JSON
push ebx
push str.Update
call fcn.004073be
add esp, 0x10
cmp word [ebp - 0x1268], di
je 0x401d78
sub esp, 0x1c
lea eax, [ebp - 0x1268]
mov esi, esp
mov dword [ebp - 0x1ac4], esp
push eax
call fcn.00404a6d
lea eax, [ebp - 0x1a84]
push eax
call fcn.004015e2
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 0x401d4d
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.004018ab
push edi
push 1
lea esi, [ebp - 0x1a84]
mov byte [ebp - 4], 1
call fcn.004056de
jmp 0x401d85
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 str.Update
call fcn.004073be
add esp, 0x10
cmp word [ebp - 0x1268], di
je 0x401e2a
sub esp, 0x1c
lea eax, [ebp - 0x1268]
mov esi, esp
mov dword [ebp - 0x1ac4], esp
push eax
call fcn.00404a6d
lea eax, [ebp - 0x1a84]
push eax
call fcn.004015e2
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 0x401dff
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.004018ab
push edi
push 1
lea esi, [ebp - 0x1a84]
mov byte [ebp - 4], 1
call fcn.004056de
jmp 0x401e37
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.00401877
xor ebx, ebx
inc ebx
jmp 0x401c06