Function at 0x40ba2c
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, 0x4bd700
call fcn.004ad4bc
mov word [edi + 0x10], 0x14
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [edi + 0x1c]
mov eax, dword [0x4da0ec]
mov eax, dword [eax]
call fcn.0044691c
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.0047a7e4
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.0047dfc4
dec dword [edi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b7660
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.0047a874
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.0040afa0
pop ecx
mov edx, 0x4bd164
mov word [edi + 0x10], 8
mov word [edi + 0x10], 0x38
lea eax, [ebp - 0x18]
call fcn.004b7500
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.004b76b8
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.004b76b8
lea eax, [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.004b7744
push eax
dec dword [edi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b7660
pop eax
test al, al
je 0x40bbb1
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 0xc]
dec dword [edi + 0x1c]
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b7660
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x40bcf4
cmp dword [ebp - 4], 0
je 0x40bbbf
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 4]
jmp 0x40bbc1
xor eax, eax
add eax, 2
push eax
call fcn.004ab63c
pop ecx
mov ebx, eax
mov word [edi + 0x10], 8
cmp dword [ebp - 0xc], 0
je 0x40bbe1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax - 4]
jmp 0x40bbe3
xor edx, edx
add edx, 2
push edx
call fcn.004ab63c
pop ecx
mov esi, eax
cmp dword [ebp - 4], 0
je 0x40bbfa
mov eax, dword [ebp - 4]
jmp 0x40bbff
mov eax, 0x4bd166
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 0x40bc2f
mov eax, dword [ebp - 0xc]
jmp 0x40bc34
mov eax, 0x4bd167
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 0x40bc65
mov eax, dword [ebp - 4]
mov edx, dword [eax - 4]
jmp 0x40bc67
xor edx, edx
mov byte [ebx + edx + 1], 0
cmp dword [ebp - 0xc], 0
je 0x40bc7a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 4]
jmp 0x40bc7c
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.004ab588
pop ecx
push esi
call fcn.004ab588
pop ecx
mov al, byte [ebp - 0x45]
push eax
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b7660
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b7660
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret