Function at 0x4218fc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45c461
call fcn.004485c4
push ecx
mov eax, 0x1318
call fcn.0044be00
push ebx
push esi
push edi
mov edi, str.fs::IE_SetDefaultSearch_2013
mov dword [ebp - 0x10], esp
push edi
mov esi, ecx
call fcn.004468a0
pop ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x18], 0x10
jb 0x421938
mov eax, dword [esi + 4]
jmp 0x42193b
lea eax, [esi + 4]
push eax
push edi
push str.___s__guid_s_
push ebx
call fcn.00437bbc
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax + 0x14], ebx
jbe 0x421970
push eax
call fcn.004216fc
test al, al
pop ecx
je 0x421970
push str.__skip_IE_search_setting
push ebx
call fcn.00437bbc
pop ecx
pop ecx
jmp 0x422099
push ebx
call fcn.00419403
mov edi, eax
push edi
push str.__detected_IE_ver:__d
push ebx
call fcn.00437bbc
add esp, 0x10
cmp edi, 8
jl 0x421e85
mov byte [ebp - 4], 1
cmp dword [0x47d54c], 5
jae 0x4219db
push 0x465cf2
lea ecx, [ebp - 0x38]
call fcn.00418739
lea eax, [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0041875b
mov byte [ebp - 4], 3
push dword [0x47d54c]
push str.IE8Friend_call_in_win_d
push eax
call fcn.004180c3
add esp, 0xc
mov ecx, eax
call fcn.00418793
mov esi, str._TEMP_
lea edi, [ebp - 0x328]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3f
movsb byte es:[edi], byte [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x321]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstA]
mov esi, str.file:___
lea edi, [ebp - 0x224]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x3e
xor eax, eax
pop ecx
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x224]
push eax
call fcn.00446610
pop ecx
lea eax, [ebp + eax - 0x224]
push eax
push ebx
mov dword [ebp + 8], eax
push 0x46a780
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, 0x465cf2
push esi
lea ecx, [ebp - 0x84]
call fcn.00439a70
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x84]
push eax
push 0x46a814
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0043ca60
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0043b640
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 0x10
jb 0x421aa1
mov eax, dword [eax + 4]
jmp 0x421aa4
add eax, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00418739
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xf4]
call fcn.00417a85
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.0043bff0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.0043bff0
push str.amp_
lea ecx, [ebp - 0x38]
call fcn.00418739
push 0x468104
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.00418739
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0xc
call fcn.004441d0
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.00417a85
push ebx
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00417a85
push esi
lea ecx, [ebp - 0x74]
call fcn.00439a70
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push eax
push str.SuggestionsURL
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 0xd
call fcn.0043ca60
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0043b640
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x18], 0x10
jb 0x421b72
mov eax, dword [eax + 4]
jmp 0x421b75
add eax, 4
push eax
lea ecx, [ebp - 0xbc]
call fcn.00418739
push ebx
push edi
lea ecx, [ebp - 0x110]
call fcn.00417a85
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x12
call fcn.0043bff0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.0043bff0
push str.amp_
lea ecx, [ebp - 0x38]
call fcn.00418739
push 0x468104
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.00418739
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x15
call fcn.004441d0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00417a85
mov byte [ebp - 0x1328], bl
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x1327]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea ecx, [ebp - 0x48]
stosb byte es:[edi], al
call fcn.00439a70
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x16
call fcn.00439a70
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push eax
push str.FaviconURL
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x17
call fcn.0043ca60
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0043b640
mov esi, eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x19
push str.DisplayName
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0043ca60
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.0043b640
cmp dword [ebp - 0xa4], 0x10
mov edi, dword [ebp - 0xb8]
jae 0x421c9d
lea edi, [ebp - 0xb8]
cmp dword [ebp - 0x88], 0x10
mov edx, dword [ebp - 0x9c]
jae 0x421cb2
lea edx, [ebp - 0x9c]
cmp dword [esi + 0x18], 0x10
jb 0x421cbd
mov ecx, dword [esi + 4]
jmp 0x421cc0
lea ecx, [esi + 4]
cmp dword [eax + 0x18], 0x10
jb 0x421ccb
mov eax, dword [eax + 4]
jmp 0x421cce
add eax, 4
push edi
push edx
push ecx
push eax
push str.__xml_version_1.0__encoding_UTF_8____n_OpenSearchDescription_xmlns_http:__a9.com___spec_opensearch_1.1____n_t_ShortName__s__ShortName__n_t_Image_width_16__height_16___s__Image__n_t_Url_type_text_html__template__s____n_t_Url_type_application_x_suggestionsjson__rel_suggestions__template__s____n__OpenSearchDescription__n
lea eax, [ebp - 0x1328]
push 0xfff
push eax
call fcn.00447868
add esp, 0x1c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf4]
call fcn.00417a85
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.0043bff0
push ebx
push esi
lea ecx, [ebp - 0xd8]
call fcn.00417a85
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x17
call fcn.0043bff0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x16
call fcn.0043bff0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0043bff0
push dword [ebp + 8]
lea eax, [ebp - 0x1328]
push eax
call fcn.00446610
pop ecx
push eax
push str.__put_xml_len_d__to__s
push ebx
call fcn.00437bbc
add esp, 0x10
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.00418739
lea eax, [ebp - 0x1328]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1b
call fcn.00418739
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
call fcn.0041c961
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00417a85
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00417a85
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.004375f6
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x421dbb
mov eax, str._null_
push eax
lea esi, [ebp - 0x64]
call fcn.00411ea9
push ebx
push ebx
mov eax, esi
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00443fa0
add esp, 0x10
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 0x10
jb 0x421deb
mov eax, dword [eax + 4]
jmp 0x421dee
add eax, 4
push eax
push str.__installed_service_ID_s
push ebx
call fcn.00437bbc
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xd8]
call fcn.00417a85
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00412e5a
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.00417a85
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00417a85
jmp 0x422099
cmp edi, 7
jne 0x422099
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push SysReAllocString
xor edi, edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x21
call fcn.00417baf
test eax, eax
je 0x421eca
push str.__cant_open_IE_search_scopes
push ebx
call fcn.00437bbc
pop ecx
pop ecx
jmp 0x422091
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x421ed7
mov eax, dword [edi]
jmp 0x421ed9
mov eax, edi
push 1
push eax
push str.DefaultScope
lea eax, [ebp - 0x1c]
push eax
call fcn.004183b5
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 0x22
cmp dword [esi + 0x18], 0x10
jb 0x421efc
mov edi, dword [edi]
push ebx
push 0x2001f
push ebx
push ebx
push edi
push dword [ebp - 0x1c]
xor edi, edi
lea eax, [ebp - 0x40]
call fcn.00417baf
test eax, eax
je 0x421f28
push str.__cant_open_search_scope_values
push ebx
call fcn.00437bbc
pop ecx
pop ecx
jmp 0x422089
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0043acc0
jmp 0x42206c
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043c170
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0043b640
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x25
call fcn.0043bff0
lea ecx, [ebp - 0x6c]
call fcn.0043a990
mov esi, eax
mov ecx, esi
call fcn.00439bb0
test al, al
mov ecx, esi
je 0x42200b
lea eax, [ebp - 0xd8]
push eax
call fcn.0043b640
push 0x10
pop edi
mov byte [ebp - 4], 0x26
cmp dword [eax + 0x18], edi
jb 0x421f98
mov eax, dword [eax + 4]
jmp 0x421f9b
add eax, 4
cmp dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x34]
jae 0x421fa6
lea ecx, [ebp - 0x34]
push eax
push ecx
push str.__set__s_s
push ebx
call fcn.00437bbc
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x25
call fcn.00417a85
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
call fcn.0043b640
cmp dword [eax + 0x18], edi
jb 0x421fe0
mov eax, dword [eax + 4]
jmp 0x421fe3
add eax, 4
cmp dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x34]
jae 0x421fee
lea ecx, [ebp - 0x34]
push 1
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.004183b5
push ebx
push 1
lea ecx, [ebp - 0x110]
call fcn.00417a85
jmp 0x422055
call fcn.00439b60
test al, al
je 0x422055
cmp dword [ebp - 0x20], 0x10
mov edi, dword [ebp - 0x34]
jae 0x422020
lea edi, [ebp - 0x34]
mov ecx, esi
call fcn.0043b880
push eax
push edi
push str.__set__s_d
push ebx
call fcn.00437bbc
mov edi, dword [ebp - 0x34]
add esp, 0x10
cmp dword [ebp - 0x20], 0x10
jae 0x422043
lea edi, [ebp - 0x34]
mov ecx, esi
call fcn.0043b880
push eax
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00418397
push ebx
lea ecx, [ebp - 0x38]
push 1
mov byte [ebp - 4], 0x22
call fcn.00417a85
lea ecx, [ebp - 0x6c]
call fcn.0043a9a0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
call fcn.0043ad00
lea ecx, [ebp - 0x6c]
push eax
call fcn.0043a0a0
test al, al
je 0x421f39
lea esi, [ebp - 0x40]
call fcn.00417bf8
lea esi, [ebp - 0x1c]
call fcn.00417bf8
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8