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

Disassembly:
sub esp, 0x37c
mov al, byte [0x4eb858]
push ebp
push esi
mov ebp, ecx
push edi
mov byte [esp + 0x74], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x75]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x413df7
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 8
push 0x110a
push ecx
call esi
test eax, eax
jne 0x413dd5
mov ecx, dword [ebp + 0x10]
push eax
push 9
push 0x110a
push ecx
call esi
mov edx, dword [ebp + 0x10]
push eax
push edx
call fcn.00404c10
add esp, 8
test eax, eax
je 0x413e63
mov edx, dword [eax + 4]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x413e63
mov ecx, dword [ebp + 0x24]
cmp eax, ecx
jne 0x413e51
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call esi
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 4
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x64], 0
call esi
mov edx, dword [esp + 0x6c]
neg eax
sbb eax, eax
and eax, edx
cmp dword [eax + 0xc], 1
jne 0x413e63
mov edx, dword [eax + 8]
lea eax, [esp + 0x74]
push edx
push eax
jmp 0x413e5d
lea ecx, [ebp + 0x20c]
lea edx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [esp + 0x74]
test al, al
je 0x4142c4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4142c4
push ebx
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
xor esi, esi
mov dword [esp + 0x4c], eax
cmp eax, esi
je 0x4142bd
push esi
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x44], ebx
je 0x4142bd
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 + 0x4c], eax
mov dword [esp + 0x18], 0x4cc6f4
call fcn.004be967
add esp, 4
cmp ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x1f
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x24], 1
mov dword [esp + 0x10], esi
jle 0x413fea
mov cl, byte [0x4eb858]
xor eax, eax
mov byte [esp + 0x17c], cl
mov ecx, 0x41
lea edi, [esp + 0x17d]
lea edx, [esp + 0x17c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
push 0x105
push edx
push esi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea ecx, [esp + 0x17c]
push ecx
call fcn.0044a200
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x413fdd
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
lea edx, [ecx + 1]
cmp edi, edx
jne 0x413fc9
mov eax, dword [esp + 0x28]
add ecx, eax
lea ecx, [ecx*4 + 4]
push ecx
call fcn.004be967
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004be975
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
add esp, 8
add eax, edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x413f09
push str.Preferred_DropEffect
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x414025
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [eax], 2
jne 0x41401e
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xbc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x414078
mov eax, dword [ebp + 0xb4]
push eax
call ebx
mov ecx, dword [ebp + 0xbc]
push 0xbb8
push ecx
call edi
cmp eax, 0x102
jne 0x414061
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp + 0xbc], esi
jmp 0x41407a
xor esi, esi
cmp dword [ebp + 0xc4], esi
je 0x4140dd
mov eax, dword [ebp + 0xcc]
mov dword [ebp + 0xd0], 1
push eax
call ebx
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp + 0xc4]
push 0x2710
push ecx
mov esi, eax
call edi
cmp eax, 0x102
jne 0x4140c7
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.USER32.dll_SetCursor]
xor esi, esi
lea ecx, [esp + 0x50]
mov dword [ebp + 0xc4], esi
mov dword [ebp + 0xd4], esi
call fcn.0042cc90
mov eax, dword [ebp + 0x200]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x78]
cmp eax, esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jle 0x41413b
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x41413d
xor eax, eax
push eax
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x284]
push 0x5c
push ecx
call fcn.004bea30
add esp, 8
cmp eax, esi
je 0x4141b3
mov byte [eax], 0
mov edx, dword [str._KDC210_]
lea eax, [esp + 0x284]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4141b3
mov ecx, dword [ebp + 0x200]
lea eax, [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x998]
lea edx, [ebp + 0x9a0]
cmp eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x70], 0x409c30
jne 0x4141b3
mov ecx, ebp
call fcn.00407c20
lea ecx, [esp + 0x50]
push ecx
call fcn.0042f5d0
mov eax, dword [ebp + 0x994]
add esp, 4
cmp eax, esi
je 0x4141d1
mov ecx, ebp
call fcn.00407dc0
push 1
mov ecx, ebp
call fcn.0041ec00
cmp dword [0x4eb46c], esi
je 0x414250
cmp dword [ebp + 0xbc], esi
je 0x414229
mov edx, dword [ebp + 0xb4]
push edx
call ebx
mov eax, dword [ebp + 0xbc]
push 0xbb8
push eax
call edi
cmp eax, 0x102
jne 0x414210
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [ebp + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov dword [ebp + 0xbc], esi
cmp eax, esi
jne 0x414250
mov edx, dword [ebp + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x30]
push eax
push esi
push ebp
push 0x411fb0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xbc], eax
mov ecx, ebp
call fcn.004204e0
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x414266
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004be975
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, esi
mov dword [esp + 0x14], 0x4cc6f4
je 0x4142b0
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4142b0
cmp esi, eax
jge 0x41429c
test esi, esi
jl 0x41429c
mov edx, dword [esp + 0x18]
mov eax, dword [edx + esi*4]
jmp 0x41429e
xor eax, eax
push eax
call fcn.004be975
mov eax, dword [esp + 0x20]
add esp, 4
inc esi
cmp esi, eax
jl 0x41428f
mov eax, dword [esp + 0x18]
push eax
call fcn.004be975
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x37c
ret