Function at 0x507f20
Capabilities:
Check if file exists
Delete registry value
Get common file path
Query or enumerate registry value
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d2a4
mov eax, dword fs:[0]
push eax
sub esp, 0x6e4
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6b4], 0
mov byte [ebp - 0x2d9], 0
mov dword [ebp - 0x2d8], 0
mov byte [ebp - 0x16c], 0
push 0x103
push 0
lea eax, [ebp - 0x16b]
push eax
call fcn.00415fc0
add esp, 0xc
mov dword [ebp - 0x2ec], 0x104
push str.Application360se.exe
lea ecx, [ebp - 0x2d4]
call fcn.00401e20
mov dword [ebp - 4], 0
push str.User_DataDefaultPreferences
lea ecx, [ebp - 0x60]
call fcn.00401e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.004011e0
mov byte [ebp - 4], 2
cmp dword [0x55b9f4], 0
jne 0x50801c
push 0x525b50
call fcn.004e4170
add esp, 4
mov dword [ebp - 0x52c], 0xfffffffc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00401260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00401260
mov eax, dword [ebp - 0x52c]
jmp 0x508fa4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f9c00
add esp, 4
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.00415e20
add esp, 4
test eax, eax
jne 0x508083
mov dword [ebp - 0x530], 0xfffffffd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00401260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00401260
mov eax, dword [ebp - 0x530]
jmp 0x508fa4
push 0x525b74
call fcn.004f49c0
add esp, 4
test eax, eax
je 0x5080a1
push str.360se.exe
call fcn.004349e0
add esp, 4
mov eax, dword [ebp - 0x2e8]
push eax
push str._DEBUGINFO__LOCK__SET_Lock360_url___s_n
call fcn.004e4170
add esp, 8
push 0x104
push 0
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00415fc0
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x170]
push ecx
push 0x514057
push str.360seURL_shellopencommand
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x50825b
lea edx, [ebp - 0x16c]
push edx
call fcn.00415e20
add esp, 4
cmp eax, 5
jb 0x50825b
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004012a0
push 0
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00413640
cmp dword [0x528cdc], eax
je 0x50825b
push 0
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x18c]
call fcn.00413640
push eax
push 0
lea eax, [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401320
mov dword [ebp - 0x6b8], eax
mov ecx, dword [ebp - 0x6b8]
mov dword [ebp - 0x6bc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6bc]
push edx
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54c]
call fcn.00401260
push 0x51405a
lea ecx, [ebp - 0x568]
call fcn.00401e20
mov byte [ebp - 4], 4
push 0x525bd0
lea ecx, [ebp - 0x584]
call fcn.00401e20
mov byte [ebp - 4], 5
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x584]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.004f8d60
add esp, 0xc
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x584]
call fcn.00401260
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x568]
call fcn.00401260
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004013e0
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x50825b
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
push str._DEBUGINFO__LOCK__SET_Lock360_path1___s_n
call fcn.004e4170
add esp, 8
mov byte [ebp - 0x2d9], 1
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x508410
push 0x104
push 0
lea edx, [ebp - 0x16c]
push edx
call fcn.00415fc0
add esp, 0xc
lea eax, [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x170]
push edx
push str.DisplayIcon
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x508410
lea eax, [ebp - 0x16c]
push eax
call fcn.00415e20
add esp, 4
cmp eax, 5
jb 0x508410
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.004012a0
push 0
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x18c]
call fcn.00413640
cmp dword [0x528cdc], eax
je 0x508410
push 0
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00413640
push eax
push 0
lea ecx, [ebp - 0x5a0]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00401320
mov dword [ebp - 0x6c0], eax
mov edx, dword [ebp - 0x6c0]
mov dword [ebp - 0x6c4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x6c4]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5a0]
call fcn.00401260
push 0x51405b
lea ecx, [ebp - 0x5bc]
call fcn.00401e20
mov byte [ebp - 4], 7
push 0x525c48
lea ecx, [ebp - 0x5d8]
call fcn.00401e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5bc]
push ecx
lea edx, [ebp - 0x5d8]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.004f8d60
add esp, 0xc
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5d8]
call fcn.00401260
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5bc]
call fcn.00401260
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.004013e0
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x508410
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
push str._DEBUGINFO__LOCK__SET_Lock360_path2___s_n
call fcn.004e4170
add esp, 8
mov byte [ebp - 0x2d9], 1
movzx edx, byte [ebp - 0x2d9]
test edx, edx
jne 0x5084af
push 0x104
push 0
lea eax, [ebp - 0x16c]
push eax
call fcn.00415fc0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x16c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x18c]
call fcn.004012a0
push str.360se6_
lea ecx, [ebp - 0x18c]
call fcn.0040bb70
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004013e0
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x5084af
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
push str._DEBUGINFO__LOCK__SET_Lock360_path3___s_n
call fcn.004e4170
add esp, 8
mov byte [ebp - 0x2d9], 1
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x508756
mov byte [ebp - 0x3fc], 0
push 0x103
push 0
lea edx, [ebp - 0x3fb]
push edx
call fcn.00415fc0
add esp, 0xc
mov byte [ebp - 0x504], 0
push 0x103
push 0
lea eax, [ebp - 0x503]
push eax
call fcn.00415fc0
add esp, 0xc
lea ecx, [ebp - 0x2f0]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x508561
lea edx, [ebp - 0x508]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x50854d
lea eax, [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x508]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [ebp - 0x508]
push edx
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [edx + 8]
call ecx
lea edx, [ebp - 0x3fc]
push edx
lea eax, [ebp - 0x504]
push eax
call fcn.00415eb0
add esp, 8
push 0x525cb0
lea ecx, [ebp - 0x504]
push ecx
call fcn.00415ec0
add esp, 8
lea edx, [ebp - 0x504]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x5085c6
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0x504]
push ecx
call fcn.00415eb0
add esp, 8
push str.360
lea edx, [ebp - 0x504]
push edx
call fcn.00415ec0
add esp, 8
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x508756
push 0x104
push 0
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00415fc0
add esp, 0xc
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x504]
push eax
call fcn.004f5130
add esp, 4
push eax
call fcn.004de630
add esp, 8
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.004012a0
push 0
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x18c]
call fcn.00413640
cmp dword [0x528cdc], eax
je 0x508756
push 0
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00413640
push eax
push 0
lea ecx, [ebp - 0x5f4]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00401320
mov dword [ebp - 0x6c8], eax
mov edx, dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x6cc]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5f4]
call fcn.00401260
push 0x514061
lea ecx, [ebp - 0x610]
call fcn.00401e20
mov byte [ebp - 4], 0xa
push 0x525cd8
lea ecx, [ebp - 0x62c]
call fcn.00401e20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x610]
push ecx
lea edx, [ebp - 0x62c]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.004f8d60
add esp, 0xc
push eax
lea ecx, [ebp - 0x18c]
call fcn.00401280
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x62c]
call fcn.00401260
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x610]
call fcn.00401260
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.004013e0
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x508756
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
push str._DEBUGINFO__LOCK__SET_Lock360_path4___s_n
call fcn.004e4170
add esp, 8
mov byte [ebp - 0x2d9], 1
movzx edx, byte [ebp - 0x2d9]
test edx, edx
jne 0x5087a3
mov dword [ebp - 0x630], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00401260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00401260
mov eax, dword [ebp - 0x630]
jmp 0x508fa4
push 0x525d08
push 0x525d14
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
test eax, eax
je 0x5087c9
push str._DEBUGINFO__LOCK__SET_Lock360_delete_reg__Software360360se5_se6__homepage_faild_n
call fcn.004e4170
add esp, 4
push 0x525d8c
push str.Software360360se5_se6
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
test eax, eax
je 0x5087ef
push str._DEBUGINFO__LOCK__SET_Lock360_delete_reg__Software360360se5_se6__hpmir_faild_n
call fcn.004e4170
add esp, 4
push 0x525d2c
push 0x525dac
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
test eax, eax
je 0x508815
push str._DEBUGINFO__LOCK__SET_Lock360_delete_reg__Software360360se6Chrome__homepage_faild_n
call fcn.004e4170
add esp, 4
push str.hpmir
push str.Software360360se6Chrome
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
test eax, eax
je 0x50883b
push str._DEBUGINFO__LOCK__SET_Lock360_delete_reg__Software360360se6Chrome__hpmir_faild_n
call fcn.004e4170
add esp, 4
push 0x104
push 0
lea eax, [ebp - 0x16c]
push eax
call fcn.00415fc0
add esp, 0xc
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
push 0x104
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004188fa
add esp, 0xc
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x16c]
push eax
call fcn.004f4b10
add esp, 4
test eax, eax
je 0x5088d3
mov dword [ebp - 0x634], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00401260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00401260
mov eax, dword [ebp - 0x634]
jmp 0x508fa4
push 0x7c
call fcn.00418aea
add esp, 4
mov dword [ebp - 0x63c], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x63c], 0
je 0x508913
lea ecx, [ebp - 0x640]
push ecx
call fcn.004eee80
add esp, 4
push eax
mov ecx, dword [ebp - 0x63c]
call fcn.004ef190
mov dword [ebp - 0x6d0], eax
jmp 0x50891d
mov dword [ebp - 0x6d0], 0
mov edx, dword [ebp - 0x6d0]
mov dword [ebp - 0x638], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x2e4], eax
push 0
lea ecx, [ebp - 0x2b4]
call fcn.004ebad0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.004e7500
mov byte [ebp - 4], 0xe
push 0x525eec
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x190], eax
push 2
push 0
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.00416afd
add esp, 0xc
mov edx, dword [ebp - 0x190]
push edx
call fcn.004169d3
add esp, 4
mov dword [ebp - 0x2b8], eax
push 0
push 0
mov eax, dword [ebp - 0x190]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
push ecx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2b8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
push 1
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.0041651a
add esp, 0x10
mov ecx, dword [ebp - 0x2e0]
add ecx, dword [ebp - 0x2b8]
mov byte [ecx], 0
mov edx, dword [ebp - 0x190]
push edx
call fcn.00416bf5
add esp, 4
cmp dword [ebp - 0x2b8], 0xa
jge 0x508a9f
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00415c75
add esp, 4
mov dword [ebp - 0x2b8], 0x5ee5
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
push ecx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2b8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp - 0x2b8]
push ecx
push str._r_n____account_id_migration_state_:_2__r_n____account_tracker_service_last_update_:__13150263985097949___r_n____adblock_:__r_n_______cloud_tips_mode_:_0__r_n_______enable_:_true__r_n_______options_mode_:_1_r_n_____r_n____bookmark_editor_:__r_n_______expanded_nodes_:______r_n_____r_n____browser_:__r_n_______disk_cache_dir_:__c:documents_and_settings_administrator_application_data360se6User_DataDefault___r_n_______ees_:__r_n_r_n_______r_n_____r_n____cache_:__r_n_______current_directory_:__c:documents_and_settings_administrator_application_data360se6User_DataDefault__r_n_____r_n____component_360_:__r_n_______pluginlist_:__r_n__________sidebar_:____ExtFeedWeibo____ExtWebmail____r_n_______r_n_____r_n____countryid_at_install_:_17230__r_n____data_reduction_:__r_n_______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____265068_____r_n_______daily_original_length_application_:__95906___r_n_______daily_original_length_unknown_:__0___r_n_______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_____r_n_______daily_original_length_via_data_reduction_proxy_application_:__0___r_n_______daily_original_length_via_data_reduction_proxy_unknown_:__0___r_n_______daily_original_length_via_data_reduction_proxy_video_:__0___r_n_______daily_original_length_video_:__0___r_n_______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_____r_n_______daily_original_length_with_data_reduction_proxy_enabled_application_:__0___r_n_______daily_original_length_with_data_reduction_proxy_enabled_unknown_:__0___r_n_______daily_original_length_with_data_reduction_proxy_enabled_video_:__0___r_n_______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____265068_____r_n_______daily_received_length_application_:__95906___r_n_______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_____r_n_______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_____r_n_______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_____r_n_______daily_received_length_unknown
mov edx, dword [ebp - 0x2e0]
push edx
call fcn.00415910
add esp, 0xc
mov eax, dword [ebp - 0x2e0]
add eax, dword [ebp - 0x2b8]
mov byte [eax], 0
cmp dword [ebp - 0x2b8], 0x3e8
jle 0x508b24
push 0x525ef0
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.00401000
add esp, 8
test eax, eax
je 0x508b24
push 0x525ef4
mov edx, dword [ebp - 0x2e0]
push edx
call fcn.00401000
add esp, 8
push eax
lea ecx, [ebp - 0x660]
call fcn.00401e20
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x6b4]
or eax, 1
mov dword [ebp - 0x6b4], eax
push 1
lea ecx, [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x660]
push edx
mov ecx, dword [ebp - 0x2e4]
call fcn.004f3df0
movzx eax, al
test eax, eax
je 0x508b24
mov dword [ebp - 0x6d4], 1
jmp 0x508b2e
mov dword [ebp - 0x6d4], 0
mov cl, byte [ebp - 0x6d4]
mov byte [ebp - 0x641], cl
mov dword [ebp - 4], 0xe
mov edx, dword [ebp - 0x6b4]
and edx, 1
je 0x508b5e
and dword [ebp - 0x6b4], 0xfffffffe
lea ecx, [ebp - 0x660]
call fcn.00401260
movzx eax, byte [ebp - 0x641]
test eax, eax
je 0x508db8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x664], esp
push 4
call fcn.004eac00
mov dword [ebp - 0x6d8], eax
mov ecx, dword [ebp - 0x6d8]
mov dword [ebp - 0x6dc], ecx
mov byte [ebp - 4], 0x10
push 0x525f00
push 0x525ef8
lea ecx, [ebp - 0x2b4]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.004eb520
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x668], esp
mov edx, dword [0x55bc34]
push edx
call fcn.004ed9d0
mov dword [ebp - 0x6e0], eax
mov eax, dword [ebp - 0x6e0]
mov dword [ebp - 0x6e4], eax
mov byte [ebp - 4], 0x11
push 0x525f1c
push 0x525f14
lea ecx, [ebp - 0x2b4]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.004eb520
mov ecx, dword [ebp - 0x2e8]
push ecx
lea ecx, [ebp - 0x684]
call fcn.004edc90
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x684]
push edx
push str.startup_urls
push 0x525f2c
lea ecx, [ebp - 0x2b4]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov ecx, eax
call fcn.004ee2a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x684]
call fcn.004eb3f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x688], esp
mov eax, dword [0x55bc34]
push eax
call fcn.004ed9d0
mov dword [ebp - 0x6e8], eax
mov ecx, dword [ebp - 0x6e8]
mov dword [ebp - 0x6ec], ecx
mov byte [ebp - 4], 0x13
push 0x525f4c
push 0x525f44
lea ecx, [ebp - 0x2b4]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.004eb520
mov edx, dword [ebp - 0x2e8]
push edx
lea ecx, [ebp - 0x6a4]
call fcn.004edc90
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x6a4]
push eax
push 0x525f70
push 0x525f68
lea ecx, [ebp - 0x2b4]
call fcn.004ee360
mov ecx, eax
call fcn.004ee360
mov ecx, eax
call fcn.004ee2a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6a4]
call fcn.004eb3f0
lea ecx, [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x524]
push edx
lea ecx, [ebp - 0x44]
call fcn.004ea3e0
mov byte [ebp - 4], 0x15
push 0x80
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x525f8c
lea ecx, [ebp - 0x18c]
call fcn.004012e0
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
push eax
push 1
lea ecx, [ebp - 0x524]
call fcn.004012e0
push eax
call fcn.00415e20
add esp, 4
push eax
lea ecx, [ebp - 0x524]
call fcn.004012e0
push eax
call fcn.004167ae
add esp, 0x10
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.00416bf5
add esp, 4
push str._DEBUGINFO__LOCK__SET_Lock360_json_ok_n
call fcn.004e4170
add esp, 4
mov dword [ebp - 0x2d8], 1
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x524]
call fcn.00401260
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x6ac], edx
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x508dee
push 1
mov ecx, dword [ebp - 0x6a8]
call fcn.00413240
mov dword [ebp - 0x6f0], eax
jmp 0x508df8
mov dword [ebp - 0x6f0], 0
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.00415c75
add esp, 4
mov byte [ebp - 0x29c], 0
push 0x103
push 0
lea edx, [ebp - 0x29b]
push edx
call fcn.00415fc0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00413270
mov byte [ebp - 4], 0x16
push 0x525fb8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00434ca0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004132c0
test eax, eax
jbe 0x508f2f
mov dword [ebp - 0x528], 0
jmp 0x508e73
mov edx, dword [ebp - 0x528]
add edx, 1
mov dword [ebp - 0x528], edx
lea ecx, [ebp - 0x1c]
call fcn.004132c0
cmp dword [ebp - 0x528], eax
jae 0x508f2f
mov eax, dword [ebp - 0x528]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413300
push eax
call fcn.004f4b10
add esp, 4
test eax, eax
jne 0x508f2a
push 0x104
push 0
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00415fc0
add esp, 0xc
mov edx, dword [ebp - 0x528]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00413300
push eax
push 0x104
lea eax, [ebp - 0x29c]
push eax
call fcn.004188fa
add esp, 0xc
push str.Preferences.sync
push 0x104
lea ecx, [ebp - 0x29c]
push ecx
call fcn.004189df
add esp, 0xc
lea edx, [ebp - 0x29c]
push edx
push 0x525fe0
call fcn.004e4170
add esp, 8
mov eax, dword [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00507ad0
add esp, 8
mov dword [ebp - 0x2d8], eax
jmp 0x508e64
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.00415c75
add esp, 4
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x6b0], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1c]
call fcn.004132a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.00410630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b4]
call fcn.004eb3f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00401260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00401260
mov eax, dword [ebp - 0x6b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret 4