Function at 0x10001260
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057691
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1007200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10001e10
mov ecx, eax
test ecx, ecx
jne 0x100012a3
push 0x80004005
call fcn.10001bc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 0
call fcn.10001e10
mov ecx, eax
test ecx, ecx
jne 0x100012cd
push 0x80004005
call fcn.10001bc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100014d4
push 0x32
push str._r_nClipboard_r_n
lea ecx, [ebp - 0x220]
call fcn.10001aa0
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
je 0x10001347
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1000147f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000147f
push eax
lea eax, [ebp - 0x21c]
push str._s_r_n
push eax
call fcn.10001600
add esp, 0xc
jmp 0x100013be
push 1
call esi
test eax, eax
je 0x100013df
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1000147f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000147f
mov edx, eax
lea ecx, [ebp - 0x224]
call fcn.10003ac0
mov edi, eax
mov byte [ebp - 4], 2
mov ecx, dword [edi]
cmp dword [ecx - 4], 1
jle 0x10001399
push dword [ecx - 0xc]
mov ecx, edi
call fcn.10001860
push dword [edi]
lea eax, [ebp - 0x21c]
push str._s_r_n
push eax
call fcn.10001600
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.10001ba0
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.10001530
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1000147f
push 0xf
call esi
test eax, eax
je 0x1000147f
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1000147f
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0
push 0
push 0xffffffffffffffff
push edi
call ebx
xor esi, esi
mov dword [ebp - 0x224], eax
test eax, eax
jle 0x1000147f
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10020410
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
push edi
call ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push str._s_r_n
push eax
call fcn.10001600
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.10001530
inc esi
cmp esi, dword [ebp - 0x224]
jl 0x10001420
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x2e
push str.Clipboard
lea ecx, [ebp - 0x21c]
call fcn.10001aa0
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
push dword [esi - 0xc]
push esi
call fcn.10001530
push ecx
mov ecx, esp
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x224], ecx
call fcn.10001780
mov ecx, 4
call fcn.10004060
mov edi, dword [ebp - 0x220]
add esp, 4
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100014f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x1000150e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007975
mov esp, ebp
pop ebp
ret