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

Disassembly:
push ebp
lea ebp, [esp - 0xa04]
sub esp, 0xa04
push 0xffffffffffffffff
push 0x4c9ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0xa00], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xa0c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], edx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], 1
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], esi
cmp dword [eax + 4], esi
je 0x42d7ff
lea eax, [edx + 0x3a00]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42d7e2
sub eax, edi
sar eax, 1
je 0x42d7ff
cmp dword [edx + 0x4a00], esi
je 0x42d7ff
mov byte [ebp - 0x11], 1
xor eax, eax
cmp byte [edx + 0x4a08], al
setne al
lea eax, [eax + eax + 0x17]
mov edi, eax
lea ecx, [ebp - 0x28]
push ecx
push esi
push esi
push edi
push esi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
call ebx
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x42d8c9
push str.___Get_Folder_Location_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea edx, [ebp - 0x28]
push edx
push edi
push 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42d8c9
push str.___Get_SHGetSpecialFolderLocation_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
cmp edi, 0x19
jne 0x42d8c9
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0x10
push 0
call ebx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42d8c9
push str.___Get_SHGetFolderLocation__CSIDL_DESKTOPDIRECTORY__Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
push 0x10
push 0
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42d8c9
push str.___Get_SHGetSpecialFolderLocation__CSIDL_DESKTOPDIRECTORY__Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x50], 3
push 0x5042a0
lea edx, [ebp - 0x50]
push edx
call fcn.004abd6e
push 0x800
push 0
lea eax, [ebp]
push eax
call fcn.004ab450
add esp, 0xc
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42d915
push str.__Get_Folder_Path_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x3c], 3
push 0x5042a0
lea eax, [ebp - 0x3c]
push eax
call fcn.004abd6e
lea ecx, [ebp]
push ecx
push str.__Get_Folder_Path_:___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d931
sub eax, edx
sar eax, 1
mov ebx, 0x5c
cmp word [ebp + eax*2 - 2], bx
jne 0x42d966
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d952
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 2], cx
mov esi, dword [ebp - 0x34]
lea edi, [esi + 0x3200]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d974
sub eax, edx
sar eax, 1
je 0x42d9aa
push 0x4e4f30
push 0x400
lea edx, [ebp]
push edx
call fcn.004aa6ad
push edi
push 0x400
lea eax, [ebp]
push eax
call fcn.004aa6ad
add esp, 0x18
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d9b0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 2], bx
jne 0x42d9e4
lea eax, [ebp]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d9d0
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 2], cx
mov al, byte [esi + 0x4a0a]
neg al
sbb eax, eax
and eax, dword [0x52b9f0]
push 0
push eax
lea edx, [ebp]
call fcn.0045e440
add esp, 8
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x4da4c4
mov ebx, 1
push ebx
push 0
push 0x4da4d4
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x42da31
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x42da8f
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x30], eax
test eax, eax
jge 0x42da66
push eax
push str.__CoInitialize_Fail____..._hr___08x
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x4c], ebx
push 0x5042a0
lea edx, [ebp - 0x4c]
push edx
call fcn.004abd6e
lea eax, [ebp - 0x1c]
push eax
push 0x4da4c4
push ebx
push 0
push 0x4da4d4
call edi
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x42de1b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x42de1b
lea ebx, [esi + 0x200]
mov edx, dword [ecx]
push ebx
push ecx
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42dacc
push str.__Set_Target_Path_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x48], 0xd
push 0x5042a0
lea ecx, [ebp - 0x48]
push ecx
call fcn.004abd6e
mov dword [ebp - 0x18], 1
cmp byte [ebp - 0x11], 0
je 0x42db08
lea edx, [esi + 0x2a00]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dae4
sub eax, edi
sar eax, 1
je 0x42db08
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov edx, dword [ecx + 0x1c]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42db49
lea edx, [esi + 0x2200]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42db13
sub eax, edi
sar eax, 1
je 0x42db49
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov edx, dword [ecx + 0x1c]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42db49
push str.__Set_Description_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea edx, [esi + 0xa00]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42db54
sub eax, edi
sar eax, 1
je 0x42db8a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov edx, dword [ecx + 0x2c]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42db8a
push str.__Set_Argument_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea edx, [esi + 0x1a00]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42db95
sub eax, edi
sar eax, 1
je 0x42dbcb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov edx, dword [ecx + 0x24]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42dbcb
push str.__Set_Working_directory_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea edx, [esi + 0x1200]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dbd6
sub eax, edi
sar eax, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
je 0x42dbfc
mov edi, dword [esi + 0x4a04]
push edi
push edx
push eax
mov edx, dword [ecx + 0x44]
call edx
jmp 0x42dc0a
mov edx, dword [esi + 0x4a04]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42dc23
push str.__Set_Icon_Location_Fail___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4da4e4
push eax
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x18], eax
test eax, eax
jge 0x42dc65
push esi
push str._s_created_file_shorcut_icon_Fail
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x40], 1
push 0x5042a0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004abd6e
push 0x200
push 0
lea edx, [ebp + 0x800]
push edx
call fcn.004ab450
add esp, 0xc
mov ebx, esi
mov edi, 0x52adc8
cmp byte [ebp - 0x11], 0
je 0x42dcb3
push 9
push 0x100
lea eax, [ebp + 0x800]
push eax
call fcn.0042e3e0
test eax, eax
je 0x42dce4
push 0xff
push esi
push 0x100
lea ecx, [ebp + 0x800]
push ecx
jmp 0x42dcdc
push 0
push 0x100
lea edx, [ebp + 0x800]
push edx
call fcn.0042e3e0
test eax, eax
je 0x42dce4
push 0xff
push esi
push 0x100
lea eax, [ebp + 0x800]
push eax
call fcn.004a9be0
add esp, 0x10
lea edi, [esi + 0x4200]
push 0x800
push 0
push edi
call fcn.004ab450
lea ecx, [ebp + 0x800]
push ecx
lea edx, [ebp]
push edx
push str._s_s.lnk
mov edx, edi
call fcn.00411a00
add esp, 0x18
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 1
push edi
push eax
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42dd98
cmp byte [ebp - 0x11], al
je 0x42dd5c
mov eax, dword [esi + 0x4a00]
push eax
lea ecx, [esi + 0x3a00]
push ecx
push edi
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42dd5c
push eax
push str.Set_locale_name_for_MUI_failed_:___ld_____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
cmp byte [esi + 0x4a0a], 0
je 0x42dd7b
push 1
push 0
push 3
mov edx, edi
mov ecx, dword [0x52b9f0]
call fcn.004576a0
add esp, 0xc
push esi
push edi
push str.Short_cut_path_:___s____s_created_file_shorcut_icon_success
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x42ddb2
push esi
push str._s_created_file_shorcut_icon_Fail
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x24], 0xd
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42ddcf
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42ddde
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
cmp dword [ebp - 0x30], 0
jne 0x42ddea
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa00]
xor ecx, ebp
call fcn.004a998e
add ebp, 0xa04
mov esp, ebp
pop ebp
ret 4
push eax
push str.__CoCreateInstance_Fail____..._hr___08x
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x38], ebx
push 0x5042a0
lea ecx, [ebp - 0x38]
push ecx
call fcn.004abd6e
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x42de52
ret