Function at 0x4f71c0
Capabilities:
Check if file exists
Get common file path
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9d3
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x165], 0
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea eax, [ebp - 0x133]
push eax
call fcn.00415fc0
add esp, 0xc
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x15c]
call fcn.004011e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004011e0
mov byte [ebp - 4], 1
cmp dword [0x55b9f4], 0
jne 0x4f7280
push str._DEBUGINFO__LOCK__NULL__null_power_n
call fcn.004e4170
add esp, 4
mov dword [ebp - 0x190], 0xfffffffc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401260
mov eax, dword [ebp - 0x190]
jmp 0x4f7627
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f9c00
add esp, 4
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
push edx
call fcn.00415e20
add esp, 4
test eax, eax
jne 0x4f72d8
mov dword [ebp - 0x194], 0xfffffffd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401260
mov eax, dword [ebp - 0x194]
jmp 0x4f7627
push 0x5264a8
call fcn.004f49c0
add esp, 4
test eax, eax
je 0x4f72f6
push str.2345Chrome.exe
call fcn.004349e0
add esp, 4
mov eax, dword [ebp - 0x18c]
push eax
push str._DEBUGINFO__LOCK__SET_Lock2345Chrome_url___s_n
call fcn.004e4170
add esp, 8
push 0x104
push 0
lea ecx, [ebp - 0x134]
push ecx
call fcn.00415fc0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x134]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004012a0
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004012a0
push str.2345ChromeUser_DataDefaultSyncHardwareInfo.dat
lea ecx, [ebp - 0x15c]
call fcn.0040bb70
push str.2345ChromeUser_DataDefaultpage_file.dat
lea ecx, [ebp - 0x2c]
call fcn.0040bb70
lea ecx, [ebp - 0x15c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4f73c3
lea ecx, [ebp - 0x2c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4f73c3
lea ecx, [ebp - 0x2c]
call fcn.004012e0
push eax
lea ecx, [ebp - 0x15c]
call fcn.004012e0
push eax
push str._DEBUGINFO__LOCK__SET_Lock2345Chrome_path_HardwareInfo___s_path_page_file___s_n
call fcn.004e4170
add esp, 0xc
mov byte [ebp - 0x165], 1
movzx edx, byte [ebp - 0x165]
test edx, edx
jne 0x4f7401
mov dword [ebp - 0x198], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401260
mov eax, dword [ebp - 0x198]
jmp 0x4f7627
push 0x5265ac
lea ecx, [ebp - 0x15c]
call fcn.004012e0
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x13c], eax
push 2
push 0
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.004169d3
add esp, 4
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
push edx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x160], eax
push 0
push 0
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp - 0x13c]
push ecx
push 1
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x160]
push eax
call fcn.0041651a
add esp, 0x10
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.00416bf5
add esp, 4
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x160]
push eax
call fcn.004f7110
add esp, 8
mov ecx, dword [ebp - 0x160]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.00415eb0
add esp, 8
lea eax, [ebp - 0x188]
push eax
push str._DEBUGINFO__LOCK__SET_Lock2345Chrome_mac___s_n
call fcn.004e4170
add esp, 8
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.00415c75
add esp, 4
push 0x104
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x138], eax
push 0x104
push 0
mov edx, dword [ebp - 0x138]
push edx
call fcn.00415fc0
add esp, 0xc
push str._homepage_:_
mov eax, dword [ebp - 0x138]
push eax
call fcn.00415eb0
add esp, 8
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call fcn.00415ec0
add esp, 8
push 0x5265f0
mov eax, dword [ebp - 0x138]
push eax
call fcn.00415ec0
add esp, 8
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.00415e20
add esp, 4
push eax
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.004f6fa0
add esp, 0xc
mov dword [ebp - 0x140], eax
push 0x80
lea ecx, [ebp - 0x2c]
call fcn.004012e0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x5265f4
lea ecx, [ebp - 0x2c]
call fcn.004012e0
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 1
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x138]
push eax
call fcn.004167ae
add esp, 0x10
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.00416bf5
add esp, 4
mov edx, dword [ebp - 0x18c]
push edx
call fcn.00415c75
add esp, 4
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401260
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret 4