Function at 0x1006c9d0
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 0x10099076
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 0x1006cecd
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push 0xf
call edi
mov dword [ebp - 0x440], eax
test eax, eax
je 0x1006cec7
push dword [ebp - 0x450]
call edi
test eax, eax
jne 0x1006ca85
mov dword [ebx], 1
jmp 0x1006ca89
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 0x1006ceac
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 0x1006cad4
xor ecx, ecx
jmp 0x1006caef
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cae0
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.10070410
mov edx, dword [ebp - 0x444]
mov ecx, eax
mov eax, 0x7fffffe
sub eax, edx
cmp eax, 1
jb 0x1006ceb7
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 0x1006cb41
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call fcn.1007b43d
add esp, 8
test eax, eax
je 0x1006cbf0
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x100c6864
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1006cbf0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 6
cmp al, 6
jne 0x1006cbf0
cmp word [ebp - 0x21c], 0
mov dword [ebp - 0x454], 1
jne 0x1006cbb6
xor ecx, ecx
jmp 0x1006cbcf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cbc0
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.1006f180
cmp word [ebp - 0x424], 0
jne 0x1006cbfe
xor ecx, ecx
jmp 0x1006cc16
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006cc07
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.10070410
mov edx, dword [ebx + 4]
mov ecx, eax
mov eax, 0x7fffffe
sub eax, edx
cmp eax, 1
jb 0x1006ceb7
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 0x1006cab2
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x1006ceac
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.1007b43d
mov esi, eax
add esp, 8
test esi, esi
je 0x1006ceac
add esi, 2
mov ecx, str.hypertrm.exe
mov edx, esi
sub edx, ecx
jmp 0x1006ccb0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006ccb0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call edi
cmp eax, 0xffffffff
je 0x1006ceac
cmp word [ebp - 0x21c], 0
jne 0x1006cce6
xor ecx, ecx
jmp 0x1006ccff
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006ccf0
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.1006f180
mov ecx, str.HYPERTRM.dll
sub esi, ecx
jmp 0x1006cd30
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1006cd30
lea eax, [ebp - 0x21c]
push eax
call edi
cmp eax, 0xffffffff
je 0x1006ceac
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100632c0
lea eax, [ebp - 0x43c]
mov ecx, ebx
push eax
call fcn.1006f180
push ecx
mov ecx, ebx
call fcn.1006fae0
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 0x1006ce56
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
jb 0x1006cda4
mov eax, dword [ebx]
jmp 0x1006cda6
mov eax, ebx
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1006ce06
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 0x1006cde0
push dword [ebx]
call fcn.1007b706
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push esi
mov word [ebx], ax
call fcn.1007b706
mov esi, edi
add esp, 4
mov edi, dword [ebp - 0x440]
jmp 0x1006ce48
cmp dword [ebx + 0x14], 8
jb 0x1006ce0e
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 0x1006ce14
mov esi, dword [esi]
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006ce30
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 0x1006cd97
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 0x1006cea4
lea ecx, [ecx]
cmp edi, ecx
je 0x1006cea4
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x1006ce7f
mov eax, dword [eax]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x1006ce8a
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [ebp - 0x448]
test eax, eax
jne 0x1006cea4
mov esi, dword [esi]
mov edi, dword [edi]
cmp esi, dword [ebx]
jne 0x1006ce70
cmp esi, dword [ebx]
jne 0x1006cec1
cmp edi, ecx
jne 0x1006cec1
mov ecx, ebx
call fcn.100633d0
xor esi, esi
jmp 0x1006cec7
push str.list_T__too_long
call fcn.100904f5
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.1007b706
add esp, 4
cmp dword [ebp - 0x428], 8
jb 0x1006cf08
push dword [ebp - 0x43c]
call fcn.1007b706
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.1007a730
mov esp, ebp
pop ebp
ret