Function at 0x4102a0
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x278
push ebx
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4105ec
push edi
push esi
push ebp
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
xor esi, esi
cmp ebp, esi
mov dword [esp + 0x38], ebp
je 0x4105e3
push esi
push esi
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x4c], edi
je 0x4105e3
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x80
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0x4aa684
call fcn.004985f0
add esp, 4
cmp edi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], esi
jle 0x410421
mov cl, byte [0x4caf4c]
lea edx, [esp + 0x78]
mov byte [esp + 0x78], cl
push 0x105
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x7d]
push edx
push esi
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea eax, [esp + 0x78]
push eax
call fcn.0043c610
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41040c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4103f8
mov edx, dword [esp + 0x24]
add eax, edx
lea eax, [eax*4 + 4]
push eax
call fcn.004985f0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ebp, eax
add esp, 4
lea ecx, [ecx*4 + 4]
mov edi, ebp
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 + 0x14]
push eax
call fcn.00498600
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add esp, 4
add eax, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x38]
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 + 0x4c]
inc esi
cmp esi, eax
mov dword [esp + 0x30], esi
jl 0x41034b
mov ebx, dword [esp + 0x2c]
push str.Preferred_DropEffect
mov edi, 1
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x410455
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [eax], 2
jne 0x41044e
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, ebx
call fcn.0041a670
mov ecx, ebx
call fcn.0041a530
lea ecx, [esp + 0x50]
call fcn.00423740
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 4]
lea eax, [ebx + 0xa4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
cmp eax, ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
jle 0x4104b3
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x4104b5
xor eax, eax
push eax
lea eax, [esp + 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x180]
push 0x5c
push ecx
call fcn.004989e0
add esp, 8
cmp eax, ebp
je 0x410532
mov byte [eax], 0
mov edx, dword [str._KDC210_]
lea eax, [esp + 0x180]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
je 0x410532
mov ecx, dword [ebx + 0x90]
lea eax, [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x6ec]
lea edx, [ebx + 0x6f4]
cmp eax, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], 0x409790
jne 0x410532
mov ecx, ebx
call fcn.004082e0
lea ecx, [esp + 0x50]
push ecx
call fcn.00425920
mov eax, dword [ebx + 0x6e8]
add esp, 4
cmp eax, ebp
je 0x410550
mov ecx, ebx
call fcn.004083a0
mov esi, dword [0x4cab8c]
mov ecx, ebx
mov dword [0x4cab8c], 1
call fcn.00419610
mov ecx, ebx
mov dword [0x4cab8c], esi
call fcn.0041a6c0
mov ecx, ebx
call fcn.0041a5b0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x41058a
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x44]
push edx
call fcn.00498600
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], 0x4aa684
je 0x4105d6
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebp
jle 0x4105d6
cmp esi, eax
jge 0x4105c2
cmp esi, ebp
jl 0x4105c2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
jmp 0x4105c4
xor eax, eax
push eax
call fcn.00498600
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x4105b5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00498600
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x278
ret