Function at 0x41f8dd
Capabilities:
Check if file exists
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5b44
call fcn.00432320
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp dword [esi + 0x150c], 1
jne 0x41ffca
xor edi, edi
cmp dword [esi + 0x14ec], edi
jne 0x41ffca
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ffca
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 0x41f986
mov eax, dword [ebp - 8]
add esi, 0x38
add eax, 0x3c
mov ecx, esi
push eax
call fcn.00404768
jmp 0x41f9f1
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 - 0x10], 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 - 0x10]
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 - 0x1c], eax
push 1
push str.ShowSearchBar
push ebx
call edi
push dword [esi]
mov dword [ebp - 0x18], 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 - 0x10], eax
push 0
push str.ShowFindBar
push ebx
call edi
mov ecx, dword [ebp - 0x10]
and word [ebp - 0x3ab4], 0
lea edi, [ebp - 0x3ab2]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov ecx, 0x823
lea eax, [eax + eax + 0x25]
mov dword [ebp - 0x14], 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 - 0x3ab4]
push edi
push eax
call fcn.0041e595
lea eax, [ebp - 0x3ab4]
push 0x466094
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x41faba
push str.hao.360.cn
lea eax, [ebp - 0x3ab4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0xc
lea eax, [ebp - 0x3ab4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [ebp - 0x3ab4]
push eax
mov ecx, 0x466060
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]
mov edi, 0x466094
add eax, 0x3c
push dword [eax]
lea eax, [ebp - 0x224]
push 0x104
push eax
push edi
push 0x4636d4
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x41fbc1
and word [ebp - 0x1a24], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1a22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x1a24]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 8]
add esp, 0x10
lea edi, [eax + 0x14f0]
lea eax, [ebp - 0x224]
test eax, eax
je 0x41fb8c
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
mov eax, dword [edi]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x1a24]
push 0x4636d4
push eax
push SysReAllocString
call edi
jmp 0x41fbc7
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420676
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420da5
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420750
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00421104
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420a91
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420c42
lea eax, [ebp - 0x14]
push 4
push eax
push 4
lea eax, [ebp - 0xa24]
push str.UIStatus
push eax
push SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 SysReAllocString
call edi
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 0x41fe96
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 0x41feb6
cmp eax, 0x32
jge 0x41fe52
push 0x32
pop eax
mov dword [ebp - 4], eax
mov ecx, 0x190
cmp eax, ecx
jle 0x41fe5e
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 SysReAllocString
call edi
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 0x41feaf
lea eax, [ebp - 4]
push 4
push eax
push 4
push str.ZoomFactor
mov dword [ebp - 4], 0x186a0
push str.SoftwareMicrosoftInternet_ExplorerZoom
push SysReAllocString
call edi
and word [ebp - 0x1224], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultGesture
lea eax, [ebp - 0x1224]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor edi, edi
mov eax, dword [0x43b4ec]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x46358c
push eax
call fcn.00409be5
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 0x41ff41
lea eax, [ebp - 4]
push 4
push eax
push 4
push dword [ebp - 0xc]
lea eax, [ebp - 0x1224]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0xc]
call fcn.00404beb
inc edi
cmp edi, 0xf
jle 0x41fef0
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00421a40
push dword [esi]
mov ecx, dword [ebp - 8]
call fcn.00420417
and word [ebp - 0x5b44], 0
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x5b42]
push dword [esi]
mov esi, str.MSavePath
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x5b44]
push 0x104
push eax
push 0x466094
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x5b44]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x5b44]
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