Function at 0x4616a5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4c5873
call fcn.004bf97c
sub esp, 0x13c
mov ax, word [0x4e57c4]
or dword [ebp - 0x34], 0xffffffff
push esi
mov esi, ecx
push edi
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x20]
push ecx
xor eax, eax
inc eax
lea ecx, [ebp - 0x40]
xor edi, edi
push ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [eax + 0xc]
test eax, eax
jl 0x461725
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x46170f
mov eax, 0x80004005
jmp 0x4619db
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
add esi, 0xf4
call fcn.00458108
jmp 0x4619c9
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push esi
mov word [ebp - 0x40], 0xf
call dword [eax + 0xc]
cmp eax, edi
jl 0x461995
mov eax, dword [ebp - 0x1c]
push edi
push edi
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], edi
jle 0x4619d2
push ebx
jmp 0x461765
xor edi, edi
mov eax, dword [0x4e4150]
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
mov edi, 0x104
push edi
mov eax, edi
lea ecx, [ebp + 8]
call fcn.004030e2
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
or eax, 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040310e
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x461841
test al, 0x10
jne 0x46188c
push 0x2e
push ebx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x461955
push str..lnk
push esi
call dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x4618d6
and dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00452c2d
test eax, eax
je 0x4618c5
push 2
push edi
lea eax, [ebp - 0x148]
push eax
xor ecx, ecx
lea eax, [ebp - 0x10]
call fcn.00452ca7
test eax, eax
je 0x4618c5
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp + 8]
call fcn.0040305d
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x461877
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x461841
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push ebx
call fcn.00453542
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e4154]
je 0x461862
push eax
call fcn.00401377
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jl 0x461763
pop ebx
jmp 0x4619d2
test al, 0x10
je 0x4618b8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x46188c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [0x4e6280]
mov esi, dword [ebp + 0xc]
push ebx
mov ecx, esi
call fcn.004537ec
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
test eax, eax
pop ecx
pop ecx
jne 0x46195d
or eax, 0xffffffff
jmp 0x46195f
push 0x2e
push ebx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4618d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x461955
lea eax, [ebp - 0x28]
push 0
push eax
mov eax, esi
call fcn.00401809
mov esi, dword [ebp - 0x28]
push str..cue
push esi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x10
test eax, eax
jne 0x461916
lea eax, [esi - 0xc]
cmp eax, dword [0x4e4154]
je 0x46190e
push eax
call fcn.00401377
push 3
pop eax
jmp 0x461843
push esi
mov eax, 0x4e6330
call fcn.004a2eb8
test eax, eax
lea eax, [esi - 0xc]
je 0x461947
cmp eax, dword [0x4e4154]
je 0x461936
push eax
call fcn.00401377
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.0040893c
jmp 0x46184d
cmp eax, dword [0x4e4154]
je 0x461955
push eax
call fcn.00401377
xor eax, eax
inc eax
jmp 0x461843
sub eax, ebx
lea ecx, [eax + 1]
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp + 8]
call fcn.004030aa
push dword [eax]
lea eax, [esi + 0x10]
call fcn.0040305d
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x46184d
push eax
call fcn.00401377
jmp 0x46184d
push str.UniformResourceLocator
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov word [ebp - 0x40], ax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x4619d6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0xc]
push edi
push eax
call fcn.00453542
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x4619db
mov eax, 0x80004001
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc