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

Disassembly:
mov eax, 0x1a7c
call fcn.0041f330
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x4107d6
lea eax, [esi + 0x18]
push str.Shield
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00411c85
push dword [eax]
call fcn.00415b4e
pop ecx
lea ecx, [esp + 0x10]
call fcn.00403e55
lea eax, [esi + 0x10]
push str.360SESS.ini
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00411c85
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
call fcn.00403e55
mov edi, str.360se.ini
lea ebp, [esi + 0x10]
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00411c85
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.00403e55
test bl, bl
je 0x410845
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00411c85
mov ebp, dword [eax]
lea eax, [esi + 0x18]
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00411c85
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.00403e55
lea ecx, [esp + 0x14]
call fcn.00403e55
jmp 0x410847
xor ebx, ebx
lea eax, [esi + 0x18]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00411c85
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call fcn.00403e55
cmp dword [esi + 0x54], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x410886
push dword [esi + 0xc]
push 0x428ec8
push str.UpdateExit
push str.Main
call ebp
mov ecx, esi
call fcn.0040de10
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 0x42c4b4
push 0x42a104
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xa40], bx
jne 0x4108e5
push dword [esi + 0xc]
push str.54006F006F006C00620061007200450078000000F8A5E9F6010400009ED0182402040000B34BD1C2030400003A64C7D704040000F164B54900040000F4
push 0x42a104
push edi
call ebp
push dword [esi + 0xc]
push ebx
push 0x42a004
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 0x428ec8
push str.ShowAddButton
push 0x429f78
call ebp
push dword [esi + 0xc]
push ebx
mov ebx, str.option
push str.BrowserMode
push ebx
call ebp
push dword [esi + 0xc]
mov edi, 0x428e70
push edi
push str.LastRunTime
push str.Main
call ebp
push dword [esi + 0xc]
push edi
push 0x429f30
push ebx
call ebp
push dword [esi + 0xc]
push 0x429f2c
push str.GestureStyle
push ebx
call ebp
push dword [esi + 0xc]
push 0x428ec8
push str.MouseGesture
push ebx
call ebp
push dword [esi + 0xc]
push 0x428ec8
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 0x428ec8
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 0x429e98
push str.CSaturation
push ebx
call ebp
push dword [esi + 0xc]
push 0x429e98
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 0x4109ec
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 0x410a13
cmp eax, 1
je 0x410cdc
cmp dword [esi + 0x20], edi
jne 0x410be5
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 0x42c4b4
mov edi, 0x429cb0
push str.FAVPATH
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x838], 0
jne 0x410a8c
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 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x630], 0
jne 0x410ae0
push dword [esi + 0xc]
push 0x428ec8
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, 0x428e74
push 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x410b34
push dword [esi + 0xc]
push 0x428ec8
push edi
push ebx
call ebp
push dword [esi + 0xc]
push 0x428e70
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 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x410b98
push dword [esi + 0xc]
push 0x428ec8
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 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x410cdc
push dword [esi + 0xc]
push 0x428ec8
jmp 0x410cd8
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 0x42c4b4
push edi
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x410c34
push dword [esi + 0xc]
push 0x428e70
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 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x410c88
push dword [esi + 0xc]
push 0x428e70
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, 0x428e74
push 0x42c4b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x410cdc
push dword [esi + 0xc]
push 0x428e70
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a7c
ret