Function at 0x4a1dea
Capabilities:
Check if file exists
Delete file
Get common file path
Print debug messages

Disassembly:
push 0x8c
mov eax, 0x52ff48
call fcn.004f2332
call fcn.00437474
push eax
lea ecx, [ebp - 0x58]
call fcn.0043a4ef
xor ebx, ebx
lea ecx, [ebp - 0x58]
push 0x104
mov dword [ebp - 4], ebx
call fcn.0043a522
push eax
push ebx
push 0x1a
push ebx
call fcn.004d0122
add esp, 0x10
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
call fcn.0043c298
mov esi, 0x53c940
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.004516f5
mov esi, dword [ebp - 0x58]
mov edi, 0x5aea00
push esi
push str.DoDragDropToQuickLanuch_linkPath:_ws._n
push edi
call fcn.004de360
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a1e9a
push str.DoDragDropToQuickLanuch_delete_linkPath
push edi
call fcn.004de360
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a1e9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DoDragDropToQuickLanuch_deleteFile__linkPath_is_failed_error:_d.
push edi
call fcn.004de360
add esp, 0xc
jmp 0x4a2037
call fcn.00437474
push eax
lea ecx, [ebp - 0x54]
call fcn.0043a6b1
xor ebx, ebx
lea ecx, [ebp - 0x54]
inc ebx
push 0x104
mov byte [ebp - 4], bl
call fcn.0043ad26
push eax
xor eax, eax
push eax
push eax
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x54]
call fcn.00470cb0
push 0xc
push str._______.lnk
lea ecx, [ebp - 0x54]
call fcn.0045183f
lea ecx, [ebp - 0x84]
call fcn.004a28d6
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x84]
call fcn.004a28fd
lea ecx, [ebp - 0x84]
call fcn.004a2906
lea ecx, [ebp - 0x84]
call fcn.004a29b7
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x84]
mov edi, eax
call fcn.004a29b7
push eax
lea ecx, [ebp - 0x84]
call fcn.004a29bb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004f27e0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 0x8c], 0xffffffff
push 0xf
pop eax
mov word [ebp - 0x98], ax
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x90], ebx
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x88], ebx
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], edi
call fcn.004a265b
lea eax, [ebp - 0x5c]
push eax
call fcn.004a2af6
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x14
push str.do_drag_drop_on_main
call ebx
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
push eax
push 5
push dword [ebp - 0x5c]
mov byte [0x5ae5f4], 1
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_DoDragDrop]
mov edi, eax
mov byte [0x5ae5f4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x50]
push str._x__x
push eax
call fcn.004f6acb
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call ebx
push str.finish_drag_drop_on_main
call ebx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004a28e9
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
lea ecx, [esi - 0x10]
call fcn.00436fdb
call fcn.004f22e1
ret