Function at 0x4ff0b0
Capabilities:
Check if file exists
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c56e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4ff673
push 0x7c
call fcn.00418aea
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x84], 0
je 0x4ff141
lea ecx, [ebp - 0x88]
push ecx
call fcn.004eee80
add esp, 4
push eax
mov ecx, dword [ebp - 0x84]
call fcn.004ef190
mov dword [ebp - 0xf0], eax
jmp 0x4ff14b
mov dword [ebp - 0xf0], 0
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x80], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
push 0
lea ecx, [ebp - 0x54]
call fcn.004ebad0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e7500
mov byte [ebp - 4], 2
push 0x51fd50
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x3c], eax
push 2
push 0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00416afd
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004169d3
add esp, 4
mov dword [ebp - 0x58], eax
push 0
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00416afd
add esp, 0xc
mov edx, dword [ebp - 0x58]
add edx, 1
push edx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push 1
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0041651a
add esp, 0x10
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x58]
mov byte [eax], 0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00416bf5
add esp, 4
cmp dword [ebp - 0x58], 0xa
jge 0x4ff25c
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00415c75
add esp, 4
mov dword [ebp - 0x58], 0x4676
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00415fc0
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
push str._Advanced_:_AeroEffectEnabled_:false__AeroEffectSupported_:false__CacheStoreDirectory_:_C:Documents_and_SettingsAdministratorLocal_SettingsApplication_DataTencentQQBrowserUser_DataDefault___DirectWriteFontRenderEnabled_:false__JoinUserExperienceImprovePlan_:true__OpenDaohangWhenClose_:____BrowserState_:_WindowPlacement_:_1001008006003___Common_:_SearchEngineKeyword_:_baidu.com___Layout_:_BookmarkBarStateSign_:1__PluginBarInfo_:_plugin_info_version_:____plugin_infos_:__plugin_extension_id_:_lgehdnenpfidnhbmihmclibghhmocpen___plugin_pos_type_:_out___plugin_visible_:true__plugin_extension_id_:_6678EE8EF6A947a2AA6E6BA66E8F13E9___plugin_pos_type_:_out___plugin_visible_:true__plugin_extension_id_:_2351AD12C8EB48cf87EE6D1DB82AE780___plugin_pos_type_:_out___plugin_visible_:true__plugin_extension_id_:_3CB0C33216944fdbAAF94729D0DB6FD3___plugin_pos_type_:_out___plugin_visible_:true__plugin_extension_id_:_917E63A117054F5DAD4925375D0DEA76___plugin_pos_type_:_out___plugin_visible_:true___PrivateCfg_:_ESDahOnCNT_:true__Skin_:_Detail_:__skins_:__id_:_1___tab_shape_:_qb___tab_smart_:true__primary_color_:_rgb_212_212_217____secondary_color_:_rgb_250_250_252____third_color_:_rgb_240_240_244_____status_:1___Tabs_:_NewTabUrl_:_qqbrowser:__newtab___PinedTabs_:____account_id_migration_state_:2__account_tracker_service_last_update_:_13150265853678712___data_reduction_:_daily_original_length_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___5885____daily_original_length_application_:_0___daily_original_length_unknown_:_0___daily_original_length_via_data_reduction_proxy_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0____daily_original_length_via_data_reduction_proxy_application_:_0___daily_original_length_via_data_reduction_proxy_unknown_:_0___daily_original_length_via_data_reduction_proxy_video_:_0___daily_original_length_video_:_0___daily_original_length_with_data_reduction_proxy_enabled_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0____daily_original_length_with_data_reduction_proxy_enabled_application_:_0___daily_original_length_with_data_reduction_proxy_enabled_unknown_:_0___daily_original_length_with_data_reduction_proxy_enabled_video_:_0___daily_received_length_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___5885____daily_received_length_application_:_0___daily_received_length_https_with_data_reduction_proxy_enabled_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0____daily_received_length_long_bypass_with_data_reduction_proxy_enabled_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0____daily_received_length_short_bypass_with_data_reduction_proxy_enabled_:__0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___0___
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00415910
add esp, 0xc
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x58]
mov byte [edx], 0
cmp dword [ebp - 0x58], 0x3e8
jle 0x4ff2d2
push 0x51fd54
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00401000
add esp, 8
test eax, eax
je 0x4ff2d2
push 0x51fd58
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00401000
add esp, 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.00401e20
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xec]
or edx, 1
mov dword [ebp - 0xec], edx
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.004f3df0
movzx edx, al
test edx, edx
je 0x4ff2d2
mov dword [ebp - 0xf4], 1
jmp 0x4ff2dc
mov dword [ebp - 0xf4], 0
mov al, byte [ebp - 0xf4]
mov byte [ebp - 0x89], al
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xec]
and ecx, 1
je 0x4ff30c
and dword [ebp - 0xec], 0xfffffffe
lea ecx, [ebp - 0xa8]
call fcn.00401260
movzx edx, byte [ebp - 0x89]
test edx, edx
je 0x4ff60f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push 3
call fcn.004eac00
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 4
push 0x51fd64
push 0x51fd5c
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 4
call fcn.004eac00
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 5
push 0x51fd7c
push 0x51fd74
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.004edc90
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 6
push 0x51fd94
push 0x51fd8c
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
mov edx, dword [0x55bc34]
push edx
call fcn.004ed9d0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 7
push 0x51fdb0
push 0x51fda8
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004edc90
mov byte [ebp - 4], 8
lea edx, [ebp - 0xd4]
push edx
push 0x51fdd0
push str.Common
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov ecx, eax
call fcn.004ee2a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.004eb3f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 3
call fcn.004eac00
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 9
push 0x51fdf0
push 0x51fde8
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.004edc90
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0xa
push 0x51fe0c
push 0x51fe04
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.004edc90
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0xb
push 0x51fe30
push str.Tabs
lea ecx, [ebp - 0x54]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004eb520
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x38]
call fcn.004ea3e0
mov byte [ebp - 4], 0xc
push 0x80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x51fe3c
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004012e0
push eax
call fcn.00415e20
add esp, 4
push eax
lea ecx, [ebp - 0x7c]
call fcn.004012e0
push eax
call fcn.004167ae
add esp, 0x10
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00416bf5
add esp, 4
push str._DEBUGINFO__LOCK__SET_LockQQBrowser_Preferences_json_ok_n
call fcn.004e4170
add esp, 4
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00401260
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
je 0x4ff642
push 1
mov ecx, dword [ebp - 0xe4]
call fcn.00413240
mov dword [ebp - 0x130], eax
jmp 0x4ff64c
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00415c75
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00410630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004eb3f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret 0xc