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

Disassembly:
mov eax, 0x1a7c
call fcn.0041e510
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x40fd0b
lea eax, [esi + 0x18]
push str.Shield
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414d40
pop ecx
lea ecx, [esp + 0x10]
call fcn.00403e0f
lea eax, [esi + 0x10]
push str.360SESS.ini
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
call fcn.00403e0f
mov edi, str.360se.ini
lea ebp, [esi + 0x10]
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00410e94
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.00403e0f
test bl, bl
je 0x40fd7a
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00410e94
mov ebp, dword [eax]
lea eax, [esi + 0x18]
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410e94
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x10]
call fcn.00403e0f
lea ecx, [esp + 0x14]
call fcn.00403e0f
jmp 0x40fd7c
xor ebx, ebx
lea eax, [esi + 0x18]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call fcn.00403e0f
cmp dword [esi + 0x54], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x40fdbb
push dword [esi + 0xc]
push 0x4284a8
push str.UpdateExit
push str.Main
call ebp
mov ecx, esi
call fcn.0040d702
push dword [esi + 0xc]
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0xa46]
mov word [esp + 0xa44], bx
push 0x824
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa48]
mov edi, str.ToolBar
push eax
push 0x42b2ec
push 0x428fd8
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xa40], bx
jne 0x40fe1a
push dword [esi + 0xc]
push str.54006F006F006C00620061007200450078000000F8A5E9F6010400009ED0182402040000B34BD1C2030400003A64C7D704040000F164B54900040000F4
push 0x428fd8
push edi
call ebp
push dword [esi + 0xc]
push ebx
push 0x428ed8
push edi
call ebp
push dword [esi + 0xc]
push ebx
push str.B69F34DD_F0F9_42DC_9EDD_957187DA688D
push str.IEBhoState
call ebp
push dword [esi + 0xc]
push 0x4284a8
push str.ShowAddButton
push 0x428e4c
call ebp
push dword [esi + 0xc]
push ebx
mov ebx, str.option
push 0x428e34
push ebx
call ebp
push dword [esi + 0xc]
mov edi, 0x428e30
push edi
push str.LastRunTime
push str.Main
call ebp
push dword [esi + 0xc]
push edi
push 0x428e00
push ebx
call ebp
push dword [esi + 0xc]
push 0x428dfc
push str.GestureStyle
push ebx
call ebp
push dword [esi + 0xc]
push 0x4284a8
push str.MouseGesture
push ebx
call ebp
push dword [esi + 0xc]
push 0x4284a8
push str.BrowserNoParent
push ebx
call ebp
push dword [esi + 0xc]
push edi
push str.TabGroupColor
push ebx
call ebp
push dword [esi + 0xc]
push 0x4284a8
push str.VideoPlay
push ebx
call ebp
push dword [esi + 0xc]
push edi
push str.CustomColor
push ebx
call ebp
push dword [esi + 0xc]
push edi
push str.CHue
push ebx
call ebp
push dword [esi + 0xc]
push 0x428d48
push str.CSaturation
push ebx
call ebp
push dword [esi + 0xc]
push 0x428d48
push str.CGamma
push ebx
call ebp
push dword [esi + 0xc]
push 0
push str.IE6Mode
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40ff21
push dword [esi + 0xc]
push edi
push str.BrowserNoParent
push ebx
call ebp
push dword [esi + 0xc]
xor edi, edi
push edi
push str.IsSave
push str.AddUnstall
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 4]
cmp dword [ecx + 8], edi
jne 0x40ff48
cmp eax, 1
je 0x410211
cmp dword [esi + 0x20], edi
jne 0x41011a
push dword [esi + 0xc]
push str.01000200030004040504060407041004080409040E040F040A040B040C040D04000CC8
push str.1002
push str.ToolBar
call ebp
mov word [esp + 0x838], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83a]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x83c]
push 0x104
push eax
push 0x42b2ec
mov edi, 0x428a90
push str.FAVPATH
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x838], 0
jne 0x40ffc1
push dword [esi + 0xc]
mov eax, dword [esi + 4]
push dword [eax + 0x2c]
push str.FAVPATH
push edi
call ebp
and word [esp + 0x630], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x632]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x634]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x630], 0
jne 0x410015
push dword [esi + 0xc]
push 0x4284a8
push edi
push ebx
call ebp
and word [esp + 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.SysTitle
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x410069
push dword [esi + 0xc]
push 0x4284a8
push edi
push ebx
call ebp
push dword [esi + 0xc]
push 0x428e30
push str.BrowserNoParent
push ebx
call ebp
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.MainBarText
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x4100cd
push dword [esi + 0xc]
push 0x4284a8
push edi
push ebx
call ebp
and word [esp + 0x18], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.ShowMenuBar
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x410211
push dword [esi + 0xc]
push 0x4284a8
jmp 0x41020d
mov word [esp + 0x18], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov edi, str.UseSkin
push 0x42b2ec
push edi
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x410169
push dword [esi + 0xc]
push 0x428e30
push edi
push str.Main
call ebp
and word [esp + 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push 0x104
push eax
mov edi, str.IE6Mode
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x4101bd
push dword [esi + 0xc]
push 0x428e30
push edi
push ebx
call ebp
and word [esp + 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x104
push eax
mov edi, str.SysTitle
push 0x42b2ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x410211
push dword [esi + 0xc]
push 0x428e30
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a7c
ret