Function at 0x10066730
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160438
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101bd00c]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
cmp dword [esi + 0x10], 0
je 0x10066b75
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x10174450
push 1
push 0
push 0x101744a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10066b75
cmp dword [ebp - 0x44], 0
je 0x10066b75
or ecx, 0xffffffff
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x54], ecx
mov ecx, esi
call fcn.1009d0c0
cmp eax, 0xffffffff
je 0x100667ce
mov dword [ebp - 0x54], eax
test al, 1
je 0x100667ce
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.1009cfa0
mov byte [ebp - 0x49], al
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0
xor bl, bl
push 0x10174490
mov edx, dword [ecx]
push ecx
call dword [edx]
test eax, eax
js 0x10066941
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x10066955
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10066805
mov edx, dword [esi]
mov eax, dword [ecx]
push 0x22
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x10066941
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x50], 0
je 0x100668f8
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x10066831
mov edx, dword [edi]
mov eax, dword [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.10078780
test al, al
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
je 0x10066884
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
jmp 0x10066889
push 0x10185ca0
push eax
call dword [ecx + 0x24]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x10066897
mov edx, dword [edi]
mov eax, dword [ebp - 0x44]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100668e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100668da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066b95
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x58]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x10066905
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c], eax
mov eax, esi
jb 0x1006691c
mov eax, dword [esi]
mov ecx, dword [ebp - 0x48]
push 1
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
cmp dword [ebp - 0x50], 0
jl 0x10066941
cmp dword [ebp - 0x5c], 0
jl 0x10066941
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovns ebx, ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x10066955
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10066969
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10066973
mov eax, dword [esi]
push 0
push eax
push 5
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp byte [ebp - 0x49], 0
je 0x1006699a
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x1006699a
mov edx, eax
mov ecx, esi
call fcn.1009cfa0
test bl, bl
je 0x10066acb
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.10066460
test al, al
je 0x10066ad2
cmp dword [edi + 0x10], 0
je 0x10066a11
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.100778a0
test al, al
je 0x10066ad2
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
call fcn.100778a0
test al, al
je 0x10066ad2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10066a62
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066a58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066b9a
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10066ab7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066aad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066b9f
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov al, bl
jmp 0x10066b77
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10066b10
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066b06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066ba4
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10066b61
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066b57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066ba9
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor al, al
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.1010cbf1
mov esp, ebp
pop ebp
ret 0xc
call fcn.1012cb39
call fcn.1012cb39
call fcn.1012cb39
call fcn.1012cb39
call fcn.1012cb39
int3