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

Disassembly:
push 0xffffffffffffffff
push 0x4d649b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov al, byte [0x4fbe40]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x60], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x2c], esi
stosb byte es:[edi], al
call dword [sym.imp.user32.dll_GetFocus]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jne 0x40e50f
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 8
push 0x110a
push ecx
call edi
test eax, eax
jne 0x40e4ed
mov ecx, dword [esi + 0x10]
push eax
push 9
push 0x110a
push ecx
call edi
mov edx, dword [esi + 0x10]
push eax
push edx
call fcn.00404b60
add esp, 8
test eax, eax
je 0x40e540
mov edx, dword [eax + 4]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
jmp 0x40e540
cmp eax, dword [esi + 0x24]
jne 0x40e52e
push 0xffffffffffffffff
mov ecx, esi
call fcn.00418060
cmp dword [eax + 0xc], 1
jne 0x40e540
mov eax, dword [eax + 8]
lea ecx, [esp + 0x60]
push eax
push ecx
jmp 0x40e53a
lea edx, [esi + 0x20c]
lea eax, [esp + 0x60]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
mov al, byte [esp + 0x60]
test al, al
je 0x40e7cd
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x40e7cd
push ebx
push ebp
push 0xf
call dword [sym.imp.user32.dll_GetClipboardData]
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x38], ebx
je 0x40e7c5
push ebp
push ebp
push 0xffffffffffffffff
push ebx
call dword [sym.imp.shell32.dll_DragQueryFile]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x3c], edi
je 0x40e7c5
push 0x7f02
push ebp
call dword [sym.imp.user32.dll_LoadCursorA]
push eax
call dword [sym.imp.user32.dll_SetCursor]
push 0x80
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0x4d86f4
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x24], pe_nt_image_headers32
cmp edi, ebp
mov dword [esp + 0x27c], ebp
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], ebp
jle 0x40e6cd
jmp 0x40e5f6
mov ebx, dword [esp + 0x38]
mov dl, byte [0x4fbe40]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x16d]
mov byte [esp + 0x16c], dl
push 0x105
rep stosd dword es:[edi], eax
lea eax, [esp + 0x170]
push eax
push ebp
push ebx
call dword [sym.imp.shell32.dll_DragQueryFile]
lea ecx, [esp + 0x16c]
push ecx
call fcn.00442c90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40e6bc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x40e6a8
mov ecx, dword [esp + 0x24]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004c7e90
mov ebp, eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, ebp
lea ecx, [eax*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
add esp, 8
add eax, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x2c], ebp
jl 0x40e5f2
push 0x4ee61c
mov ebx, 1
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x40e6ff
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp dword [eax], 2
jne 0x40e6f8
xor ebx, ebx
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ecx, esi
call fcn.00419e50
mov ecx, esi
call fcn.00419cf0
lea ecx, [esp + 0x40]
call fcn.00425ea0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x200]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x40]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], ebx
call fcn.00428b20
add esp, 4
mov ecx, esi
push 1
call fcn.00418950
mov ecx, esi
call fcn.00419eb0
mov ecx, esi
call fcn.00419d80
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40e76e
push eax
call dword [sym.imp.user32.dll_SetCursor]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x27c], 0xffffffff
test eax, eax
mov dword [esp + 0x10], 0x4d86f4
je 0x40e7b8
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x40e7b8
cmp esi, eax
jge 0x40e7a4
test esi, esi
jl 0x40e7a4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
jmp 0x40e7a6
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x40e797
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c7e56
add esp, 4
call dword [sym.imp.user32.dll_CloseClipboard]
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x270
ret