Function at 0x4ef510
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d85c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x592174]
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 [0x594914]
mov edi, dword [ebp + 8]
test al, 1
jne 0x4ef5bf
or eax, 1
mov dword [0x594914], eax
mov dword [ebp - 4], 0
call fcn.0041a5a0
test al, al
mov dword [0x59490c], 0
mov ecx, str.thumbnail_x86
mov dword [0x594910], 7
mov edx, str.thumbnail_x64
cmove edx, ecx
xor eax, eax
mov ecx, edx
mov word [0x5948fc], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ef590
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5948fc
call fcn.00418820
push 0x5528f0
call fcn.0050b32d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004fb2e0
add esp, 4
mov ecx, eax
call fcn.0041d380
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.0052cad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041e570
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004184c0
push 0x5948fc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041e570
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x4ef65a
mov ecx, eax
call fcn.004185b0
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.004184c0
lea eax, [ebp - 0x58]
push eax
call fcn.0041edb0
add esp, 4
test al, al
jne 0x4ef681
mov byte [ebp - 0xa1], al
jmp 0x4ef7e3
lea eax, [ebp - 0x40]
push eax
call fcn.0052cad0
mov byte [ebp - 4], 6
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e570
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.004184c0
push 0x5948fc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041e570
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4ef6f5
mov ecx, eax
call fcn.004185b0
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.004184c0
lea eax, [ebp - 0x28]
push eax
call fcn.0041edb0
add esp, 4
test al, al
je 0x4ef71d
lea eax, [ebp - 0x28]
push eax
call fcn.0041f1e0
add esp, 4
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004ece00
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004ece00
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.004184c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.004184c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004184c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004184c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004184c0
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.0050b067
mov esp, ebp
pop ebp
ret 4