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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4103f0
push 0x401038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x224], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [ebp - 0x430], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x42f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x434], ebx
mov byte [ebp - 0x32c], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x32b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 0x9d8]
push eax
push str._s.lnk
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x4109e0
push 1
pop edi
push edi
push ebx
push 0x4109d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4057a1
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4109c0
push eax
call dword [ecx]
test eax, eax
jl 0x40578c
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [esi + 0xca7]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x405783
cmp dword [esi + 0x9b4], ebx
je 0x405691
lea eax, [ebp - 0x434]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x405691
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x405691
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
je 0x405691
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esi + 0x9b8], ebx
je 0x40570a
lea eax, [ebp - 0x434]
push eax
push 0xb
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40570a
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40570a
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
je 0x40570a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esi + 0x9bc], ebx
je 0x405783
lea eax, [ebp - 0x434]
push eax
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x405783
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x405783
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
je 0x405783
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4057a1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret