Function at 0x10065780
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d428
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101b900c]
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 0x10065bc5
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x10171450
push 1
push 0
push 0x101714a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10065bc5
cmp dword [ebp - 0x44], 0
je 0x10065bc5
or ecx, 0xffffffff
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x54], ecx
mov ecx, esi
call fcn.1009bde0
cmp eax, 0xffffffff
je 0x1006581e
mov dword [ebp - 0x54], eax
test al, 1
je 0x1006581e
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.1009bcc0
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 0x10171490
mov edx, dword [ecx]
push ecx
call dword [edx]
test eax, eax
js 0x10065991
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x100659a5
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x10065855
mov edx, dword [esi]
mov eax, dword [ecx]
push 0x22
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x10065991
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x50], 0
je 0x10065948
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x10065881
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.10077490
test al, al
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
je 0x100658d4
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
jmp 0x100658d9
push 0x10182c58
push eax
call dword [ecx + 0x24]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100658e7
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 0x10065934
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006592a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065be5
push edx
push ecx
call fcn.1010a1d5
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 0x10065955
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 0x1006596c
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 0x10065991
cmp dword [ebp - 0x5c], 0
jl 0x10065991
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovns ebx, ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x100659a5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100659b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100659c3
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 0x100659ea
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x100659ea
mov edx, eax
mov ecx, esi
call fcn.1009bcc0
test bl, bl
je 0x10065b1b
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.100654b0
test al, al
je 0x10065b22
cmp dword [edi + 0x10], 0
je 0x10065a61
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.100765c0
test al, al
je 0x10065b22
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
call fcn.100765c0
test al, al
je 0x10065b22
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10065ab2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065aa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bea
push edx
push ecx
call fcn.1010a1d5
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 0x10065b07
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065afd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bef
push edx
push ecx
call fcn.1010a1d5
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 0x10065bc7
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10065b60
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065b56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bf4
push edx
push ecx
call fcn.1010a1d5
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 0x10065bb1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065bf9
push edx
push ecx
call fcn.1010a1d5
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.10109e31
mov esp, ebp
pop ebp
ret 0xc
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
int3