Function at 0x41d700
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7d1297
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov eax, dword [esp + 0x280]
mov ecx, dword [esp + 0x284]
mov edx, dword [esp + 0x288]
mov esi, dword [esp + 0x274]
mov edi, dword [esp + 0x278]
mov ebp, dword [esp + 0x27c]
mov dword [esp + 0x30], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov dword [esp + 0x26c], ebx
cmp dword [esi + 0x14], ebx
je 0x41d7bd
cmp dword [esi + 0x18], 8
jb 0x41d79d
mov eax, dword [esi + 4]
jmp 0x41d7a0
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d7bd
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00404750
jmp 0x41d840
push 0x206
lea edx, [esp + 0x5a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x60], cx
call fcn.007202b0
add esp, 0xc
push ebx
push 0x10
lea eax, [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d8e8
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d7f5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
call fcn.00404850
push 1
push 0x82f470
lea ecx, [esp + 0x40]
call fcn.0041f460
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.004053c0
push 4
push str..lnk
lea ecx, [esp + 0x40]
call fcn.0041f460
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp dword [esp + 0x50], 8
mov dword [esp + 0x1c], ebx
jae 0x41d855
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc9e
mov dword [esp + 0x24], ebx
mov byte [esp + 0x26c], 2
mov dword [esp + 0x14], ebx
mov byte [esp + 0x26c], 4
mov dword [esp + 0x18], ebx
mov byte [esp + 0x26c], 6
mov dword [esp + 0x28], ebx
mov byte [esp + 0x26c], 8
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jge 0x41d915
mov byte [esp + 0x26c], 6
lea edx, [esp + 0x28]
push edx
call fcn.0041d590
mov byte [esp + 0x26c], 4
lea ecx, [esp + 0x18]
call fcn.0041ce30
mov byte [esp + 0x26c], 2
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x26c], bl
lea eax, [esp + 0x24]
push eax
call fcn.0041d540
mov dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x41d907
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00704960
add esp, 4
xor edx, edx
mov word [esp + 0x3c], dx
xor eax, eax
jmp 0x41dc68
lea eax, [esp + 0x14]
push eax
push 0x8108f0
push 1
push ebx
push 0x82ebac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x41d991
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x28]
push ecx
call fcn.0041d590
mov byte [esp + 0x26c], 4
lea ecx, [esp + 0x18]
call fcn.0041ce30
mov byte [esp + 0x26c], 2
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x26c], bl
lea edx, [esp + 0x24]
push edx
call fcn.0041d540
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00403c30
xor eax, eax
jmp 0x41dc74
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x82bf4c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x41d931
mov ecx, dword [esp + 0x3c]
mov edi, 8
cmp dword [esp + 0x50], edi
jae 0x41d9bd
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 2
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
cmp eax, ebx
jl 0x41dbcc
push 0x208
lea edx, [esp + 0x5a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x60], cx
call fcn.007202b0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add esp, 0xc
push 2
push ebx
push 0x104
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], edi
jb 0x41da13
mov eax, dword [esi]
jmp 0x41da15
mov eax, esi
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x41da43
cmp dword [ebp + 0x18], edi
jb 0x41da2e
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
mov dword [esp + 0x1c], 1
push 0x20a
lea ecx, [esp + 0x58]
push ebx
push ecx
mov dword [esp + 0x40], ebx
call fcn.007202b0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push 0x104
lea ecx, [esp + 0x5c]
push ecx
push eax
call edx
test eax, eax
jl 0x41daba
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], edi
jb 0x41da89
mov eax, dword [esi]
jmp 0x41da8b
mov eax, esi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x41daba
cmp dword [ebp + 0x18], edi
jb 0x41daa4
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push ebx
push esi
push eax
call edx
mov dword [esp + 0x1c], 1
push 0x208
lea ecx, [esp + 0x5a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x60], ax
call fcn.007202b0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
push eax
call edx
test eax, eax
jl 0x41db2e
mov ebp, dword [esp + 0x30]
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], edi
jb 0x41dafe
mov eax, dword [esi]
jmp 0x41db00
mov eax, esi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x41db2e
cmp dword [ebp + 0x18], edi
jb 0x41db19
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push esi
push eax
call edx
mov dword [esp + 0x1c], 1
push 0x208
lea ecx, [esp + 0x5a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x60], ax
call fcn.007202b0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x41dba4
mov ebp, dword [esp + 0x20]
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], edi
jb 0x41db72
mov eax, dword [esi]
jmp 0x41db74
mov eax, esi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x41dba4
cmp dword [ebp + 0x18], edi
jb 0x41db8d
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
mov dword [esp + 0x1c], 1
jmp 0x41dbaa
cmp dword [esp + 0x1c], ebx
je 0x41dbc7
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x41dbb8
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, 1
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x28]
push ecx
call fcn.0041d590
mov byte [esp + 0x26c], 4
lea ecx, [esp + 0x18]
call fcn.0041ce30
mov byte [esp + 0x26c], 2
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x26c], bl
lea edx, [esp + 0x24]
push edx
call fcn.0041d540
cmp dword [esp + 0x1c], ebx
je 0x41dc41
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x20]
push ebx
push eax
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x50], edi
jb 0x41dc5f
mov edx, dword [esp + 0x3c]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x25c
ret 0x18
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0041cab0
mov esi, eax
mov edi, 8
jmp 0x41dc17