Function at 0x41676a
Capabilities:
Check if file exists
Copy file
Delete file
Read .ini file

Disassembly:
sub esp, 0xc38
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x4167c7
lea eax, [esi + 0x1c]
push str.Shield
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418da8
push dword [eax]
call fcn.0041d21e
pop ecx
lea ecx, [esp + 0x10]
call fcn.00404c0d
lea eax, [esi + 0x14]
push str.360SESS.ini
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418da8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
call fcn.00404c0d
mov edi, str.360se.ini
lea ebp, [esi + 0x14]
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00418da8
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
lea ecx, [esp + 0x10]
neg ebx
sbb bl, bl
inc bl
call fcn.00404c0d
test bl, bl
je 0x416833
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00418da8
mov ebx, dword [eax]
lea eax, [esi + 0x1c]
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418da8
mov eax, dword [eax]
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x10]
call fcn.00404c0d
lea ecx, [esp + 0x14]
call fcn.00404c0d
lea eax, [esi + 0x1c]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00418da8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call fcn.00404c0d
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x416874
push dword [esi + 0x10]
push 0x42e628
push str.UpdateExit
push str.Main
call ebx
mov ecx, esi
call fcn.004139de
push dword [esi + 0x10]
push edi
push str.B69F34DD_F0F9_42DC_9EDD_957187DA688D
push str.IEBhoState
call ebx
push dword [esi + 0x10]
push 0x42e628
push str.ShowAddButton
push 0x432be8
call ebx
push dword [esi + 0x10]
mov ebp, str.option
push edi
push str.BrowserMode
push ebp
call ebx
push dword [esi + 0x10]
mov edi, 0x433578
push edi
push str.LastRunTime
push str.Main
call ebx
push dword [esi + 0x10]
push edi
push 0x433aa4
push ebp
call ebx
push dword [esi + 0x10]
push 0x433aa0
push str.GestureStyle
push ebp
call ebx
push dword [esi + 0x10]
push 0x42e628
push str.MouseGesture
push ebp
call ebx
push dword [esi + 0x10]
push 0x42e628
push str.BrowserNoParent
push ebp
call ebx
push dword [esi + 0x10]
push edi
push str.TabGroupColor
push ebp
call ebx
push dword [esi + 0x10]
push 0x42e628
push str.VideoPlay
push ebp
call ebx
push dword [esi + 0x10]
push edi
push str.CustomColor
push ebp
call ebx
push dword [esi + 0x10]
push edi
push str.CHue
push ebp
call ebx
push dword [esi + 0x10]
push 0x4339ec
push str.CSaturation
push ebp
call ebx
push dword [esi + 0x10]
push 0x4339ec
push str.CGamma
push ebp
call ebx
push dword [esi + 0x10]
push 0
push str.IE6Mode
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x416976
push dword [esi + 0x10]
push edi
push str.BrowserNoParent
push ebp
call ebx
push dword [esi + 0x10]
push 0
push str.IsSave
push str.AddUnstall
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [esp + 0x630], 0
mov dword [esp + 0x14], eax
push dword [esi + 0x14]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x636]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sie6_mode
lea eax, [esp + 0x638]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esi + 4]
xor eax, eax
add esp, 0x10
cmp dword [ecx + 8], eax
jne 0x4169dd
cmp dword [esp + 0x14], 1
je 0x416ce0
cmp dword [esi + 0x24], eax
jne 0x416b9b
mov word [esp + 0x838], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83a]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x83c]
push 0x104
push eax
push 0x434ee4
mov edi, 0x4337e0
push str.FAVPATH
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x838], 0
jne 0x416a42
push dword [esi + 0x10]
mov eax, dword [esi + 4]
push dword [eax + 0x2c]
push str.FAVPATH
push edi
call ebx
and word [esp + 0xa40], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa42]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa44]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xa40], 0
jne 0x416a96
push dword [esi + 0x10]
push 0x42e628
push edi
push ebp
call ebx
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.SysTitle
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x416aea
push dword [esi + 0x10]
push 0x42e628
push edi
push ebp
call ebx
push dword [esi + 0x10]
push 0x433578
push str.BrowserNoParent
push ebp
call ebx
and word [esp + 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.MainBarText
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x416b4e
push dword [esi + 0x10]
push 0x42e628
push edi
push ebp
call ebx
and word [esp + 0x18], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.ShowMenuBar
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x416c92
push dword [esi + 0x10]
push 0x42e628
jmp 0x416c8e
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.UseSkin
push 0x434ee4
push edi
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x416bea
push dword [esi + 0x10]
push 0x433578
push edi
push str.Main
call ebx
and word [esp + 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x416c3e
push dword [esi + 0x10]
push 0x433578
push edi
push ebp
call ebx
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.SysTitle
push 0x434ee4
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x416c92
push dword [esi + 0x10]
push 0x433578
push edi
push ebp
call ebx
push dword [esi + 0x10]
push 0
push str.IE6Mode
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x416cd2
push 0
push 0x20
push 2
push 0
push eax
lea eax, [esp + 0x644]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x416ce0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416ce0
lea eax, [esp + 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc38
ret