Function at 0x40ef39
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
push str.Skin
lea eax, [ebp - 0x10]
lea ebx, [edi + 0x18]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403e0f
mov esi, str.SkinIE6
lea eax, [ebp - 0x10]
push esi
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403e0f
push esi
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push esi
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00410e94
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call fcn.00414eca
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov esi, str.SkinIE6ico
lea eax, [ebp - 0x10]
push esi
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403e0f
push esi
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov ebx, dword [eax]
lea eax, [edi + 0x1c]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
push eax
call fcn.00414eca
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea esi, [edi + 0x10]
push str.data
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
mov ebx, eax
lea ecx, [ebp - 0x10]
neg ebx
sbb bl, bl
inc bl
call fcn.00403e0f
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
je 0x40f161
push str.data
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
lea eax, [edi + 0x18]
push str.data_bookmarks.dat
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00410e94
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f0b7
push str.data_bookmarks.dat
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 0x18]
push str.datahistory.dat
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00410e94
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f100
push str.datahistory.dat
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 0x18]
push str.datauser.dat
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f149
push str.datauser.dat
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 8]
call ebx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 0x10]
call fcn.00403e0f
push str.data_bak
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
push str.data360sefav.db
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f1cf
push str.data_bookmarks.dat
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb al, al
lea ecx, [ebp - 0x1c]
inc al
mov byte [ebp - 1], al
call fcn.00403e0f
cmp byte [ebp - 1], 0
je 0x40f1cf
mov byte [ebp - 1], 1
jmp 0x40f1d3
and byte [ebp - 1], 0
lea ecx, [ebp - 0x10]
call fcn.00403e0f
cmp byte [ebp - 1], 0
je 0x40f221
push str.data360sefav.db
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.360sefav.db
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x1c]
push eax
call ebx
lea ecx, [ebp - 0x10]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x424504]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push dword [esi]
push str._sdata_bak_bookmarks__d
push eax
call fcn.00403a35
add esp, 0x24
lea eax, [ebp - 0x1c]
push str.data_bookmarks.dat
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x18]
push eax
call ebx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
mov ebx, str.dataico
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
call fcn.00410e94
push dword [ebp - 0x14]
call fcn.00414c27
pop ecx
lea eax, [edi + 0x1c]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410e94
push dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call fcn.00414eca
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
cmp eax, 7
jl 0x40f2d8
cmp eax, 9
jg 0x40f2d8
mov ecx, edi
call fcn.0040d9a8
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
cmp eax, 2
jl 0x40f2ef
cmp eax, 7
jge 0x40f2ef
mov ecx, edi
call fcn.0040db0c
lea ecx, [ebp - 0x14]
call fcn.00403e0f
lea ecx, [ebp - 0x18]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret 4