Function at 0x41e590
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x61c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x64c], esi
mov dword [ebp - 0x644], ebx
call fcn.005d4960
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005d4960
push esi
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.005df175
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.005df175
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.005df099
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.005df099
add esp, 0x40
call fcn.0048c270
test al, al
je 0x41e64a
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0048c0b0
test al, al
je 0x41e664
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bbe0
test al, al
je 0x41e67f
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x61c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e6b6
test dx, dx
je 0x41e6b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e6b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e690
xor eax, eax
jmp 0x41e6bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e8c3
call fcn.0048bb70
test al, al
je 0x41e6e7
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.0048c0b0
test al, al
je 0x41e708
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x648], ebx
push 0
push eax
call fcn.005d4960
add esp, 0xc
lea eax, [ebp - 0x20c]
test ebx, ebx
jne 0x41e74c
push dword [ebp - 0x644]
push 0x60bfbc
push eax
call fcn.0040a810
add esp, 0xc
jmp 0x41e761
push ebx
push dword [ebp - 0x644]
push str._s.bak_d
push eax
call fcn.0040a810
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41e7b5
lea eax, [ebp - 0x640]
mov dword [ebp - 0x620], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x640], xmm0
movups xmmword [ebp - 0x630], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x41e7b5
lea eax, [ebp - 0x20c]
push eax
call esi
call fcn.0048c270
test al, al
je 0x41e7de
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048c0b0
test al, al
je 0x41e7f8
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bbe0
test al, al
je 0x41e813
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov ebx, dword [ebp - 0x644]
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.005df1d9
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
push ebx
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41e8b2
call fcn.0048bb70
test al, al
je 0x41e86f
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048c0b0
test al, al
je 0x41e890
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x648]
cmp ebx, 0xa
jge 0x41e8c3
inc ebx
jmp 0x41e710
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005caa5c
mov esp, ebp
pop ebp
ret