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

Disassembly:
push 0xffffffffffffffff
push 0x4372c1
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4495ec]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
mov eax, dword [0x4495ec]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00406b37
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403a7c
push 0x80004005
call fcn.00404330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x240], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp ax, 0x804
jne 0x403aab
push 0x19
push 0x43f14c
jmp 0x403ace
cmp ax, 0xc04
je 0x403ac7
cmp ax, 0x404
je 0x403ac7
push str.GoldGrid_Document_Maker_Settings
lea ecx, [esp + 0x14]
call fcn.00404a60
jmp 0x403ad7
push 0x19
push 0x43f180
lea ecx, [esp + 0x18]
call fcn.00404950
push 4
push str..lnk
lea ecx, [esp + 0x18]
call fcn.004041d0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404560
mov byte [esp + 0x240], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00404480
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x244], 2
mov edx, dword [esp + 0x24]
push esi
push edx
lea eax, [esp + 0x1c]
push str._s_s
push eax
call fcn.00404440
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x43d564
push 1
push ebx
push 0x43d574
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov ebp, dword [esp + 0x10]
jl 0x403ba6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x43d5b4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x403b9a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebp
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi - 0x10]
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00421bf6
add esp, 0x234
ret