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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x68
mov eax, dword [0x53e7fc]
mov dword [ebp - 0x24], eax
mov eax, 0
mov dword [ebp - 0x10], 0
mov eax, 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 1
mov eax, 3
cmp eax, 0
jle 0x494781
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x20]
xor al, 1
cmp eax, 0
je 0x494749
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [0x5403cc]
call dword [sym.imp.USER32.DLL_OpenClipboard]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0
je 0x494767
jmp 0x494781
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.DLL_PeekMessageW]
mov eax, dword [ebp - 0x64]
sub eax, 1
jg 0x494732
mov eax, dword [ebp - 0x20]
xor al, 1
cmp eax, 0
je 0x494797
mov eax, dword [0x53e828]
jmp 0x494d64
mov eax, 1
cmp eax, 0
jle 0x494d2b
mov dword [ebp - 0x68], eax
push 0xd
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x49485b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494856
call fcn.00487578
mov dword [ebp - 0x2c], eax
mov eax, 2
xchg edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xc], edx
xor eax, eax
inc eax
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x10]
call fcn.0042f035
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, 7
xchg edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x494d2b
push 0xf
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494a50
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494a4b
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
call fcn.0043e590
mov dword [ebp - 0x28], eax
push 1
push 0x40
call fcn.00487578
push eax
call fcn.004442d2
mov dword [ebp - 0x2c], eax
mov eax, 0
mov dword [ebp - 0x3c], 0
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
cmp eax, 0
jle 0x494a04
mov dword [ebp - 0x6c], eax
push 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x49497a
mov eax, dword [ebp - 0x40]
cmp eax, 0x104
jle 0x49492d
mov eax, dword [ebp - 0x40]
jmp 0x494932
mov eax, 0x104
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
shl eax, 1
push eax
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.DLL_realloc]
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, 0
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x494974
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, 0
mov dword [ebp - 0x14], 0
jmp 0x494a04
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x14]
call fcn.004441d1
push dword [0x53880c]
call fcn.004864c0
push dword [0x548504]
push dword [0x543390]
call fcn.00486374
push dword [ebp - 0x2c]
call fcn.004875e6
call fcn.004a8aff
call fcn.0048692a
call fcn.0048648b
push dword [0x53ee24]
push dword [ebp - 0x28]
call fcn.0043dafc
call fcn.004868f3
push dword [ebp - 0x2c]
call fcn.00442750
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
sub eax, 1
jg 0x4948fe
push 1
call fcn.00487604
mov eax, 0
mov edx, dword [ebp - 0x14]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494a3c
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x494d2b
mov dword [ebp - 0x34], 0x54bac6
push 0x54bad4
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
push str.JFIF
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], edx
push 0x54badd
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, 0
je 0x494ac3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
cmp eax, 0
je 0x494ac3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x494ac3
jmp 0x494ac7
xor eax, eax
jmp 0x494aca
xor eax, eax
inc eax
mov eax, 4
cmp eax, 0
jle 0x494b0a
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494af7
jmp 0x494b0a
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
sub eax, 1
jg 0x494ad6
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494b62
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494b5d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalSize]
push eax
push dword [ebp - 0x10]
call fcn.00463fe9
push eax
call fcn.004700ef
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x494d2b
push 0x11
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494d1f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494d1a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov eax, 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
sar eax, 0x10
cmp eax, 0x20
jne 0x494c1b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
cmp eax, 3
jne 0x494c1b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x34]
cmp eax, 0xff000000
jne 0x494c1b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x28]
cmp eax, 0xff0000
jne 0x494c1b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x2c]
cmp eax, 0xff00
jne 0x494c1b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x30]
cmp eax, 0xff
jne 0x494c1b
jmp 0x494c1f
xor eax, eax
jmp 0x494c22
xor eax, eax
inc eax
cmp eax, 0
je 0x494cb3
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
cmp eax, 0
jge 0x494c5a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, 0
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x44]
mov dword [eax + 8], edx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x30]
call fcn.004367d3
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x494c82
push dword [ebp - 0x3c]
call fcn.0043688a
cmp eax, 0
je 0x494c82
jmp 0x494c86
xor eax, eax
jmp 0x494c89
xor eax, eax
inc eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call fcn.004368a3
push eax
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
push eax
call fcn.004368b1
jmp 0x494ce0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push 2
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
push 2
push dword [ebp - 0xc]
call fcn.00437d06
mov dword [ebp - 0x24], eax
mov eax, 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494d1a
mov eax, 0
mov edx, dword [ebp - 0x30]
cmp eax, edx
jne 0x494d00
mov eax, dword [0x53e7fc]
jmp 0x494d64
push dword [ebp - 0x30]
call fcn.00487578
push eax
call fcn.0046f700
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x494d2b
mov eax, dword [ebp - 0x68]
sub eax, 1
jg 0x4947a7
call dword [sym.imp.USER32.DLL_CloseClipboard]
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x494d49
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x494d49
jmp 0x494d4d
xor eax, eax
jmp 0x494d50
xor eax, eax
inc eax
cmp eax, 0
je 0x494d61
mov eax, dword [0x53e828]
jmp 0x494d64
mov eax, dword [ebp - 0x24]
leave
ret