Function at 0x41f948
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5754
call fcn.00432650
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp dword [esi + 0x1510], 1
jne 0x420086
xor edi, edi
cmp dword [esi + 0x14f0], edi
jne 0x420086
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420086
push ebx
mov ebx, str.option
push dword [esi + 0x3c]
push edi
push str.IE6Mode
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
mov word [ebp - 0xa24], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa22]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0xa24]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x41f9f1
mov eax, dword [ebp - 8]
add esi, 0x38
add eax, 0x3c
mov ecx, esi
push eax
call fcn.00404768
jmp 0x41fa5c
mov eax, dword [ebp - 8]
add esi, 0x38
add eax, 0x40
mov ecx, esi
push eax
call fcn.00404768
push str.ie6.srx
lea ecx, [ebp - 0xc]
call fcn.00404707
mov eax, dword [ebp - 0xc]
push 1
pop ecx
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax - 8]
shl edx, 1
push edx
push eax
push ecx
lea eax, [ebp - 0xa24]
push str.CurrentSkin
push eax
push SysReAllocString
call edi
lea eax, [ebp - 0x14]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.ShellMode
push eax
push SysReAllocString
call edi
lea ecx, [ebp - 0xc]
call fcn.00404beb
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
push str.ShowFavBar
push ebx
call edi
push dword [esi]
mov dword [ebp - 0x18], eax
push 1
push str.ShowSearchBar
push ebx
call edi
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push str.ShowPluginBar
push ebx
call edi
push dword [esi]
mov dword [ebp - 0xc], eax
push 1
push str.ShowStatusBar
push ebx
call edi
push dword [esi]
mov dword [ebp - 0x14], eax
push 0
push str.ShowFindBar
push ebx
call edi
mov ecx, dword [ebp - 0x14]
and word [ebp - 0x36c4], 0
lea edi, [ebp - 0x36c2]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
mov ecx, 0x823
lea eax, [eax + eax + 0x25]
mov dword [ebp - 0x1c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
stosw word es:[edi], ax
mov edi, 0x1047
lea eax, [ebp - 0x36c4]
push edi
push eax
call fcn.0041e5d7
lea eax, [ebp - 0x36c4]
push 0x467104
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x41fb25
push str.hao.360.cn
lea eax, [ebp - 0x36c4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0xc
lea eax, [ebp - 0x36c4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [ebp - 0x36c4]
push eax
mov ecx, 0x4670d0
call fcn.00404264
and word [ebp - 0x224], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 8]
add eax, 0x3c
push dword [eax]
lea eax, [ebp - 0x224]
push 0x104
push eax
push 0x467104
push 0x4646ec
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x224], 0
je 0x41fc7e
and word [ebp - 0xc2c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xc2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0xc2c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 8]
add esp, 0x10
lea edi, [eax + 0x14f4]
lea eax, [ebp - 0x224]
test eax, eax
je 0x41fbec
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x224]
push ecx
push eax
mov ecx, edi
call fcn.00404cc7
and word [ebp - 0xe34], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xe32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
mov edi, SysReAllocString
push eax
lea eax, [ebp - 0xe34]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc2c]
push 0x4646ec
push eax
push edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41fc56
cmp word [ebp - 0xe34], ax
jne 0x41fc83
mov eax, dword [ebp - 8]
add eax, 0x14f4
mov eax, dword [eax]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0xc2c]
push 0x4646ec
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x41fc83
mov edi, SysReAllocString
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420732
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420e61
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.0042080c
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.004211c0
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420b4d
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420cfe
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.UIStatus
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.MSameFile
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.MSameFile
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.MRemoveSaved
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.MRemoveSaved
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.MSaveSubFolder
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.MSaveSubFolder
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.MouseGesture
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.MouseGesture
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.VideoPlay
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.VideoPlay
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.ConfirmCloseAll
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.ConfirmCloseAll
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.MAltSave
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.MediaSave
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.AutoClean
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.AutoClean
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.AutoCleanMask
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.CleanMask
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.Drag64Save
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.Drag64Save
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 1
push str.DragText
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.DragText
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
push 0
push str.GlobalZoom
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
mov dword [ebp - 4], eax
jne 0x41ff52
push dword [esi]
push 0
push str.GlobalZoomRate
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [ebp - 4], eax
je 0x41ff72
cmp eax, 0x32
jge 0x41ff0e
push 0x32
pop eax
mov dword [ebp - 4], eax
mov ecx, 0x190
cmp eax, ecx
jle 0x41ff1a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.ZoomRate
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.GlobalZoom
mov dword [ebp - 4], 1
push eax
jmp 0x41ff6b
lea eax, [ebp - 4]
push 4
push eax
push 4
push str.ZoomFactor
mov dword [ebp - 4], 0x186a0
push str.SoftwareMicrosoftInternet_ExplorerZoom
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
and word [ebp - 0x1634], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1632]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultGesture
lea eax, [ebp - 0x1634]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor edi, edi
mov eax, dword [0x43c4ec]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x4645a4
push eax
call fcn.00409d55
add esp, 0xc
push dword [esi]
push 0xffffffffffffffff
push dword [ebp - 0xc]
push str.Gesture
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x41fffd
lea eax, [ebp - 4]
push 4
push eax
push 4
push dword [ebp - 0xc]
lea eax, [ebp - 0x1634]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0xc]
call fcn.00404beb
inc edi
cmp edi, 0xf
jle 0x41ffac
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00421afc
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.004204d3
and word [ebp - 0x5754], 0
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x5752]
push dword [esi]
mov esi, str.MSavePath
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x5754]
push 0x104
push eax
push 0x467104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x5754]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x5754]
push eax
push 1
lea eax, [ebp - 0xa24]
push esi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
pop edi
pop esi
leave
ret