Function at 0x49b596
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x55913c
push str.CreateShellLink_start...
push esi
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 8], ebx
call fcn.004a985e
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 0x50186c
push 1
push ebx
push 0x5018cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x49b5f2
push eax
push str.CoCreateInstance__0x_x
push esi
call fcn.004a985e
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x49b75f
mov edx, dword [ebp + 8]
test edx, edx
je 0x49b617
cmp word [edx], bx
je 0x49b617
mov eax, dword [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push eax
push str.SetPath_hr:0x_x
push esi
call fcn.004a985e
add esp, 0xc
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x49b63d
cmp word [edx], bx
je 0x49b63d
mov eax, dword [ebp - 4]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
push eax
push str.SetIconLocation_hr:0x_x
push esi
call fcn.004a985e
add esp, 0xc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x49b662
cmp word [edx], bx
je 0x49b662
mov eax, dword [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push eax
push str.setArguments_hr:0x_x
push esi
call fcn.004a985e
add esp, 0xc
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x49b68b
cmp word [esi], bx
je 0x49b68b
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push eax
push str.SetDescription_hr:0x_x
push 0x55913c
call fcn.004a985e
add esp, 0xc
mov eax, dword [ebp - 4]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x5018fc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
js 0x49b70b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Save_szFilePath_ws_szCmdLine_ws_szLinkPath_ws_szIconPath_ws_r_n
push 0x55913c
call fcn.004a985e
mov eax, dword [ebp - 8]
add esp, 0x18
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
jns 0x49b700
push ebx
push str.Save__0x_x
push 0x55913c
call fcn.004a985e
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x49b713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x49b749
call fcn.0049db2c
test eax, eax
je 0x49b749
push dword [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.0049afa6
cmp dword [ebp - 0xc], 0
je 0x49b749
push esi
push dword [ebp - 0xc]
call fcn.0040d460
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
test eax, eax
je 0x49b749
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor ebx, ebx
mov esi, 0x55913c
cmp dword [ebp - 0x10], ebx
setge bl
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push str.CreateShellLink_return:_d__file:_ws__cmd:_ws__link:_ws__szIconPath:_ws_errcode_d
push esi
call fcn.004a985e
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret