Function at 0x4ecf70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54149c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x583184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x585704]
mov edi, dword [ebp + 8]
test al, 1
jne 0x4ed01f
or eax, 1
mov dword [0x585704], eax
mov dword [ebp - 4], 0
call fcn.0040cf50
test al, al
mov dword [0x5856fc], 0
mov ecx, str.thumbnail_x86
mov dword [0x585700], 7
mov edx, str.thumbnail_x64
cmove edx, ecx
xor eax, eax
mov ecx, edx
mov word [0x5856ec], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ecff0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5856ec
call fcn.00404420
push 0x544f70
call fcn.0050065c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004f8e90
add esp, 4
mov ecx, eax
call fcn.004047a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.004ffca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407100
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404370
push 0x5856ec
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407100
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x4ed0ba
mov ecx, eax
call fcn.004043c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404370
lea eax, [ebp - 0x58]
push eax
call fcn.00407b80
add esp, 4
test al, al
jne 0x4ed0e1
mov byte [ebp - 0xa1], al
jmp 0x4ed243
lea eax, [ebp - 0x40]
push eax
call fcn.004ffca0
mov byte [ebp - 4], 6
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407100
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00404370
push 0x5856ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407100
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4ed155
mov ecx, eax
call fcn.004043c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00404370
lea eax, [ebp - 0x28]
push eax
call fcn.00407b80
add esp, 4
test al, al
je 0x4ed17d
lea eax, [ebp - 0x28]
push eax
call fcn.00407fd0
add esp, 4
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004ea860
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004ea860
add esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, 0x614
cmp dword [ebp - 0x74], 8
xorps xmm0, xmm0
mov word [ebp - 0xb4], ax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc4]
push eax
mov dword [ebp - 0xc4], 0
movlpd qword [ebp - 0xb2], xmm0
mov dword [ebp - 0xaa], 0
mov dword [ebp - 0xc0], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete byte [ebp - 0xa1]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00404370
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.00404370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404370
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00500396
mov esp, ebp
pop ebp
ret 4