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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b836
mov eax, dword fs:[0]
push eax
sub esp, 0xa2c
mov eax, dword [0x10051114]
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 eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa30], ebx
mov dword [ebp - 0xa34], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000290c
mov dword [ebp - 0xa1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa20], 0
lea eax, [ebp - 0xa1c]
push eax
push 0x1003d390
push 0x17
push 0
push 0x1003f7cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0xa20]
jns 0x10002913
mov byte [ebp - 4], 0
test eax, eax
je 0x100028f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1000290c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x10002bba
mov esi, dword [ebp - 0xa1c]
mov byte [ebp - 4], 2
test eax, eax
jne 0x1000292e
test esi, esi
jne 0x100029ac
jmp 0x100029f9
test esi, esi
je 0x100029ac
lea edx, [ebp - 0xa28]
mov dword [ebp - 0xa28], 0
push edx
mov dword [ebp - 0xa2c], 0
mov ecx, dword [eax]
push 0x1003d334
push eax
call dword [ecx]
mov eax, dword [esi]
lea ecx, [ebp - 0xa2c]
push ecx
push 0x1003d334
push esi
call dword [eax]
mov ecx, dword [ebp - 0xa2c]
mov eax, dword [ebp - 0xa28]
cmp eax, ecx
sete byte [ebp - 0xa21]
test ecx, ecx
je 0x1000298d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xa28]
test eax, eax
je 0x10002997
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0xa21], 0
mov esi, dword [ebp - 0xa1c]
mov eax, dword [ebp - 0xa20]
jne 0x100029f9
mov ebx, eax
test esi, esi
je 0x100029d5
mov eax, dword [esi]
lea ecx, [ebp - 0xa20]
push ecx
push 0x1003d3b8
push esi
call dword [eax]
mov esi, dword [ebp - 0xa1c]
test eax, eax
js 0x100029d5
mov eax, dword [ebp - 0xa20]
jmp 0x100029dd
xor eax, eax
mov dword [ebp - 0xa20], eax
test ebx, ebx
je 0x100029f3
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 0xa1c]
mov eax, dword [ebp - 0xa20]
mov ebx, dword [ebp - 0xa30]
mov dword [ebp - 4], 1
test eax, eax
jne 0x10002a20
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000290c
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
jmp 0x10002bba
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x50]
test eax, eax
jns 0x10002a36
mov eax, dword [ebp - 0xa20]
jmp 0x100028e7
test ebx, ebx
je 0x10002a56
mov eax, dword [ebp - 0xa1c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x10002a56
mov eax, dword [ebp - 0xa20]
jmp 0x100028e7
mov eax, dword [ebp - 0xa1c]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jns 0x10002a73
mov eax, dword [ebp - 0xa20]
jmp 0x100028e7
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.100214a0
lea ecx, [ebp - 0xa18]
add esp, 0xc
mov eax, ecx
mov edx, 0x400
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffbfe]
test eax, eax
je 0x10002abe
movzx eax, word [ecx + edi]
test ax, ax
je 0x10002abe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10002aa0
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [ebp + 0x1c]
test esi, esi
js 0x10002b21
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0x218]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
mov eax, dword [ebp - 0xa20]
js 0x100028e7
mov ecx, dword [eax]
push 1
push dword [ebp - 0xa38]
push eax
call dword [ecx + 0x18]
test eax, eax
jns 0x10002b5f
mov eax, dword [ebp - 0xa20]
jmp 0x100028e7
cmp dword [ebp + 0x20], 0
je 0x10002b8a
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [ebp - 0xa20]
mov byte [ebp - 4], 0
test eax, eax
je 0x10002b9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10002bb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
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.100178b1
mov esp, ebp
pop ebp
ret