Function at 0x4fa220
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b8a2
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x7f206c]
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 edi, edx
mov esi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4fa659
lea eax, [ebp - 0x27c]
push eax
push 0x61b770
push 1
push 0
push 0x61b790
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4fa653
mov ecx, dword [ebp - 0x27c]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x27c]
lea edx, [ebp - 0x284]
push edx
push 0x61b780
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x4fa647
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040e120
push 1
push 0x62ace0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.0040e2b0
push str.link_ae
lea ecx, [ebp - 0x280]
call fcn.0041d340
add esp, 4
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.004f3360
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fa354
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.004074c0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x278]
cmp dword [ebp - 0x264], 0x10
mov dword [ebp - 0x220], 0
cmovae edx, dword [ebp - 0x278]
mov ecx, edx
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fa3a2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004074c0
push 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp - 0x230]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
call fcn.004c2f64
add esp, 4
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
mov ebx, eax
cmovae ecx, dword [ebp - 0x230]
push esi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
mov ecx, ebx
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fa440
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x260]
call fcn.0040e170
push ebx
call fcn.004c2bdc
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x248]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0040e2b0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4fa4d3
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa4c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa677
push edx
push ecx
call fcn.004a7e9f
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x4fa511
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa67c
push edx
push ecx
call fcn.004a7e9f
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x4fa56a
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa681
push edx
push ecx
call fcn.004a7e9f
add esp, 8
mov ecx, dword [ebp - 0x288]
or esi, 0xffffffff
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fa591
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fa591
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x4fa5b6
lock xadd dword [eax], esi
test esi, esi
jne 0x4fa5b6
push eax
call fcn.004a8172
add esp, 4
mov edx, dword [ebp - 0x284]
cmp dword [ebp - 0x234], 8
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push edx
call ecx
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4fa62a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa686
push edx
push ecx
call fcn.004a7e9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 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.004a7e5e
mov esp, ebp
pop ebp
ret
call fcn.004c2f13
call fcn.004c2f13
call fcn.004c2f13
call fcn.004c2f13
int3