Function at 0x1006cc00
Capabilities:
Check if file exists
Get file attributes
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099356
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x44c], ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x450], eax
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], esi
mov word [ebp - 0x43c], ax
push eax
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x444], eax
call fcn.10064220
mov dword [ebp - 0x448], eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006d0fd
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push 0xf
call edi
mov dword [ebp - 0x440], eax
test eax, eax
je 0x1006d0f7
push dword [ebp - 0x450]
call edi
test eax, eax
jne 0x1006ccb5
mov dword [ebx], 1
jmp 0x1006ccb9
mov eax, dword [eax]
mov dword [ebx], eax
mov esi, dword [ebp - 0x440]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, dword [ebp - 0x44c]
xor edi, edi
mov dword [ebp - 0x450], eax
test eax, eax
je 0x1006d0dc
push 0x104
lea eax, [ebp - 0x424]
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
cmp word [ebp - 0x424], 0
jne 0x1006cd04
xor ecx, ecx
jmp 0x1006cd1f
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cd10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10063b40
mov esi, dword [ebp - 0x448]
lea eax, [ebp - 0x43c]
push eax
push dword [esi + 4]
push esi
call fcn.100706f0
mov edx, dword [ebp - 0x444]
mov ecx, eax
mov eax, 0x7fffffe
sub eax, edx
cmp eax, 1
jb 0x1006d0e7
mov dword [esi + 4], ecx
inc edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x444], edx
mov dword [eax], ecx
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x424]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21e], ax
test ax, ax
jne 0x1006cd71
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call fcn.1007b71d
add esp, 8
test eax, eax
je 0x1006ce20
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x100c6874
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x1006ce20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 6
cmp al, 6
jne 0x1006ce20
cmp word [ebp - 0x21c], 0
mov dword [ebp - 0x454], 1
jne 0x1006cde6
xor ecx, ecx
jmp 0x1006cdff
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cdf0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10063b40
lea eax, [ebp - 0x43c]
mov ecx, ebx
push eax
call fcn.1006f460
cmp word [ebp - 0x424], 0
jne 0x1006ce2e
xor ecx, ecx
jmp 0x1006ce46
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006ce37
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10063b40
mov esi, dword [ebx]
lea eax, [ebp - 0x43c]
push eax
push dword [esi + 4]
push esi
call fcn.100706f0
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0x7fffffe
sub eax, edx
cmp eax, 1
jb 0x1006d0e7
lea eax, [edx + 1]
inc edi
mov dword [ebx + 4], eax
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x440]
mov dword [eax], ecx
cmp edi, dword [ebp - 0x450]
jb 0x1006cce2
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x1006d0dc
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.1007b71d
mov esi, eax
add esp, 8
test esi, esi
je 0x1006d0dc
add esi, 2
mov ecx, str.hypertrm.exe
mov edx, esi
sub edx, ecx
jmp 0x1006cee0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006cee0
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call edi
cmp eax, 0xffffffff
je 0x1006d0dc
cmp word [ebp - 0x21c], 0
jne 0x1006cf16
xor ecx, ecx
jmp 0x1006cf2f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cf20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10063b40
lea eax, [ebp - 0x43c]
mov ecx, ebx
push eax
call fcn.1006f460
mov ecx, str.HYPERTRM.dll
sub esi, ecx
jmp 0x1006cf60
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1006cf60
lea eax, [ebp - 0x21c]
push eax
call edi
cmp eax, 0xffffffff
je 0x1006d0dc
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100632c0
lea eax, [ebp - 0x43c]
mov ecx, ebx
push eax
call fcn.1006f460
push ecx
mov ecx, ebx
call fcn.1006fdc0
xor eax, eax
xor edi, edi
mov word [ebp - 0x424], ax
mov eax, dword [ebx]
mov dword [ebp - 0x440], edi
mov esi, dword [eax]
cmp esi, eax
je 0x1006d086
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
jb 0x1006cfd4
mov eax, dword [ebx]
jmp 0x1006cfd6
mov eax, ebx
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x1006d036
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x44c]
dec dword [ecx + 4]
cmp dword [ebx + 0x14], 8
jb 0x1006d010
push dword [ebx]
call fcn.1007b9e6
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push esi
mov word [ebx], ax
call fcn.1007b9e6
mov esi, edi
add esp, 4
mov edi, dword [ebp - 0x440]
jmp 0x1006d078
cmp dword [ebx + 0x14], 8
jb 0x1006d03e
mov ebx, dword [ebx]
lea ecx, [ebp - 0x424]
movzx eax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1006d044
mov esi, dword [esi]
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d060
sub ecx, edx
inc edi
sar ecx, 1
add edi, ecx
mov dword [ebp - 0x440], edi
mov ebx, dword [ebp - 0x44c]
cmp esi, dword [ebx]
jne 0x1006cfc7
mov eax, dword [ebx]
inc edi
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x440], edi
mov esi, dword [eax]
mov edi, dword [ecx]
cmp esi, eax
je 0x1006d0d4
lea ecx, [ecx]
cmp edi, ecx
je 0x1006d0d4
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x1006d0af
mov eax, dword [eax]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x1006d0ba
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
mov ecx, dword [ebp - 0x448]
test eax, eax
jne 0x1006d0d4
mov esi, dword [esi]
mov edi, dword [edi]
cmp esi, dword [ebx]
jne 0x1006d0a0
cmp esi, dword [ebx]
jne 0x1006d0f1
cmp edi, ecx
jne 0x1006d0f1
mov ecx, ebx
call fcn.100633d0
xor esi, esi
jmp 0x1006d0f7
push str.list_T__too_long
call fcn.100907d5
mov esi, dword [ebp - 0x440]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x448]
call fcn.100633d0
lea ecx, [ebp - 0x448]
call fcn.100633d0
push dword [ebp - 0x448]
call fcn.1007b9e6
add esp, 4
cmp dword [ebp - 0x428], 8
jb 0x1006d138
push dword [ebp - 0x43c]
call fcn.1007b9e6
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret