Function at 0x414e79
Capabilities:
Get common file path

Disassembly:
push 0x390
mov eax, 0x490b42
call fcn.00474ec1
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push 0x49bf38
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x2e4], ebx
call fcn.0040a4c4
push ebx
push 0x1c
lea eax, [ebp - 0x218]
xor edi, edi
push eax
inc edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x414eeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2e0]
mov dword [esi], eax
lea eax, [ebp - 0x288]
push eax
call fcn.0040a4f5
jmp 0x4151a4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2dc]
mov dword [esi], 2
call fcn.0040a4c4
lea ecx, [ebp - 0x234]
push str.GoogleChromeUser_DataDefaultPreferences
push ecx
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00418f59
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 4
call fcn.0040bba0
cmp dword [0x4bfb94], ebx
je 0x414f81
lea eax, [ebp - 0x2a4]
push edi
push eax
lea ecx, [ebp - 0x234]
call fcn.00456a76
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
push str.GetChromeIncumbentHPR_in
push ecx
mov byte [ebp - 4], 5
call fcn.0040fae8
add esp, 0xc
mov ecx, 0x4bfcf0
call fcn.004437f6
push ebx
push edi
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 4
call fcn.00401524
lea eax, [ebp - 0x234]
push eax
call fcn.0045772c
pop ecx
test al, al
jne 0x414fa9
mov ecx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x288]
push eax
call fcn.0040a4f5
jmp 0x415197
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x414fbe
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.004175ea
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 7
jmp 0x41503f
cmp dword [ebp - 0x240], ebx
je 0x41503f
push str.___homepage_:__
lea ecx, [ebp - 0x26c]
call fcn.00409f78
mov byte [ebp - 4], 8
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x415018
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x250]
call fcn.004181be
cmp eax, ebx
jge 0x415074
push ebx
push edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.00401524
lea eax, [ebp - 0x250]
push eax
lea esi, [ebp - 0x39c]
call fcn.00418fcd
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx eax, al
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x414fe7
jmp 0x415154
mov ecx, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x240]
sub edx, ecx
sub edx, eax
push edx
add ecx, eax
push ecx
lea eax, [ebp - 0x250]
push eax
lea esi, [ebp - 0x2a4]
call fcn.004170c6
push 0xffffffffffffffff
mov eax, 0xfde9
push eax
push eax
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
mov byte [ebp - 4], 9
call fcn.004016f0
lea eax, [ebp - 0x2c0]
push eax
call fcn.00456b26
add esp, 0x2c
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.0040ba5a
push ebx
push edi
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 9
call fcn.0040bba0
mov esi, 0x49d9e4
push esi
call fcn.0046faa4
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [ebp - 0x234]
call fcn.0041835a
cmp eax, ebx
jle 0x415136
push eax
push ebx
lea eax, [ebp - 0x234]
push eax
lea esi, [ebp - 0x2c0]
call fcn.0040a5d3
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
call fcn.0040ba5a
push ebx
push edi
mov ecx, esi
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x2a4]
call fcn.00401524
push ebx
push edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.00401524
lea esi, [ebp - 0x39c]
call fcn.004176ba
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x2e0]
mov dword [eax], ebx
lea eax, [ebp - 0x288]
push eax
call fcn.0040a4f5
push ebx
push edi
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x2e4], edi
call fcn.00401524
mov eax, esi
mov byte [ebp - 4], 4
call fcn.00414637
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.0040bba0
push ebx
push edi
lea ecx, [ebp - 0x288]
call fcn.0040bba0
mov eax, dword [ebp - 0x2e0]
call fcn.00474f44
ret