Function at 0x464f9c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ccad1
call fcn.004c7e20
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 0x1032
push dword [esi + 0x504]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x464fd4
mov eax, 0x80004005
jmp 0x4654df
cmp dword [ebp + 0x10], ebx
push edi
mov dword [ebp - 0x18], ebx
jne 0x46500b
push 4
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x46500b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x18]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp - 0x14]
imul edi, edi, 0x208
lea eax, [edi + 0x16]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x465042
cmp dword [ebp - 0x18], ebx
je 0x465038
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 0x8007000e
jmp 0x4654de
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
lea eax, [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebx], 0x14
mov dword [ebx + 0xc], 1
call fcn.0049dd24
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x14]
lea ecx, [eax + edi]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0xf4]
or eax, 0xffffffff
xor edi, edi
call fcn.0045b8e9
mov edi, dword [ebp - 0x14]
or eax, 0xffffffff
lea ecx, [esi + 0xf4]
call fcn.0045b8e9
and dword [ebp - 0x14], 0
push 2
push 0xffffffffffffffff
jmp 0x4651ad
mov ecx, dword [esi + 0xf0]
mov eax, dword [ebp - 0x20]
call fcn.004553ae
mov edi, dword [eax]
test edi, edi
mov dword [ebp - 0x24], edi
je 0x4650c2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and dword [ebp - 4], 0
test edi, edi
jne 0x4650d3
or dword [ebp - 4], 0xffffffff
jmp 0x4651a8
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x24]
add ecx, 0xf4
call fcn.0045b95c
inc dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x3c]
call fcn.004040fe
mov ecx, eax
lea esi, [ebp - 0x1c]
call fcn.00402eaa
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x465111
push eax
call fcn.004013aa
cmp dword [ebx + 0x10], 0
je 0x465141
lea ecx, [ebp - 0x1c]
lea esi, [ebp - 0x2c]
call fcn.00402eaa
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x10]
add eax, eax
push eax
push esi
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi - 8]
add esp, 0xc
lea eax, [edi + eax*2 + 2]
jmp 0x465169
lea eax, [ebp - 0x30]
push 0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00401754
mov esi, dword [ebp - 0x30]
push dword [esi - 8]
mov edi, dword [ebp - 0x10]
push esi
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi - 8]
add esp, 0x14
lea eax, [edi + eax + 1]
add esi, 0xfffffff4
cmp esi, dword [0x4f0984]
mov dword [ebp - 0x10], eax
je 0x46517d
push esi
call fcn.004013aa
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
jae 0x4651c7
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x465199
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
call fcn.004040d8
mov esi, dword [ebp + 8]
push 2
push dword [ebp - 0x20]
lea eax, [esi + 0x504]
push eax
call fcn.00430e66
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x4650a4
jmp 0x4651e7
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4651d8
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
call fcn.004040d8
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
or eax, 0xffffffff
lea ecx, [esi + 0xf4]
call fcn.0045b8e9
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x10], edi
je 0x4653f3
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], edi
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x4653e2
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 5
push edi
push dword [esi + 4]
mov dword [ebp + 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, edi
jl 0x4653d0
push dword [ebp + 8]
call dword [0x4f27f4]
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0x5c]
call fcn.00416406
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push dword [ebp + 8]
call fcn.00407b19
push dword [ebp + 8]
call dword [0x4f27e0]
lea eax, [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x46535a
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x10], edi
push edi
je 0x4652c8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push edi
push dword [ebp - 0x10]
push edi
push dword [esi + 4]
push eax
call dword [ecx + 0xc]
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2 + 2]
jmp 0x46531d
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406298
pop ecx
pop ecx
push edi
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
lea edx, [ebp + 8]
push edx
push edi
push eax
push edi
push dword [esi + 4]
push dword [ebp + 0x10]
call dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46530d
push eax
call fcn.004013aa
push dword [ebp - 0x10]
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 1]
cmp dword [ebp - 0x24], edi
mov dword [ebp - 0x10], eax
jl 0x465351
push dword [ebp + 8]
call dword [0x4f27f4]
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0x5c]
call fcn.00416406
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push dword [ebp + 8]
call fcn.00407b19
push dword [ebp + 8]
call dword [0x4f27e0]
dec dword [ebp - 0x20]
jne 0x465297
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
lea ebx, [esi*4 + 8]
add eax, ebx
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x4653d0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, edi
lea ecx, [esi - 1]
mov dword [eax], ecx
mov ecx, ebx
lea edx, [eax + 4]
mov dword [ebp - 0x1c], edi
jle 0x4653b6
mov edi, dword [ebp - 0x5c]
sub edx, edi
mov dword [ebp - 0x34], edx
jmp 0x4653a1
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x1c], esi
mov dword [edx + edi], ecx
jae 0x465411
add ecx, dword [edi]
inc dword [ebp - 0x1c]
add edi, 4
cmp dword [ebp - 0x1c], esi
jl 0x46539e
push dword [ebp - 0x38]
add eax, ebx
push dword [ebp - 0x3c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 0x40]
call fcn.004afb27
lea eax, [ebp - 0x5c]
call fcn.0041a441
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4653f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x46541b
call fcn.0045cf43
mov esi, eax
jmp 0x46541d
push 0x80070057
call fcn.004010ca
xor esi, esi
cmp esi, edi
jne 0x465449
cmp dword [ebp - 0x18], edi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x465431
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x10], edi
je 0x465038
push dword [ebp - 0x10]
call esi
jmp 0x465038
mov ax, word [0x4f2630]
or dword [ebp - 0x64], 0xffffffff
xor ebx, ebx
inc ebx
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
je 0x465485
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
cmp dword [ebp - 0x10], edi
je 0x4654ae
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x28]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov word [ebp - 0x70], 0xf
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov ebx, eax
cmp ebx, edi
jl 0x4654d6
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4654dc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc