Function at 0x47eb60
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567037
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5d6b80]
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
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov esi, dword [ebp + 8]
call fcn.0045abd0
mov dword [ebp - 0x100], 0
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 0
push eax
push 0x57e144
push 0x17
push 0
push 0x57e244
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x47f555
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x144], 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0x144]
push edx
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov edi, eax
mov dword [ebp - 0x108], edi
test edi, edi
js 0x47f555
cmp word [ebp - 0x144], 0xffff
jne 0x47f555
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47ec3e
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 1
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47ec6e
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 2
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47ec9e
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x130], esi
mov byte [ebp - 4], 3
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47ecce
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xf8]
push edx
push eax
mov byte [ebp - 4], 6
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x118]
push edx
push str.ShortName
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 7
call dword [ecx + 0x94]
test eax, eax
js 0x47f494
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
js 0x47f494
push dword [ebp - 0xf4]
lea ecx, [ebp - 0xfc]
call fcn.0045a5f0
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x110]
push edx
push str.Image
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 8
call dword [ecx + 0x94]
test eax, eax
js 0x47f480
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
js 0x47f480
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x114]
call fcn.0045a5f0
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x10c]
push edx
push str.Url__type_text_html__
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx + 0x94]
test eax, eax
js 0x47f46c
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0xec]
push edx
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x47f444
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xf0]
push edx
push str.template
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x47f444
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
js 0x47f444
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x104]
call fcn.0045a5f0
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x47ee8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 9
test eax, eax
je 0x47ee9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x11c]
push edx
push str.Url__type_application_x_suggestionsjson__
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
call dword [ecx + 0x94]
test eax, eax
js 0x47f43c
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0xec]
push edx
push eax
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x47f414
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xf0]
push edx
push str.template
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x47f414
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
js 0x47f414
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x130]
call fcn.0045a5f0
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x47ef62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x47ef76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xec]
call fcn.0045a530
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
push ebx
push eax
call fcn.0047dfd0
add esp, 8
test eax, eax
je 0x47eff3
push dword [ebx]
lea eax, [ebp - 0xec]
push dword [0x5d0a18]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
lea ecx, [ebp - 0x140]
push 0x2001f
push dword [ebp - 0xec]
push reloc.WS2_32.dll_accept
call fcn.0045b220
jmp 0x47f082
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00525ee0
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x64
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov ecx, ebx
test eax, eax
je 0x47f038
lea eax, [ebp - 0xd8]
push eax
jmp 0x47f03e
push dword [0x5d0a1c]
call fcn.0045a5f0
push dword [ebx]
lea eax, [ebp - 0xec]
push dword [0x5d0a18]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
lea ecx, [ebp - 0x140]
push 0
push 0
push 0x2001f
push 0
push 0
push dword [ebp - 0xec]
push reloc.WS2_32.dll_accept
call fcn.0045aa10
mov esi, dword [ebp - 0x130]
test eax, eax
jne 0x47f2d3
push 1
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x140]
push str.DisplayName
call fcn.0045df40
push 1
push dword [ebp - 0x104]
lea ecx, [ebp - 0x140]
push 0x57d210
call fcn.0045df40
mov edi, dword [ebp - 0x114]
cmp dword [edi - 0xc], 0
je 0x47f2b4
push 1
push edi
push str.FaviconUrl
lea ecx, [ebp - 0x140]
call fcn.0045df40
lea ecx, [ebp - 0xf0]
call fcn.0045a530
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
push eax
call fcn.004b9b00
add esp, 4
test eax, eax
je 0x47f2a9
push 0x57a900
push str.Local
lea ecx, [ebp - 0xf0]
call fcn.004601f0
push dword [ebx]
push dword [ebp - 0xf0]
push dword [0x5d0a20]
push 0x5ddf80
call fcn.0045acb0
mov eax, dword [0x5ddf80]
add esp, 0x10
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x47f2a9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47f2a9
mov eax, dword [0x5ddf80]
lea ecx, [ebp - 0x140]
push 1
push eax
push str.FaviconPath
call fcn.0045df40
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [0x5ddf80]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x134], eax
cmp eax, 0xffffffff
je 0x47f2a9
lea ecx, [ebp - 0x190]
call fcn.004cbcb0
mov byte [ebp - 4], 0x12
call fcn.0047db90
push eax
lea ecx, [ebp - 0x190]
call fcn.004cc340
xor eax, eax
lea ecx, [ebp - 0x12c]
push edi
mov word [ebp - 0x12c], ax
call fcn.00461c30
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x190]
call fcn.004cc5d0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 0x12
call edi
xor eax, eax
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x12c]
push eax
call edi
test eax, eax
jns 0x47f217
push eax
call fcn.0045a8f0
mov eax, 8
push str.SerachFavIconDownload
mov word [ebp - 0x12c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x47f258
mov eax, 0xa
mov dword [ebp - 0x124], 0x8007000e
push 0x8007000e
mov word [ebp - 0x12c], ax
call fcn.0045a8f0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x190]
call fcn.004cc650
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
push eax
call edi
lea eax, [ebp - 0x190]
mov ecx, 0x5de970
push eax
push 6
call fcn.0051c6f0
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x11
call fcn.0046e1a0
lea ecx, [ebp - 0xf0]
call fcn.0048ceb0
cmp dword [esi - 0xc], 0
je 0x47f2cd
push 1
push esi
push str.SuggestionsURL_JSON
lea ecx, [ebp - 0x140]
call fcn.0045df40
mov edi, dword [ebp - 0x108]
push 0x2001f
push dword [0x5d0a18]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
call fcn.0045b220
test eax, eax
jne 0x47f352
push 1
push dword [ebx]
lea ecx, [ebp - 0x128]
push 0x57e0cc
call fcn.0045df40
cmp dword [esi - 0xc], 0
je 0x47f352
push 4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 1
push eax
push 4
push 0
push str.ShowSearchSuggestionsInAddressGlobal
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x128]
call fcn.0045a560
lea ecx, [ebp - 0x140]
call fcn.0045a560
lea ecx, [ebp - 0xec]
call fcn.0048ceb0
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 4], 9
test eax, eax
je 0x47f387
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 8
test eax, eax
je 0x47f39b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 7
test eax, eax
je 0x47f3af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x118]
mov byte [ebp - 4], 6
test eax, eax
je 0x47f3c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 4], 5
test eax, eax
je 0x47f3d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xf4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x104]
call fcn.0048ceb0
lea ecx, [ebp - 0x130]
call fcn.0048ceb0
lea ecx, [ebp - 0x114]
call fcn.0048ceb0
lea ecx, [ebp - 0xfc]
call fcn.0048ceb0
jmp 0x47f555
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x47f428
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x47f43c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x11c]
jmp 0x47f45e
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x47f458
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 9
test eax, eax
je 0x47f46c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 8
test eax, eax
je 0x47f480
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 7
test eax, eax
je 0x47f494
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x118]
mov byte [ebp - 4], 6
test eax, eax
je 0x47f4a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 4], 5
test eax, eax
je 0x47f4bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xf4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x104]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47f4ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f50b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x114]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f52e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x47f54f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x47f56c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
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.00525878
mov esp, ebp
pop ebp
ret