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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ce28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x6eed24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x481e17
mov eax, dword [edx]
push edx
call dword [eax + 0x28]
mov eax, dword [ebp + 8]
test eax, eax
je 0x481e2f
cmp dword [ebp + 0x10], 3
je 0x481e48
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x481e2f
cmp eax, edi
jne 0x481e4a
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
push eax
mov ecx, ebx
call fcn.0048d940
mov esi, eax
test esi, esi
js 0x482019
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x481eaf
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
push edi
call fcn.0048d940
mov esi, eax
test esi, esi
js 0x481ff0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00471b00
add esp, 8
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0xffffffffffffffff
push eax
call fcn.00403940
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00471b00
add esp, 8
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0xffffffffffffffff
push eax
call fcn.00403940
mov edi, dword [ebp - 0x3c]
mov eax, 0x649aa0
mov byte [ebp - 4], 4
mov dword [ebp + 0x14], 0
test edi, edi
je 0x481f45
mov eax, edi
lea ecx, [ebp + 0x14]
push ecx
push eax
call fcn.00472310
mov esi, dword [ebp + 0x10]
add esp, 8
mov ebx, dword [ebp - 0x30]
cmp esi, 3
jne 0x482046
cmp dword [ebp + 0x14], 0
jne 0x4820ae
mov eax, 0x649aa0
test edi, edi
je 0x481f76
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482122
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
js 0x481fa5
je 0x481fa0
movzx esi, si
or esi, 0x83ff0000
test esi, esi
js 0x481fa5
mov esi, 0x80004005
mov byte [ebp - 4], 5
test ebx, ebx
je 0x481fb6
push ebx
call fcn.00446420
add esp, 4
mov byte [ebp - 4], 6
test edi, edi
je 0x481fc7
push edi
call fcn.00446420
add esp, 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test eax, eax
je 0x481fdb
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
test eax, eax
je 0x482004
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], 9
test eax, eax
je 0x482030
push eax
call fcn.00446420
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp esi, 2
jne 0x482076
cmp dword [ebp + 0x14], 0
jne 0x4820ae
mov eax, 0x649aa0
test ebx, ebx
je 0x48205c
mov eax, ebx
mov ecx, 0x649aa0
test edi, edi
je 0x482067
mov ecx, edi
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x481f7d
cmp esi, 1
je 0x482080
cmp esi, 4
jne 0x4820ae
cmp dword [ebp + 0x14], 0
jne 0x4820ae
mov ebx, dword [ebp - 0x30]
mov eax, 0x649aa0
test ebx, ebx
je 0x482094
mov eax, ebx
mov ecx, 0x649aa0
test edi, edi
je 0x48209f
mov ecx, edi
push 9
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x481f7d
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040a5a0
push 1
push 0
lea ecx, [ebp - 0x30]
call fcn.0040a5a0
mov edi, dword [ebp - 0x3c]
mov eax, 0x649aa0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x56], 0
mov dword [ebp - 0x52], 0
mov dword [ebp - 0x4e], 0
test edi, edi
je 0x4820f0
mov eax, edi
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, 0x649aa0
test ebx, ebx
je 0x482101
mov eax, ebx
mov dword [ebp - 0x5c], eax
mov eax, 0x614
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x481fa0
xor esi, esi
jmp 0x481fa5