Function at 0x100017b0
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015243
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov esi, ecx
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
push 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.10003130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
push dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
call fcn.10003130
push 0x1001b8e8
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10002fc0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.10002fc0
add esp, 4
push str..lnk
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.10002fc0
add esp, 4
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000188c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, esi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100018aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100018c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.10001670
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov edi, dword [ebp - 0x24]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x10001927
cmp dword [edi + 0xc], 0
jl 0x1000191b
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1000191b
call fcn.10003560
mov dword [ebp - 0x3c], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001913
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebp - 0x24], eax
jmp 0x10001927
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.10003630
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10001945
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.10003130
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000196e
push dword [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.10001670
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x100019d8
cmp dword [edi + 0xc], 0
jl 0x100019cc
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100019cc
call fcn.10003560
mov dword [ebp - 0x44], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100019c4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x100019d8
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.10003630
mov byte [ebp - 4], 0xa
mov eax, esi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100019f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push eax
push 0x1001ba64
push 0x17
push 0
push 0x10016260
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10001c95
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x10001c95
mov eax, dword [ebp - 0x18]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x10001a54
push 0
lea ecx, [ebp - 0x18]
call fcn.100035c0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x18]
push dword [eax - 8]
push eax
call fcn.10007736
mov edx, eax
add esp, 8
test edx, edx
js 0x10001d38
mov ecx, dword [ebp - 0x18]
cmp edx, dword [ecx - 8]
jg 0x10001d38
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x10001c95
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x10001adf
mov edi, eax
test ecx, ecx
je 0x10001aca
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push 0x1001baa0
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x1c]
test eax, eax
js 0x10001aca
mov eax, dword [ebp - 0x20]
jmp 0x10001acf
xor eax, eax
mov dword [ebp - 0x20], eax
test edi, edi
je 0x10001adf
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x10001c9b
mov ecx, dword [eax]
push 1
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x10001c95
push dword [ebp - 0x48]
lea ecx, [ebp - 0x84]
call fcn.10002f70
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x24]
call fcn.10002f70
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push ecx
cmovae eax, dword [ebp - 0x6c]
push 0x1001bab0
push 2
push 0
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SHELL32.dll_SHGetPropertyStoreFromParsingName]
mov edi, dword [ebp - 0x84]
test eax, eax
jne 0x10001c08
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov ecx, 0x80070057
cmovae eax, edi
xor edx, edx
test eax, eax
mov dword [ebp - 0x44], eax
cmovne ecx, edx
je 0x10001bc9
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001b72
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
xor edx, edx
mov dword [ebp - 0x30], eax
test eax, eax
mov ecx, 0x8007000e
cmovne ecx, edx
mov dword [ebp - 0x40], ecx
je 0x10001bc9
mov edx, dword [ebp - 0x48]
mov ecx, eax
push edx
push dword [ebp - 0x44]
call fcn.10001020
mov edi, dword [ebp - 0x84]
mov eax, 0x1f
mov ecx, dword [ebp - 0x40]
add esp, 8
mov word [ebp - 0x38], ax
test ecx, ecx
jns 0x10001bd6
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
jmp 0x10001bff
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push edx
push 0x100162b0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x10001bf5
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x10001c46
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001c3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d42
push edx
push ecx
call fcn.1000426f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
cmp eax, 8
jb 0x10001c95
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10001c8b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d47
push ecx
push edi
call fcn.1000426f
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x10001cac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
test eax, eax
je 0x10001cba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10001cd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10001cf6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10001d15
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10003c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80070057
call fcn.10001140
call fcn.10007f66
call fcn.10007f66
int3