Function at 0x4176c7
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 0x417724
lea eax, [esi + 0x34]
push str.Shield
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a0ea
push dword [eax]
call fcn.0042161f
pop ecx
lea ecx, [esp + 0x10]
call fcn.00404c0d
lea eax, [esi + 0x2c]
push str.360SESS.ini
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a0ea
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 + 0x2c]
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0041a0ea
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 0x417790
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0041a0ea
mov ebx, dword [eax]
lea eax, [esi + 0x34]
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a0ea
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 + 0x34]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041a0ea
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 + 0x78], edi
je 0x4177d1
push dword [esi + 0x28]
push 0x43a628
push str.UpdateExit
push str.Main
call ebx
mov ecx, esi
call fcn.0041457c
push dword [esi + 0x28]
push edi
push str.B69F34DD_F0F9_42DC_9EDD_957187DA688D
push str.IEBhoState
call ebx
push dword [esi + 0x28]
push 0x43a628
push str.ShowAddButton
push 0x43f01c
call ebx
push dword [esi + 0x28]
mov ebp, str.option
push edi
push str.BrowserMode
push ebp
call ebx
push dword [esi + 0x28]
mov edi, 0x43fa88
push edi
push str.LastRunTime
push str.Main
call ebx
push dword [esi + 0x28]
push edi
push 0x43ffac
push ebp
call ebx
push dword [esi + 0x28]
push 0x43ffa8
push str.GestureStyle
push ebp
call ebx
push dword [esi + 0x28]
push 0x43a628
push str.MouseGesture
push ebp
call ebx
push dword [esi + 0x28]
push 0x43a628
push str.BrowserNoParent
push ebp
call ebx
push dword [esi + 0x28]
push edi
push str.TabGroupColor
push ebp
call ebx
push dword [esi + 0x28]
push 0x43a628
push str.VideoPlay
push ebp
call ebx
push dword [esi + 0x28]
push edi
push str.CustomColor
push ebp
call ebx
push dword [esi + 0x28]
push edi
push str.CHue
push ebp
call ebx
push dword [esi + 0x28]
push 0x43fef4
push str.CSaturation
push ebp
call ebx
push dword [esi + 0x28]
push 0x43fef4
push str.CGamma
push ebp
call ebx
push dword [esi + 0x28]
push 0
push str.IE6Mode
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4178d3
push dword [esi + 0x28]
push edi
push str.BrowserNoParent
push ebp
call ebx
push dword [esi + 0x28]
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 + 0x2c]
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 0x41793a
cmp dword [esp + 0x14], 1
je 0x417c3d
cmp dword [esi + 0x3c], eax
jne 0x417af8
mov word [esp + 0x838], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83a]
push dword [esi + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x83c]
push 0x104
push eax
push 0x443154
mov edi, 0x43efb8
push str.FAVPATH
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x838], 0
jne 0x41799f
push dword [esi + 0x28]
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 + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa44]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xa40], 0
jne 0x4179f3
push dword [esi + 0x28]
push 0x43a628
push edi
push ebp
call ebx
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.SysTitle
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x417a47
push dword [esi + 0x28]
push 0x43a628
push edi
push ebp
call ebx
push dword [esi + 0x28]
push 0x43fa88
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 + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.MainBarText
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x417aab
push dword [esi + 0x28]
push 0x43a628
push edi
push ebp
call ebx
and word [esp + 0x18], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.ShowMenuBar
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x417bef
push dword [esi + 0x28]
push 0x43a628
jmp 0x417beb
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.UseSkin
push 0x443154
push edi
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x417b47
push dword [esi + 0x28]
push 0x43fa88
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 + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x417b9b
push dword [esi + 0x28]
push 0x43fa88
push edi
push ebp
call ebx
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.SysTitle
push 0x443154
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x417bef
push dword [esi + 0x28]
push 0x43fa88
push edi
push ebp
call ebx
push dword [esi + 0x28]
push 0
push str.IE6Mode
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x417c2f
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 0x417c3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x417c3d
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