Function at 0x41777d
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 0x4177da
lea eax, [esi + 0x38]
push str.Shield
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a27c
push dword [eax]
call fcn.00421803
pop ecx
lea ecx, [esp + 0x10]
call fcn.00404c0d
lea eax, [esi + 0x30]
push str.360SESS.ini
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a27c
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 + 0x30]
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0041a27c
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 0x417846
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0041a27c
mov ebx, dword [eax]
lea eax, [esi + 0x38]
push edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041a27c
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 + 0x38]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041a27c
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 + 0x7c], edi
je 0x417887
push dword [esi + 0x28]
push 0x43b628
push str.UpdateExit
push str.Main
call ebx
mov ecx, esi
call fcn.004145fe
push dword [esi + 0x28]
push edi
push str.B69F34DD_F0F9_42DC_9EDD_957187DA688D
push str.IEBhoState
call ebx
push dword [esi + 0x28]
push 0x43b628
push str.ShowAddButton
push 0x4400c8
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, 0x440b38
push edi
push str.LastRunTime
push str.Main
call ebx
push dword [esi + 0x28]
push edi
push 0x44105c
push ebp
call ebx
push dword [esi + 0x28]
push 0x441058
push str.GestureStyle
push ebp
call ebx
push dword [esi + 0x28]
push 0x43b628
push str.MouseGesture
push ebp
call ebx
push dword [esi + 0x28]
push 0x43b628
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 0x43b628
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 0x440fa4
push str.CSaturation
push ebp
call ebx
push dword [esi + 0x28]
push 0x440fa4
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 0x417989
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 + 0x30]
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 0x4179f0
cmp dword [esp + 0x14], 1
je 0x417cf3
cmp dword [esi + 0x40], eax
jne 0x417bae
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 0x444224
mov edi, 0x440064
push str.FAVPATH
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x838], 0
jne 0x417a55
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xa40], 0
jne 0x417aa9
push dword [esi + 0x28]
push 0x43b628
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x417afd
push dword [esi + 0x28]
push 0x43b628
push edi
push ebp
call ebx
push dword [esi + 0x28]
push 0x440b38
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x417b61
push dword [esi + 0x28]
push 0x43b628
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x417ca5
push dword [esi + 0x28]
push 0x43b628
jmp 0x417ca1
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 0x444224
push edi
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x18], 0
jne 0x417bfd
push dword [esi + 0x28]
push 0x440b38
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x220], 0
jne 0x417c51
push dword [esi + 0x28]
push 0x440b38
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 0x444224
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x428], 0
jne 0x417ca5
push dword [esi + 0x28]
push 0x440b38
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 0x417ce5
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 0x417cf3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x417cf3
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