Function at 0x415eaa
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 + 0x34]
mov dword [ebp - 0xc], esi
push ebx
push eax
call fcn.0041a0ea
push str.LoginEnrolLoginEnrol.dll.bak
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041a0ea
mov edi, str.FavoritesFavorites.dll
lea eax, [ebp - 4]
push edi
push ebx
push eax
call fcn.0041a0ea
push str.FavoritesFavorites.dll.bak
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0041a0ea
mov eax, dword [0x43a50c]
push str.LoginEnrolLoginEnrol.dll
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041a0ea
push edi
lea eax, [ebp - 0x44]
push dword [ebp - 0x30]
push eax
call fcn.0041a0ea
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.004212d0
add esp, 0x14
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x43d760
push eax
call fcn.00409921
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.004212d0
add esp, 0x2c
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x43d760
push eax
call fcn.00409921
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x20
test eax, eax
jne 0x4162e4
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 0x41601e
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.0042190a
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 0x41601e
push 0x1a
mov dword [esi + 0x74], 3
push dword [ebp - 0x40]
push ecx
mov ecx, esp
push str.LoginEnrol.dll
call fcn.00404729
mov ecx, esi
call fcn.004193cd
push dword [ebp - 4]
call edi
test eax, eax
je 0x416066
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0042190a
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 0x416066
push 0x19
mov dword [esi + 0x74], 3
push dword [ebp - 0x40]
push ecx
mov ecx, esp
push str.Favorites.dll
call fcn.00404729
mov ecx, esi
call fcn.004193cd
push str.LoginEnrol
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041a0ea
push dword [eax]
call fcn.00421506
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.0041a0ea
mov ebx, dword [eax]
push esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
call fcn.0041a0ea
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, 0x34
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a0ea
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ebx, [eax + 0x38]
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x30], ebx
call fcn.0041a0ea
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.0041a0ea
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 0x416164
mov eax, dword [ebp - 0xc]
push 0x1a
push dword [ebp - 0x40]
mov dword [eax + 0x74], 3
push ecx
mov ecx, esp
push str.LoginEnrol.dll
call fcn.00404729
mov ecx, dword [ebp - 0xc]
call fcn.004193cd
mov eax, dword [ebp - 0xc]
push str.Favorites
add eax, 0x34
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041a0ea
push dword [eax]
call fcn.00421506
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.0041a0ea
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 0x4161da
push 0x19
push esi
push ecx
mov dword [ebx + 0x74], 3
mov ecx, esp
push str.Favorites.dll
call fcn.00404729
mov ecx, ebx
call fcn.004193cd
push dword [ebp - 8]
call edi
test eax, eax
je 0x4162af
push dword [ebp - 4]
call edi
test eax, eax
je 0x4162af
mov eax, dword [0x43a50c]
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.004212d0
add esp, 0x14
mov edi, 0x43d760
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.00409921
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.004212d0
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.00409921
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x20
test eax, eax
jne 0x41629d
mov dword [ebx + 0x9c], 1
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
lea ecx, [ebp - 0x40]
call fcn.00404c0d
jmp 0x4162b1
xor esi, esi
cmp dword [ebx + 0x9c], esi
jne 0x4162d4
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.0042190a
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.0042190a
add esp, 0x10
jmp 0x4162e4
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