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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5894d0
push eax
mov eax, 0x1d14
mov dword fs:[0], esp
call fcn.00573b80
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 8
jne 0x500048
mov eax, dword [esi + 0x20]
xor ebp, ebp
push eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebp
je 0x4ffa04
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call edi
test eax, eax
je 0x4ff894
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CRichEditCtrl::GetDefaultCharFormat
mov edx, dword [esi + 0x20]
push ebp
push ebp
push 0x302
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CRichEditCtrl::SetDefaultCharFormat
mov ebx, 1
jmp 0x4ff9f6
push 2
call edi
test eax, eax
je 0x4ff9f6
push 0xf
call edi
test eax, eax
je 0x4ff9d5
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
push ebp
mov edi, eax
push 0x5f3788
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, 1
jne 0x4ff9d5
lea ecx, [esp + 0xc8]
push 0x104
push ecx
push ebp
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea edx, [esp + 0xc8]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004e0aa0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x1d2c], ebp
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x10]
push 0x5e2008
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4ff9c1
lea edx, [esp + 0xc8]
push edx
call fcn.00440560
add esp, 4
test al, al
je 0x4ff9c1
call fcn.00443140
push ebp
push ebp
push ecx
mov edi, eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x5e2008
call sub.MFC42.DLL_CString::CString_3
push edi
push ecx
lea eax, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x1d44], 1
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x1d40], 0
call fcn.0040d740
mov ecx, eax
call fcn.00479b40
push edi
push ecx
lea edx, [esp + 0xd0]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.005012d0
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1d2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x500048
lea ecx, [esp + 0x10]
mov dword [esp + 0x1d2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebp
je 0x4ff9f6
mov ebx, 1
call fcn.00443140
push eax
push edi
mov ecx, esi
call fcn.004feed0
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp ebx, ebp
jne 0x500048
mov eax, dword [0x5f42d0]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x500037
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebp
je 0x500048
mov edx, dword [0x5f42d0]
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x500048
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov eax, dword [ebx]
cmp eax, 0x1b58
mov dword [esp + 0x18], eax
jge 0x4ffa81
mov ecx, eax
lea esi, [ebx + 4]
mov edx, ecx
lea edi, [esp + 0x1cc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x1cc], 0
jmp 0x4ffaaa
mov edi, 0x5f3788
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1cc]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x1d2c], 3
mov dword [esp + 0x4c], 0x593514
mov dword [esp + 0x50], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x30], 0x593500
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x1d34], 5
call fcn.004374d0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x38]
call fcn.004374d0
mov edx, dword [esp + 0x18]
xor edi, edi
mov eax, dword [ebx + edx + 4]
lea ebp, [edx + 4]
add ebp, 4
cmp eax, edi
jle 0x4ffbfb
mov dword [esp + 0x20], eax
mov edi, dword [ebx + ebp]
mov eax, dword [esp + 0x54]
mov esi, dword [ebx + ebp + 4]
add ebp, 4
add ebp, 4
mov dword [esp + 0x18], eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], esi
call fcn.004374d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
test esi, esi
mov dword [eax + ecx*4], edi
je 0x4ffbcc
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov edi, eax
mov eax, ecx
lea esi, [edx + ebp]
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, eax
add ebp, esi
call fcn.0049f8a0
mov esi, eax
mov eax, dword [esp + 0x38]
mov edi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.004374d0
mov ecx, dword [esp + 0x34]
push ebx
mov dword [ecx + edi*4], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x1c]
jmp 0x4ffbea
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x38]
call fcn.004374d0
mov edx, dword [esp + 0x34]
mov dword [edx + esi*4], 0
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x4ffb32
xor edi, edi
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x78], 0x5934ec
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x60]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x1d38], 7
call fcn.004fe9d0
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x4fffb4
mov ecx, dword [esp + 0x7c]
cmp dword [ecx + edi*4], 0
jne 0x4fff96
mov edx, dword [esp + 0x64]
mov eax, dword [edx + edi*4]
lea ecx, [edx + edi*4]
cmp dword [eax - 8], 0xf
jl 0x4fff8d
lea edx, [esp + 0x28]
push 4
push edx
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5e29f8
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4fff8d
mov ecx, dword [esp + 0x64]
push 3
lea eax, [esp + 0x48]
push 0xc
push eax
lea ecx, [ecx + edi*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f4
push eax
mov byte [esp + 0x1d34], 8
call ebp
add esp, 8
test eax, eax
je 0x4ffd1d
mov eax, dword [esp + 0x64]
push 3
lea edx, [esp + 0x78]
push 0xc
push edx
lea ecx, [eax + edi*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x74]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4ffd1f
mov bl, 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d2c], 7
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4fff8d
mov edx, dword [esp + 0x64]
push 8
lea ecx, [esp + 0x1c]
push 4
push ecx
lea ecx, [edx + edi*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0x18]
push 0x10
push 0
push eax
mov byte [esp + 0x1d38], 9
call dword [sym.imp.MSVCRT.dll_strtoul]
mov edx, dword [esp + 0x70]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov esi, eax
push 3
push 0xc
push ecx
lea ecx, [edx + edi*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f4
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4ffe3a
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 2
lea eax, [esp + 0x1c]
push esi
push eax
mov byte [esp + 0x1d40], 9
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x10]
push 0x5f3788
push ecx
mov byte [esp + 0x1d34], 0xb
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
push esi
je 0x4ffe1b
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.005012d0
mov byte [esp + 0x1d2c], 9
lea ecx, [esp + 0x10]
jmp 0x4fff71
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
mov byte [esp + 0x1d2c], 9
lea ecx, [esp + 0x10]
jmp 0x4fff71
mov edx, dword [esp + 0x54]
xor eax, eax
test edx, edx
jle 0x4ffe54
mov ecx, dword [esp + 0x50]
cmp dword [ecx], esi
je 0x4ffec4
inc eax
add ecx, 4
cmp eax, edx
jl 0x4ffe48
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 1
lea edx, [esp + 0x28]
push esi
push edx
mov byte [esp + 0x1d40], 9
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5f3788
push eax
mov byte [esp + 0x1d34], 0xd
call ebx
add esp, 8
test eax, eax
je 0x4ffedf
push esi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x4fff65
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4ffe54
mov ecx, dword [esp + 0x14]
push esi
push eax
call fcn.004feed0
jmp 0x4fff76
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 0
lea eax, [esp + 0x2c]
push esi
push eax
mov byte [esp + 0x1d40], 0xd
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x20]
push 0x5f3788
push ecx
mov byte [esp + 0x1d34], 0xf
call ebx
add esp, 8
test eax, eax
push esi
je 0x4fff46
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x4fff54
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d2c], 0xd
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1d2c], 9
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1d2c], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x14]
jmp 0x4fffa7
mov eax, dword [esp + 0x64]
mov eax, dword [eax + edi*4]
jmp 0x4fff9d
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + edi*4]
push 0
push eax
mov ecx, esi
call fcn.004fe860
mov eax, dword [esp + 0x68]
inc edi
cmp edi, eax
jl 0x4ffc64
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x5934ec
test eax, eax
je 0x4fffcd
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, 0x5916e0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], esi
mov byte [esp + 0x1d2c], 5
call fcn.00572f3a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0x593500
test eax, eax
je 0x500000
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], esi
test eax, eax
mov dword [esp + 0x4c], 0x593514
je 0x50001d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1d2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x500048
mov edx, dword [esi + 0x20]
push ebp
push ebp
push 0x302
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1d24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d20
ret