Function at 0x40a348
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov eax, 0x4bae98
call fcn.004aad94
mov word [edi + 0x10], 0x14
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [edi + 0x1c]
mov eax, dword [0x4d72e4]
mov eax, dword [eax]
call fcn.0043fe14
lea eax, [ebp - 0x10]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [edi + 0x1c]
call fcn.00473cdc
lea eax, [ebp - 0x14]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [edi + 0x1c]
call fcn.004774bc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b4f38
mov word [edi + 0x10], 8
mov word [edi + 0x10], 0x20
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
inc dword [edi + 0x1c]
mov eax, dword [ebp - 4]
call fcn.00473d6c
mov word [edi + 0x10], 8
mov word [edi + 0x10], 0x2c
xor ecx, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
inc dword [edi + 0x1c]
call fcn.004098a0
pop ecx
mov edx, 0x4ba8fc
mov word [edi + 0x10], 8
mov word [edi + 0x10], 0x38
lea eax, [ebp - 0x18]
call fcn.004b4dd8
inc dword [edi + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
inc dword [edi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.004b4f90
lea eax, [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x20]
inc dword [edi + 0x1c]
lea edx, [ebp - 8]
call fcn.004b4f90
lea eax, [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.004b501c
push eax
dec dword [edi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b4f38
pop eax
test al, al
je 0x40a4cd
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 0xc]
dec dword [edi + 0x1c]
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b4f38
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x40a610
cmp dword [ebp - 4], 0
je 0x40a4db
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 4]
jmp 0x40a4dd
xor eax, eax
add eax, 2
push eax
call fcn.004a8f14
pop ecx
mov ebx, eax
mov word [edi + 0x10], 8
cmp dword [ebp - 0xc], 0
je 0x40a4fd
mov eax, dword [ebp - 0xc]
mov edx, dword [eax - 4]
jmp 0x40a4ff
xor edx, edx
add edx, 2
push edx
call fcn.004a8f14
pop ecx
mov esi, eax
cmp dword [ebp - 4], 0
je 0x40a516
mov eax, dword [ebp - 4]
jmp 0x40a51b
mov eax, 0x4ba8fe
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
je 0x40a54b
mov eax, dword [ebp - 0xc]
jmp 0x40a550
mov eax, 0x4ba8ff
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 4], 0
pop edi
pop esi
je 0x40a581
mov eax, dword [ebp - 4]
mov edx, dword [eax - 4]
jmp 0x40a583
xor edx, edx
mov byte [ebx + edx + 1], 0
cmp dword [ebp - 0xc], 0
je 0x40a596
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 4]
jmp 0x40a598
xor ecx, ecx
mov byte [esi + ecx + 1], 0
xor eax, eax
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], esi
mov word [ebp - 0x54], 0x14
push edx
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
mov byte [ebp - 0x45], 1
push ebx
call fcn.004a8e60
pop ecx
push esi
call fcn.004a8e60
pop ecx
mov al, byte [ebp - 0x45]
push eax
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b4f38
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b4f38
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret