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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
push str.LoginEnrolLoginEnrol.dll
lea eax, [ebp - 8]
lea ebx, [esi + 0x38]
mov dword [ebp - 0xc], esi
push ebx
push eax
call fcn.0041a27c
push str.LoginEnrolLoginEnrol.dll.bak
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041a27c
mov edi, str.FavoritesFavorites.dll
lea eax, [ebp - 4]
push edi
push ebx
push eax
call fcn.0041a27c
push str.FavoritesFavorites.dll.bak
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0041a27c
mov eax, dword [0x43b50c]
push str.LoginEnrolLoginEnrol.dll
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [esi + 0x3c]
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041a27c
push edi
lea eax, [ebp - 0x44]
push dword [ebp - 0x30]
push eax
call fcn.0041a27c
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
push dword [ebp - 0x48]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.004214b4
add esp, 0x14
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str._d._d._d._d
push eax
call fcn.00409818
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x44]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.004214b4
add esp, 0x2c
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str._d._d._d._d
push eax
call fcn.00409818
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x20
test eax, eax
jne 0x416381
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
push dword [ebp - 0x10]
call edi
push dword [ebp - 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x4160bb
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.00421aee
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov dword [ebp - 0x40], eax
call edi
test eax, eax
je 0x4160bb
push 0x1a
mov dword [esi + 0x78], 3
push dword [ebp - 0x40]
push ecx
mov ecx, esp
push str.LoginEnrol.dll
call fcn.00404729
mov ecx, esi
call fcn.0041949a
push dword [ebp - 4]
call edi
test eax, eax
je 0x416103
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00421aee
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp - 0x40], eax
call edi
test eax, eax
je 0x416103
push 0x19
mov dword [esi + 0x78], 3
push dword [ebp - 0x40]
push ecx
mov ecx, esp
push str.Favorites.dll
call fcn.00404729
mov ecx, esi
call fcn.0041949a
push str.LoginEnrol
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041a27c
push dword [eax]
call fcn.004216ea
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00404c0d
mov esi, str.LoginEnrol360Login.dll
lea eax, [ebp - 0x3c]
push esi
push ebx
push eax
call fcn.0041a27c
mov ebx, dword [eax]
push esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
call fcn.0041a27c
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ebx
push eax
call esi
lea ecx, [ebp - 0x40]
call fcn.00404c0d
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
mov eax, dword [ebp - 0xc]
mov ebx, str.LoginEnrol360NetUL.dll
add eax, 0x38
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a27c
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ebx, [eax + 0x3c]
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x30], ebx
call fcn.0041a27c
mov eax, dword [eax]
push 0
push dword [ebp - 0x40]
push eax
call esi
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
lea ecx, [ebp - 0x2c]
call fcn.00404c0d
push str.LoginEnrolLoginEnrol.dll
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041a27c
mov eax, dword [eax]
push 0
push dword [ebp - 8]
push eax
call esi
lea ecx, [ebp - 0x40]
call fcn.00404c0d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push dword [ebp - 8]
mov dword [ebp - 0x40], eax
call edi
test eax, eax
je 0x416201
mov eax, dword [ebp - 0xc]
push 0x1a
push dword [ebp - 0x40]
mov dword [eax + 0x78], 3
push ecx
mov ecx, esp
push str.LoginEnrol.dll
call fcn.00404729
mov ecx, dword [ebp - 0xc]
call fcn.0041949a
mov eax, dword [ebp - 0xc]
push str.Favorites
add eax, 0x38
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041a27c
push dword [eax]
call fcn.004216ea
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00404c0d
push str.FavoritesFavorites.dll
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
push eax
call fcn.0041a27c
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 0x40]
call fcn.00404c0d
call ebx
push dword [ebp - 4]
mov esi, eax
call edi
mov ebx, dword [ebp - 0xc]
test eax, eax
je 0x416277
push 0x19
push esi
push ecx
mov dword [ebx + 0x78], 3
mov ecx, esp
push str.Favorites.dll
call fcn.00404729
mov ecx, ebx
call fcn.0041949a
push dword [ebp - 8]
call edi
test eax, eax
je 0x41634c
push dword [ebp - 4]
call edi
test eax, eax
je 0x41634c
mov eax, dword [0x43b50c]
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], esi
push dword [ebp - 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], esi
call fcn.004214b4
add esp, 0x14
mov edi, str._d._d._d._d
lea eax, [ebp - 0x40]
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push eax
call fcn.00409818
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], esi
push dword [ebp - 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], esi
call fcn.004214b4
add esp, 0x2c
lea eax, [ebp - 0x3c]
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push eax
call fcn.00409818
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x20
test eax, eax
jne 0x41633a
mov dword [ebx + 0xa0], 1
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
lea ecx, [ebp - 0x40]
call fcn.00404c0d
jmp 0x41634e
xor esi, esi
cmp dword [ebx + 0xa0], esi
jne 0x416371
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.00421aee
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.00421aee
add esp, 0x10
jmp 0x416381
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x44]
call fcn.00404c0d
lea ecx, [ebp - 0x48]
call fcn.00404c0d
lea ecx, [ebp - 0x34]
call fcn.00404c0d
lea ecx, [ebp - 0x38]
call fcn.00404c0d
lea ecx, [ebp - 0x10]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0x14]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 4