Function at 0x1004ad30
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100737e0
push 0x1005c7db
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1007b00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x23c], esi
test ebx, ebx
je 0x1004af91
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1004af91
test esi, esi
je 0x1004af91
cmp dword [esi], 0
je 0x1004af91
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
push 0x20a
push 0
lea eax, [ebp - 0x228]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x238], edi
lea eax, [ebp - 0x22c]
push eax
push 0x10061820
push 1
push edi
push 0x10061840
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x22c]
test eax, eax
jne 0x1004af69
test ecx, ecx
je 0x1004af7d
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
push 0x10061850
push ecx
call dword [eax]
test eax, eax
jne 0x1004af63
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x1004af63
mov dword [ebp - 4], edi
mov eax, dword [edx]
push 2
push ebx
push edx
call dword [eax + 0x14]
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004ae66
test eax, eax
jne 0x1004af63
test byte [esi], 4
je 0x1004ae8b
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
push ecx
call dword [edx + 0x50]
test eax, eax
jne 0x1004af63
test byte [esi], 0x10
je 0x1004aeab
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
lea eax, [esi + 0x20c]
push eax
push ecx
call dword [edx + 0x24]
test eax, eax
jne 0x1004af63
test byte [esi], 2
je 0x1004aecb
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
lea eax, [esi + 0x414]
push eax
push ecx
call dword [edx + 0x1c]
test eax, eax
jne 0x1004af63
test byte [esi], 0x20
je 0x1004aee7
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
lea eax, [esi + 0xc14]
push eax
push ecx
call dword [edx + 0x2c]
test eax, eax
jne 0x1004af63
test byte [esi], 0x40
je 0x1004af09
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
push dword [esi + 0x1824]
lea eax, [esi + 0x161c]
push eax
push ecx
call dword [edx + 0x44]
test eax, eax
jne 0x1004af63
test byte [esi], 0x80
je 0x1004af26
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
movzx eax, word [esi + 0x1828]
push eax
push ecx
call dword [edx + 0x34]
test eax, eax
jne 0x1004af63
test dword [esi], 0x100
je 0x1004af44
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
push dword [esi + 0x182c]
push eax
call dword [ecx + 0x3c]
test eax, eax
jne 0x1004af63
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x228]
push edx
push eax
call dword [ecx + 0x18]
mov ecx, 1
test eax, eax
cmove edi, ecx
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x1004af7d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x22c], 0
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x1004af8d
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, edi
jmp 0x1004af93
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret