Function at 0x470ac0
Capabilities:
Get common file path
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b398
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov edi, dword [ebp + 0xc]
sub edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp edi, 4
jae 0x470b10
xor esi, esi
jmp 0x470fad
sar edi, 2
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x50], edi
mov edx, 4
mov dword [ebp - 0x20], 0
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a3de3
add esp, 4
mov esi, eax
mov dword [ebp - 0x4c], esi
test edi, edi
je 0x470b4c
mov ecx, edi
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push 0
push 0
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x470b78
mov byte [ebp - 4], 2
jmp 0x470f17
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x5b1984
push eax
call dword [sym.imp.SHELL32.dll_SHBindToParent]
cmp dword [ebp - 0x18], 0
jne 0x470b95
jmp 0x470f24
mov byte [ebp - 4], 4
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x470fdd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x58], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 5
jge 0x470bdb
push 0x104
lea ecx, [ebp - 0x58]
call fcn.0040d9d0
mov edi, dword [ebp - 0x58]
push 0
push 0x10
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ebx, [edi - 0x10]
mov dword [ebp - 0x5c], ebx
test edi, edi
jne 0x470bf6
xor eax, eax
jmp 0x470c0a
push dword [ebx + 8]
push edi
call fcn.0054db62
add esp, 8
test eax, eax
js 0x470fd3
cmp eax, dword [ebx + 8]
jg 0x470fd3
mov dword [ebx + 4], eax
xor ecx, ecx
mov word [edi + eax*2], cx
or ebx, 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x470d20
mov byte [ebp - 4], 6
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x470fe7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x50], ecx
jbe 0x470cff
mov eax, dword [ebp + 8]
lea ebx, [esi - 0x10]
mov edx, dword [eax + ecx*4]
lea eax, [edx - 0x10]
cmp eax, ebx
je 0x470cc7
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x470cb5
mov eax, dword [edx - 0x10]
lea ecx, [edx - 0x10]
cmp eax, dword [ebx]
jne 0x470cb5
push ecx
call fcn.00417940
mov dword [ebp - 0x14], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x470caa
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
add esi, 0x10
mov dword [ebp - 0x14], esi
jmp 0x470cc4
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0040e8d0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
test edi, edi
je 0x470cef
cmp dword [esi - 0xc], 0
jl 0x470cef
push edi
push esi
call fcn.0053b619
add esp, 8
test eax, eax
je 0x470cec
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x470ddc
mov ecx, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [ebp - 0x50]
jb 0x470c63
or ebx, 0xffffffff
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x470d1a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edx, edx
sub eax, ecx
mov dword [ebp - 0x14], edx
sar eax, 2
test eax, eax
je 0x470d7d
mov ebx, esi
mov esi, dword [ebp - 0x18]
push dword [ecx + edx*4]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0
push ebx
push 0
push eax
push 0
push 0
push esi
call edi
cmp dword [ebx], 0
jne 0x470d61
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ILClone]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
add ebx, 4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc edx
sub eax, ecx
mov dword [ebp - 0x14], edx
sar eax, 2
cmp edx, eax
jb 0x470d33
or ebx, 0xffffffff
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov edi, dword [ebp - 0x50]
push edx
push 0
mov ecx, dword [eax]
push 0x5b1928
push dword [ebp - 0x4c]
mov byte [ebp - 4], 8
push edi
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
jns 0x470e95
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x470dbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x5c]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x470dd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
jmp 0x470f17
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
lea esi, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 4]
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x470e59
sub ebx, esi
mov ecx, dword [ebx + esi]
mov edi, dword [esi]
sub edi, 0x10
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x470e4b
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x470e40
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x470e40
push edx
call fcn.00417940
mov dword [ebp - 0x48], eax
lea ecx, [edi + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x470e36
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
add eax, 0x10
mov dword [esi], eax
jmp 0x470e4b
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.0040e8d0
add esi, 4
lea eax, [ebx + esi]
cmp eax, dword [ebp - 0x54]
jne 0x470df4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax - 4]
or ebx, 0xffffffff
sub edx, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x470e76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub dword [ebp + 0xc], 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 8]
call fcn.0046f3d0
mov esi, dword [ebp - 0x14]
jmp 0x470cff
cmp dword [ebp - 0x64], 0
lea edx, [ebp - 0x44]
mov ecx, 0x5b2794
mov dword [ebp - 0x44], 0x24
mov eax, str.copy
mov dword [ebp - 0x2c], 1
cmove eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x470efe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x5c]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x470f13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x470f24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_ILFree]
xor esi, esi
mov byte [ebp - 4], 0
test edi, edi
je 0x470f46
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x470f41
push eax
call ebx
inc esi
cmp esi, edi
jb 0x470f34
push dword [ebp - 0x4c]
call fcn.004a3dec
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
je 0x470f5b
push eax
call ebx
mov ebx, dword [ebp - 0x60]
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x470fa8
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
xor esi, esi
test eax, eax
je 0x470f84
push esi
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
jne 0x470fa8
push ebx
push dword [ebp - 0x64]
lea eax, [ebp + 8]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.00435e90
call fcn.00471340
add esp, 0x14
mov esi, 1
lea ecx, [ebp + 8]
call fcn.00428f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c4f0
push 0x80004005
call fcn.0040c4f0
push 0x80004005
call fcn.0040c4f0
int3